Module development
Module development forum guidelines
The module development forum was created to aid those who are developing modules for Drupal. This forum is not for "Is there a module that does..." questions. Please respect this.
If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
If you don't have drupal installed yet, please place your questions in the Before you start forum.
Thank you in advance for your co-operation.
I want to add an image field in the taxonomy terms
Hi friends,
I want to add an image field in the taxonomy terms.. Not in the vocabulary.I tried some modules like*(Taxonomy terms, Term fields..). But this modules are not working properly. If you know how to do this . Please reply it asap. It's need very urgently...Advance Thanks..........
Horizontal Search and Login textfields.
I want search and login textfields appeared horizontally on the header region .. Would that..!! Contributed Module developers had designed a module for such display..
Edited by WorldFallz - moved to appropriate forum.
extract link from node:link on Views
Hi, I have a view of some CCK contents.
So, the row style is "Fields".
I use Pathauto so each CCK content has a specific path.
I am interested to add to my view a link of each CCK content. So i added the following fields to my view:
Node: Link
the problem is that in the page created the link appears like that:
<a href="/XXXX">view</a> (view)
i am interested to extract the link http://www.example.com/XXXX because i have to show the link like following:
<a href="http://www.example.com/XXXX" class="postuler">More Info</a> (More Info)
I try to use the view theming (templates) but the $output variable appears like the first link below and i didn't find how to extract the link.
my problem is on the following link : http://neway-si.com/missions_liste
( this web site is a french web site...)
thank you for your help
Edited by WorldFallz - moved to appropriate forum.
How we can determine the content of the "edit" operation ?
How we can determine the content of the "edit" operation ( when user clicks on "edit" tab ) for different content types ?
Let's say we define 2 menu items ( "Add league", "Add team" ) which call the appropriate form through drupal_get_form function. This way, users can create "league" and "team" content types and we insert them into our database. When they view these nodes, an "edit" tab is available. How we determine what the user see when he clicks on the "edit" tab ? ( probably we want the appropriate form filled in with the user's values when he created the node )
<?php
function mymodule_menu() {
$items['set'] = array(
'path' => 'set/league',
'title' => 'Add League',
'page callback' => 'drupal_get_form',
'page arguments' => array('leagueform'),
'type' => MENU_NORMAL_ITEM,
);
$items['set/league'] = array(
'path' => 'set/league',
'title' => 'Add League',
'page callback' => 'drupal_get_form',
'page arguments' => array('leagueform'),
'type' => MENU_LOCAL_TASK,
);
$items['set/team'] = array(
'path' => 'set/team',
'title' => 'Add Team',
'page callback' => 'drupal_get_form',
'page arguments' => array('teamform'),
'type' => MENU_LOCAL_TASK,
);
}
function leagueform(&$form_state) {
// we define league form
#save button
Shift swap
Hi developers,
Is there a module which allows a person to view their schedule and wants to offer the shift to some other person.
If anyone in the pool interested can take the shift.
is there a module anywhere close to my requirement ??
Please let me know if there is anything close to it.
regards,
Kratie
Edited by WorldFallz - moved to appropriate forum.
