Give dynamic page a dynamic title

If I create a page in a module with print theme("page", $output); how can I give it a dynamic title?
At the moment its title is defined in the MENU_CALLBACK function controlling the page.

Possible to group textfields like checkboxes?

I'm just wondering.. is there a way to group textfields together, so that the values are available in an array, like the checkboxes, or the radios?

multisite with one admin interface - symbolic link with winXP

hello, i'm a french drupal addict :
i have two folder on my web-root folder
http://mysite.com/fr/ (the drupal code is here)
http://mysite.com/en/ (empty folder)

i have
//mysite.com/fr/sites/default/setting.php (can i rename "default" folder to "mysite.com.fr" ?)
$db_url = 'mysql://xxxx:xxxx@xxxx/xxxxxx
$db_prefix = 'Fr_' and $base_url = 'http://mysite.com/fr'

RAW CODE OUTPUT

Umm, suddenly my install is outputting raw code to the screen.. whats going on?? this an urgent matter!

It renders fine in IE6 my workstation but not in Firefox

To try and fix it I disabled all the modules except node, still having the problem.

Please advise.

photos in blog post

I have tryed several plugins but I dont didn't find how to include pictures in a blog post..
There is only a attachement file but no image IN the subject.

How to enable that ? Thanks

I just discover drupal which looks very great

Creating a link under administer links

I am fairly new to drupal, but i must say I am impressed with the ease of use so far. I am developing my own module to monitor the ammount of profit you got with your stocks. The stocks are monitored via finance.yahoo.com. I've done quite some work allready and all the info is put in the database correct. I now want to make a settings page under the administer menu. Something like the link "forums", where you can edit everything for the forum and add forums etc.
I looked at the code from the forums_menu() but somehow i cannot get a link working.
This is the code i have for my hook_menu

function stock_menu($may_cache) {
  $items = array();
  if ($may_cache) {
  
 $items[] = array('path' => 'node/add/stock', 'title' => t('Stock'),
      'access' => user_access('add stock));	
  $items[] = array('path' => 'stock_show',
                                  'title' => t('Stocks'),
                                  'callback' => 'stock_all',
                                  'access' => user_access('access content'),
                                  'type' => MENU_CALLBACK);
  
    $items[] = array('path' => 'admin/stock', 'title' => t('Stocks'),
      'callback' => 'stock_all',
      'access' => user_access('administer stocks'),
      'type' => MENU_NORMAL_ITEM);
  }

The node/add/stock works fine and shows up under the create content menu. I guess its quite a simple problem but somehow i cant manage to get it working.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x