• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Menu: Styling redirecting link
PostPosted: Wed Mar 28, 2012 7:13 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Jun 20, 2007 7:06 am
Posts: 122
Location: geneva
Hello,

I'm trying to add a class in the menu template to be able to style redirecting link. I tried something like that, but as you guessed, didn't. work:

Code:
{elseif $node->type == 'redirectinglink'}


is there a way to get this variables?

jd


Top
 Profile  
 
 Post subject: Re: Menu: Styling redirecting link
PostPosted: Wed Mar 28, 2012 10:16 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Mar 31, 2009 8:45 pm
Posts: 377
Location: Delft, Netherlands
You can use {get_template_vars} and/or {$nodelist|print_r} to see which smarty variables are available.


Top
 Profile  
 
 Post subject: Re: Menu: Styling redirecting link
PostPosted: Wed Mar 28, 2012 11:08 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Jun 20, 2007 7:06 am
Posts: 122
Location: geneva
thanks for the trick...

but i cannot put my hands on the type of node a would need?

i'm looking for the different nodes available in the menu for instance, {elseif $node->type == 'separator'}


Top
 Profile  
 
 Post subject: Re: Menu: Styling redirecting link
PostPosted: Wed Mar 28, 2012 6:17 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11818
Location: Arizona
There is this...

{if $node->target ne ""} target="{$node->target}"{/if}

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


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 post attachments in this forum

Search for:
Jump to:  
A2 Hosting