Parameters That Determine the Values of Certain Placeholders

 Parameters That Determine the Values of Certain Placeholders

ParameterDescriptionValue TypeLegal ValuesDefault ValueComments
&textOfLinks By default Wayfinder uses the menutitle field of each document as the visible name of each HTML link it outputs. This parameter lets you specify a different field as the source of this text. If you create you're own templates, the field specified by this parameter becomes the value of the [+wf.linktext+] placeholder. one of the following predefined terms.
  • menutitle
  • pagetitle
  • longtitle
  • description
  • introtext
  • id
  • menuindex
  • parent [what kind of values does this return?]
  • alias
  • published
  • hidemenu
  • isfolder
  • type [returns a value of "document", ??? or ???]
  • template [what kind of values does this return?]
menutitle  
&TitleOfLinks By default Wayfinder uses the pagetitle field of each document as the value of the title attribute of each HTML link it outputs. This parameter lets you specify a different field as the source of this text. If you create you're own templates, the field specified by this parameter becomes the value of the [+wf.title+] placeholder. one of the following predefined termsone of the following predefined terms.
  • menutitle
  • pagetitle
  • longtitle
  • description
  • introtext
  • id
  • menuindex
  • parent [what kind of values does this return?]
  • alias
  • published
  • hidemenu
  • isfolder
  • type [returns a value of "document", or ???]
  • template [what kind of values does this return?]
pagetitle  
&useWeblinkUrl [ "If weblinks are used in the output, Wayfinder will output the link specified in the weblink instead of the normal MODx link. To use the standard display of weblinks (like any other document) set this to FALSE." "if set to TRUE the link specified in the weblink will be output to the placeholder [+wf.link+] --- What the heck do these descriptions, copied from other documentation, mean???] boolean TRUE, FALSE FALSE  
&fullLink if set to TRUE outputs the full url instead of a relative path. boolean TRUE, FALSE FALSE  
&rowIdPrefix If you're writing custom templates and need an unique identifier for each row, then this is the parameter for you. For each document that Wayfinder lists, the value you set in this parameter will be prepended to the document ID then placed in the [+wf.id+] placeholder. This placeholder can then be used in any row-level template. text string any short text string [that contains no spaces or punctuation?] (empty)  
&showSubDocCount If this parameter is set to TRUE, then for each document Wayfinder will fill the placeholder [+wf.subitemcount+] with the number of immediate children of that document. This placehold can be used in any custom row-level template. boolean TRUE, FALSE FALSE  

PR

  • KAGOYA
  • ASP at AKIHABARA Japan
  • CMS AWARDS 2007 Winner
ページトップへ