Closed (fixed)
Project:
Smarty theme engine
Version:
6.x-2.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2008 at 22:43 UTC
Updated:
1 Jul 2008 at 00:32 UTC
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
Comment #1
dam commentednone can help me?
Comment #2
dam commentedsorry but ... how can I deal this issue?
I can't communicate with none, even by mail ... this is not fair
Comment #3
djnz commentedSorry, 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).
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.