Hi,
In the new GLinks 3 luna templates, there's a neat crumb title showing where you are relative to the home page.
For eg. Home >> Logon, Home >> Add Link, Home >> Top Rated Links etc. etc.
I'm trying to figure out how to extend this to work on additional custom templates. For eg. I've added a Contact Page template and I want "Home >> Contact Page" to appear at the top of the page just like it does on the standard luna templates.
The relevant code is:
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
When I call this in my custom template, it returns nothing at all. I just get the output <div class="crumb"></div>.
It has something to do with the setting of $main_title_loop I assume.
Any ideas on getting this to work ?
Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.
In the new GLinks 3 luna templates, there's a neat crumb title showing where you are relative to the home page.
For eg. Home >> Logon, Home >> Add Link, Home >> Top Rated Links etc. etc.
I'm trying to figure out how to extend this to work on additional custom templates. For eg. I've added a Contact Page template and I want "Home >> Contact Page" to appear at the top of the page just like it does on the standard luna templates.
The relevant code is:
Code:
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
When I call this in my custom template, it returns nothing at all. I just get the output <div class="crumb"></div>.
It has something to do with the setting of $main_title_loop I assume.
Any ideas on getting this to work ?
Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.