Drupal is up and running but how do I ...?

links generated by drupal

Hi,

I am developing a module, and I have some trouble with the navigation links generated by drupal.

How do I affect how these links are built up ?
This is a part of my menu_hook:

$items[] = array(
'path' => "bookings/administration/overview",
'title' => t('overview'),
'callback' => 'bookings_administration_overview',
'access' => TRUE,
'type' => MENU_LOCAL_TASK
);

Sharing globals betwen modules

Hi,

I have some global variables which i was initially defining in my page.tpl.php. But when I try and access these variables from my module file functions they all appear unset (I am using global $myvar at the top of my functions). I tried defining the variables in settings.php as well but still to no avail! Am i doing something wrong here? I need the variables in many different functions including node_validate and node_submit

Inaccessible node changes theme

If this should be posted somewhere else, please let me know.

If a user navigates to a node which is not accessible, the theme of the node that can't be accessed is nonetheless displayed. I would prefer if the content area which displays "You are not authorized to access this page." was displayed either in the theme of the prior node or in the default theme. But displaying the theme associated with the inaccessible node leads to strange results (for example, blocks that should not be displayed are displayed).

Multiple Mass URL Aliasing for 4.7

hi,

i did below changes to settings.php as described in http://drupal.org/node/23708. however, the first one (node->show) is working whereas taxonomy/term is not. am i doing something wrong?

Translation of a module file itself

hi
i try to localize Buddylist module. there is a po file but that does not contain all the strings to be translated. so i started to translate within buddylist.module file itself. an example

function buddylist_translation() {
return array('%buddy' => t('buddy'),

when i replace buddy in t('buddy') with non-english chars it start to produce weird chars like ? / > . how i can solve this?

Pages

Subscribe with RSS Subscribe to RSS - Post installation