Gossamer Forum
Home : Products : Gossamer Links : Discussions :

GLinks 3.x Docs: The luna template set globals

Quote Reply
GLinks 3.x Docs: The luna template set globals
With the rewrite of the 'default' template set, we've also cleaned out a lot of the old globals that contained style information. This document will describe the new globals used in the luna template set.

The new globals.txt mainly contains options which control the output of certain aspects of the template. Here's a description of what each global does:
  • category_cols (default value: 2): This value controls the number of columns that will be displayed in category.html. If you change this value, then you must remember to also change the "#category dl" CSS rule to reflect this change.

  • category_separator (default value: ' > '): This is the text that will be inserted in between each category in a category title. This value is html escaped by default, so if you want to use html, then add a no_escape_category_separator global with a value of '1'.

  • crumb_separator (default value: ' > '): This is the same as category_separator except it is used for the 'bread crumb'. To use html in this value, create a no_escape_crumb_separator global.

  • detailed_max_reviews (default value: 5): This value limits the maximum number of reviews to display on a link's detailed page.

  • home_category_cols (default value: 2): This is the same as category_cols, except this is for the columns on the home page. Remember to change the corresponding "#home dl" CSS rule.

  • paging_options: See the Customising the paging toolbar HOWTO for detailed information.

  • site_title (default value: 'Gossamer Links'): This value is used in various places, for example in the title of each page.


Adrian
Subject Author Views Date
Thread GLinks 3.x Docs: The luna template set globals brewt 4548 Apr 7, 2005, 12:31 AM
Post Re: [brewt] GLinks 3.x Docs: The luna template set globals
HyperTherm 4456 Apr 7, 2005, 1:17 AM
Thread Re: [brewt] GLinks 3.x Docs: The luna template set globals
erichcyber 4467 Apr 7, 2005, 5:02 AM
Post Re: [erichcyber] GLinks 3.x Docs: The luna template set globals
brewt 4473 Apr 7, 2005, 10:43 AM
Post Re: [brewt] GLinks 3.x Docs: The luna template set globals
webmaster33 4371 Apr 12, 2005, 11:29 AM
Thread Re: [brewt] GLinks 3.x Docs: The luna template set globals
leeann 3992 Sep 12, 2006, 12:56 AM
Thread Re: [leeann] GLinks 3.x Docs: The luna template set globals
brewt 4013 Sep 12, 2006, 1:15 AM
Thread Re: [brewt] GLinks 3.x Docs: The luna template set globals
leeann 3989 Sep 12, 2006, 2:10 AM
Thread Re: [leeann] GLinks 3.x Docs: The luna template set globals
jdgamble 3952 Sep 12, 2006, 7:01 AM
Thread Re: [jdgamble] GLinks 3.x Docs: The luna template set globals
leeann 3974 Sep 12, 2006, 10:28 AM
Thread Re: [leeann] GLinks 3.x Docs: The luna template set globals
brewt 3966 Sep 12, 2006, 1:26 PM
Post Re: [brewt] GLinks 3.x Docs: The luna template set globals
brewt 3927 Sep 13, 2006, 4:11 PM
Thread Re: [jdgamble] GLinks 3.x Docs: The luna template set globals
brewt 3952 Sep 12, 2006, 1:12 PM
Post Re: [brewt] GLinks 3.x Docs: The luna template set globals
jdgamble 3943 Sep 12, 2006, 2:19 PM