Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

GLinks 3: Extending Crumb Titles to Custom Templates

Quote Reply
GLinks 3: Extending Crumb Titles to Custom Templates
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:
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.
Subject Author Views Date
Thread GLinks 3: Extending Crumb Titles to Custom Templates rocco 1682 Apr 16, 2005, 8:39 AM
Thread Re: [rocco] GLinks 3: Extending Crumb Titles to Custom Templates
brewt 1636 Apr 16, 2005, 2:51 PM
Post Re: [brewt] GLinks 3: Extending Crumb Titles to Custom Templates
rocco 1620 Apr 16, 2005, 3:52 PM
Thread Re: [rocco] GLinks 3: Extending Crumb Titles to Custom Templates
pugdog 1624 Apr 16, 2005, 3:02 PM
Post Re: [pugdog] GLinks 3: Extending Crumb Titles to Custom Templates
rocco 1621 Apr 16, 2005, 4:28 PM