#submit not calling function

I have a module which allows users to change values in the user's profile, since that's the best place to change a user's information. However, I cannot seem to figure this one out. I have defined the menu and it works ala so:

function epgp_menu() {
  $items = array();
  
  $items['admin/config/people/epgp'] = array(
    'title' => 'EPGP Settings',
    'description' => 'Configuration of EPGP Options.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('epgp_admin_settings'),
    'access arguments' => array('Administer EPGP'),
    'file' => 'epgp.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  $items['user/%user/epgp'] = array(
    'title' => 'EPGP',
    'page callback' => 'epgp_user_info',
    'page arguments' => array(4),
    'access callback' => 'epgp_user_info_access',
    'access arguments' => array(1),
    'type' => MENU_LOCAL_TASK,
  );

  return $items;
}

Which is fine, it calls epgp_user_info, which is shown below:


function epgp_user_info($account) {

Free Brazilian SaaS developed with Drupal 7

Introduction

Plugger is a completely free SaaS (Software as a Service) developed to manage business online. Today, you can use it to share contacts and files, and new modules are already being developed.

The Project

Plugger is a SaaS solution for small and medium enterprises, and freelance professionals who want a simple and easy platform to fully administer their business with confidence.

The project foresees packages of features that will be incorporated as they are developed, so we can build a user base and familiarize them with the tool, reducing the initial complexity of use.

The Solution

To release the software as planned, it was essential to choose a development framework that would allow us installing new features quickly and easily.

Now, this does not seem to make much sense, but the choice of Drupal was not so simple. Two reasons in particular led us to it: we already have an extensive experience with Drupal accumulated in years of development, and we believe this is an important initiative for the Drupal community in Latin America.

So, the next decision involved which version of Drupal we would use. We opted for Drupal 7 to avoid a migration process and to explore the new features of the platform, and we were very pleased with it for several reasons:

Change field output

Hi guys, i was trying to do an update on my image field, so i got into the View and click on the Theme Information and found this file is the one i want to modify: views-view-list.tpl.php

The problem is , it only has:
<?php foreach ($rows as $id => $row): ?>
<?php print $row; ?>
etc...

But how do i make to do like
if ($row['field_name'] == 'field_name') {
change the out put, lets say its output <img src="">, i want to change <img src="" class="new">
}

I made this
str_replace('<img', '<img class="new", $row);

Setting up Webforms in a .install file

I have a use case where I will be using the same basic webform on multiple microsites. Rather than set the form up in the site itself, is it possible to just set up a module and .install file to create the form? Are there articles/resources available that could show some guidance in how to do that?

I've done modules and .install files using Form API, but the Webform module has a lot of functionality to email and save form results that I want to take advantage of.

Exposing node data via AJAX and security.

Hi all, I am creating a module which will allow a third party application to retrieve specified node data through an ajax request.
The app should be able to specify which fields it wants, for a given node. They may include custom fields, so the module itself will not be aware of all the possibilities. The response is not for direct display, so it should not need to be formatted or modified by Drupal.

Nodes/Links in Bluemasters

Hello,

I am using the bluemasters theme, and I am trying to use node/5, node/6 node/7 etc... I am getting an error that states "The path 'node/5' is either invalid or you do not have access to it."

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x