Changing the $links

espenc - May 19, 2008 - 18:13

Hi,

I am trying to change how the Read more and number of comments links are displayed. But i cant find out how to do this.

Ive tried doing what this http://drupal.org/node/44708 says and adding a links.tpl.php file, but then the whole page renders wrong, something bad happens. Is this the appropriate way to do it?

<?php
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));
}
?>

Drupal 6.X too

MikeQue - May 19, 2008 - 22:28

I am looking at the same issue, how to format the $links and how to restrict which links appear.

I'm also having a problem

jonjob - May 20, 2008 - 10:23

I'm also having a problem with this - I want to replace the 'add new comment' with an image but can't seem to break out the theme_links() function to achieve this

 
 

Drupal is a registered trademark of Dries Buytaert.