Parameters Wayfinder

Description


Is used to menu. Allows you to organize simple,
multilevel and drop-down menu.
Through the use of the template, the result may be output as
nenumerovanye and numbered lists, or any other.

Consider the options that have with Wayfinder. These options relate to the first version.

the

Authors


the
    the
  • Kyle Jaebker (muddydogpaws.com)
  • the
  • Ryan
    Thrash (vertexworks.com)

the

Version


2.0

the

call Examples


[[Wayfinder? &startId=`0`]]

[[Wayfinder?
&startId=`0` &level=`3` &hideSubMenus=`1` &outerTpl=`wfOuter`
&rowTpl=`wfRow` &hereTpl=`wfHere`]]

the

Options


the

&startId


The folder ID is taken from the documents
the formation of the result.

Values: Any number (ID) of the document.

Default: the Current document

the

&level


The number of levels deep to collect the documents.

Value: an integer greater than or equal to zero.

Default: 0

the

&ignoreHidden


Ignore the checkbox "Show in menu" and to withdraw such
the documents too.

Values:

the
    the
  • to true
  • the
  • to false

Default: false

the

&ph


The name of the variable that will be used for output
the result (?)

Values:

the
    the
  • any variable
  • the
  • to false

Default: false

the

&debug


To set the debug mode for diagnostic purposes.

Values:

the
    the
  • to true
  • the
  • to false

Default: false

the

&hideSubMenus


Display only the active menu.

Values:

the
    the
  • to true
  • the
  • to false

Default: false

the

&removeNewLines


To remove the newline character in the output (?).

Values:

the
    the
  • to true
  • the
  • to false

Default: false

the

&textOfLinks


The field used to name the menu links.

Values:

the
    the
  • menutitle
  • the
  • id
  • the
  • pagetitle
  • the
  • description
  • the
  • parent
  • alias the

  • longtitle
  • the
  • introtext

Default: menutitle

the

&titleOfLinks


The field used for the title menu links.

Values:

the
    the
  • menutitle
  • the
  • id
  • the
  • pagetitle
  • the
  • description
  • the
  • parent
  • alias the

  • longtitle
  • the
  • introtext

Default: pagetitle

the

&rowIdPrefix


Set the unique identifier (id) for each item (id is formed
from the value of rowIdPrefix + docId).

Values:

the
    the
  • to true
  • the
  • to false

Default: false

the

&useWeblinkUrl


Withdraw the reference in a variable [+wf.link+].

Values:

the
    the
  • to true
  • the
  • to false

Default: true

the

&showSubDocCount


Display the number of documents in a folder into a variable
[+wf.subitemcount+].

Values:

the
    the
  • to true
  • the
  • to false

Default: false

the

&sortOrder


Specifies the sort order of the documents.

Values:

the
    the
  • ASC
  • the
  • DSC

Default: ASC.

the

&sortBy


The field on which sorting is performed.

Values:

the
    the
  • id
  • the
  • menutitle
  • the
  • pagetitle
  • the
  • introtext
  • the
  • menuindex
  • the
  • published
  • the
  • hidemenu
  • the
  • parent
  • the
  • isfolder
  • the
  • description
  • alias the

  • longtitle
  • the
  • type
  • the
  • template

Default: menuindex

the

Templates to display the menu


the

&outerTpl


Specifies the template to display the menu.

Value: the Name used by chunk.

Possible variables:

the
    used CSS class
    (includes class=" ") content menu.

Example:
<ul id="topnav"[+wf.classes+] > [+wf.wrapper+]

the

&rowTpl


Specifies the pattern output menu number.

Value: the Name used by chunk.

Possible variables:

the
    used CSS class
    (includes class=" ") attributes of the link the current element folder description. introtext

Example:
<li[+wf.id+][+wf.classes+]><a href="[+wf.link+]"
title="[+wf.title+]" [+wf.attributes+] > [+wf.linktext+][+wf.wrapper+]

the

&parentRowHereTpl


Sets the template output for the current element if it is a folder.

Value: the Name used by chunk.

Possible variables: as &rowTpl

Example:
<li[+wf.classes+]><a href="[+wf.link+]"
title="[+wf.title+]" > [+wf.linktext+]"[+wf.wrapper+]

the

&parentRowTpl


Sets the template output for all documents that are
folders.

Value: the Name used by chunk.

Possible variables: as &rowTpl

Example:
<li[+wf.classes+]><a href="[+wf.link+]"
title="[+wf.title+]" > [+wf.linktext+]"[+wf.wrapper+]

the

&hereTpl


Template output for the current document.

Value: the Name used by chunk.

Possible variables: as &rowTpl

Example:
<li[+wf.classes+] > [+wf.linktext+][+wf.wrapper+]

the

&innerTpl


Template for all list of all subfolders.

Value: the Name used by chunk.

Possible variables: as &rowTpl

Example:
<ul[+wf.classes+] > [+wf.wrapper+]

the

&innerRowTpl


The template for a number of submenus.

Value: the Name used by chunk.

Possible variables: as &rowTpl

Example:
<li[+wf.classes+]><a href="[+wf.link+]"
title="[+wf.title+]" > [+wf.linktext+][+wf.wrapper+]

the

&innerHereTpl


The template for the current document if it is a subfolder.

Value: the Name used by chunk.

Possible variables: as &rowTpl

Example:
<li[+wf.classes+] > [+wf.linktext+][+wf.wrapper+]

the

&activeParentRowTpl


Template for output subfolders that are ancestors of
current document.

Value: the Name used by chunk.

Possible variables: as &rowTpl

Example:
<li[+wf.classes+]><a href="[+wf.link+]"
title="[+wf.title+]" > [+wf.linktext+][+wf.wrapper+]

the

&categoryFoldersTpl


The template for displaying categories folder. The category folder
is installed installing the template blank or attribute links
rel="category".

Value: the Name used by chunk.

Possible variables: as &rowTpl

Example: < li[+wf.classes+]><a href="[+wf.link+]"
title="[+wf.title+]" > [+wf.linktext+][+wf.wrapper+]

the

the Name you assign CSS classes


the

&firstClass


CSS class
for the first item of the current menu level.

Value:

the
    the
  • none
    (missing)
  • the
  • the name of the CSS class.

Default: none (none)

the

&lastClass


CSS class
for the last item of the current menu level.

Value:

the
    the
  • last
  • the
  • the name of the CSS class.

Default value: last

the

&hereClass


CSS class
indicate the status of the "You are here". Determines the chain of points.

Value:

the
    the
  • here
  • the
  • the name of the CSS class.

The default value is here

the

&selfClass


CSS class
indicate the status of the "You are here". Specifies that only the current document.

Value:

the
    the
  • none
    (missing)
  • the
  • the name of the CSS class.

Default: none (none)

the

&parentClass


CSS class
specifies the menu item as a folder (that has sub-documents)

Value:

the
    the
  • parent
  • the
  • the name of the CSS class.

The default value: parent

the

&rowClass


CSS class
specifies the number of each menu.

Value:

the
    the
  • none
    (missing)
  • the
  • the name of the CSS class.

Default: none (none)

the

&levelClass


CSS class
defining each menu level. For each level can be set
special CSS class
(level1, level2, level3, etc.)

Value:

the
    the
  • none
    (missing)
  • the
  • the name of the CSS class.

Default: none (none)

the

&outerClass


CSS class
for the template display menu.

Value:

the
    the
  • none
    (missing)
  • the
  • the name of the CSS class.

Default: none (none)
the

&innerClass


CSS class
for the template output of the sub-items menu.

Value:

the
    the
  • none
    (missing)
  • the
  • the name of the CSS class.

Default: none (none)

the

&webLinkClass


CSS class
for menu links.

Value:

the
    the
  • none
    (missing)
  • the
  • the name of the CSS class.

Default: none (none)

the

Connect CSS and Javascript to menu


the

*&cssTpl


CSS
to add to the page.

Value:

the
    the
  • name of the chunk with CSS
  • the
  • to false

The default value is: false

the

*&jsTpl


Javascript to add to the page.

Value:

the
    the
  • name of the chunk with Javascript
  • the
  • to false

The default value is: false


Link: the Wayfinder Snippet 2
Article based on information from habrahabr.ru

Комментарии

Популярные сообщения из этого блога

ODBC Firebird, Postgresql, executing queries in Powershell

garage48 for the first time in Kiev!

The Ministry of communications wants to ban phones without GLONASS