I'm new to drupal (also to the community), so I hope this will be not considered a double post.
Anyway I'm trying to port bluemarine to smarty engine but I can't understand how to call the theme links function inside a template.
I posted a question on the forum http://drupal.org/node/265807

Any help is appreciated

thanks in advance

Comments

dam’s picture

none can help me?

dam’s picture

sorry but ... how can I deal this issue?
I can't communicate with none, even by mail ... this is not fair

djnz’s picture

Status: Active » Fixed

Sorry, this is not well documented. I have tried to take over the Smarty documentation but do not have access yet :(

To use Drupal's links which are simply an unordered list formatted with CSS, use the following functions in Smarty:
{theme_links links=$primary_links id='navlist'}
{theme_links links=$secondary_links id='subnavlist'}

A more smarty-like way of doing this would be to just get an array of links and do the HTML generation in the template: I have this working on my server but it is not in CVS (yet).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.