Gossamer Forum
Quote Reply
Re: [gotze] Bookmarks In reply to
The various options are explained in admin/links/Utils.pm:

Code:
sub format_title {
# -------------------------------------------------------------------
# Format a title
#
# Options:
# separator (required)
# The separator used to join the items.
# no_escape_separator
# Set this to a true value if you do not wish to HTML escape the separator.
# include_home
# Whether or not to include Home as the first entry. Default is no.
# link_type
# How the items should be linked:
# 0: No items linked
# 1: All items linked separately
# 2: All except the last item linked separately
# 3: All items linked as one single link (using the last item's URL)
# no_span
# Don't add the span tags around the last portion of the title. Default is to include the span tags.

You will find various example through the templates - the crumb links will look something like this (line breaks added by me):

Code:
<div class="crumb">
<%Links::Utils::format_title($main_title_loop, separator =>
$crumb_separator, no_escape_separator => $no_escape_crumb_separator,
include_home => 0, link_type => 2)%>
</div>

This format might not suit every template depending on how you want to customise your site. It does give you a good range of options though.
Subject Author Views Date
Thread Bookmarks gotze 1852 May 1, 2006, 5:02 PM
Thread Re: [gotze] Bookmarks
gotze 1801 May 1, 2006, 5:20 PM
Post Re: [gotze] Bookmarks
aus_dave 1788 May 1, 2006, 11:54 PM