Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Dedicated server web hosting provided by Guru-host.eu.
SmartyMenu: Problem with setItemClass

 
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
dexus
Smarty Rookie


Joined: 18 Feb 2005
Posts: 8

PostPosted: Fri Feb 18, 2005 11:20 am    Post subject: SmartyMenu: Problem with setItemClass Reply with quote

Hello Monte, hello all,

i have a small problem in understanding the function setItemClass.

If I use SmartyMenu::setItemClass($item, 'topnav');

shouldn't there be an output where it says class="topnav" or something like that ?

I'm only getting class="nav_parent" which seems to be hardcoded for menus with children.

Is this the way it is supposed to work or just some feature that will come later in future ?

nevertheless many thanks for your many good modules Smile

best regards
dexus
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7036
Location: Lincoln Nebraska, USA

PostPosted: Fri Feb 18, 2005 7:46 pm    Post subject: Reply with quote

This is a bug, please try the latest CVS version.

Thanks!

http://www.phpinsider.com/php/code/SmartyMenu/
Back to top
View user's profile Send private message Visit poster's website
dexus
Smarty Rookie


Joined: 18 Feb 2005
Posts: 8

PostPosted: Mon Feb 21, 2005 2:09 pm    Post subject: Reply with quote

Thanks alot!
This is a quick response! Nice work. Very Happy Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP