HI !
I used to use this code to change the delimiters in my theme but it doesn't work with Drupal 5

function phptemplate_links($links = array(), $delimiter = ' | ') {
  /**
* catches the theme_links function and calls back a link.tpl.php file to determine the layout
*/
  return _phptemplate_callback('links', array('links' => $links, 'delimiter' => $delimiter));
}

This text is printed instead of every links and primary links

[Array|Array|Array|Array|Array|Array]

I also used to use a code for the primary links with 4.7 that doesn't work now with dRUPAL 5;

Do you know what wrong with it ?

Thank you.

Comments

davemybes’s picture

Take a look here: http://drupal.org/node/64279#handling-of-links to see how things have changed. You will have to modify your code to take into account the changes in 5.0.
______________________________________________________________________________________________________
Recent Drupal websites: http://mbacasecomp.com and http://hudsonhistoricalsociety.ca

______________________________________________________________________________________________________

Anonymous’s picture

Thanks for this information ;)

Anonymous’s picture

have an example of printing out the $links array in Drupal 5?

regards

Mark