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

Re: [brewt] GLinks 3: Extending Crumb Titles to Custom Templates

Quote Reply
Re: [brewt] GLinks 3: Extending Crumb Titles to Custom Templates In reply to
  
Thanks. I tried this but got:
Code:

Not an ARRAY reference at /var/www/cgi-bin/lrd/admin/Links/Utils.pm line 485.


From Links/Utils.pm:
Code:

485: for (0 .. $#$title_loop) {
next unless $_ or $options{include_home};
$ret .= '<span class="lasttitle">' if $_ == $#$title_loop;
if ($options{link_type} == 1 or
($options{link_type} == 2 and $_ != $#$title_loop)) {
$ret .= qq|<a href="$title_loop->[$_]->{URL}">$title_loop->[$_]->{Name}</a>|;
}
else {
$ret .= $title_loop->[$_]->{Name};
}
$ret .= $options{separator} unless $_ == $#$title_loop;
$ret .= '</span>' if $_ == $#$title_loop;
}


Edit:
I just saw your edited post. Will try that now.
Edit2:
Adrian, I still get the above error with you solution. Interested to know why though.

Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.

Last edited by:

rocco: Apr 16, 2005, 4:35 PM
Subject Author Views Date
Thread GLinks 3: Extending Crumb Titles to Custom Templates rocco 1713 Apr 16, 2005, 8:39 AM
Thread Re: [rocco] GLinks 3: Extending Crumb Titles to Custom Templates
brewt 1667 Apr 16, 2005, 2:51 PM
Post Re: [brewt] GLinks 3: Extending Crumb Titles to Custom Templates
rocco 1651 Apr 16, 2005, 3:52 PM
Thread Re: [rocco] GLinks 3: Extending Crumb Titles to Custom Templates
pugdog 1655 Apr 16, 2005, 3:02 PM
Post Re: [pugdog] GLinks 3: Extending Crumb Titles to Custom Templates
rocco 1652 Apr 16, 2005, 4:28 PM