L
I
S
T
_
N
A
V

<-- Back to Tags

{LIST_NAV}

Adds navigation options to a List Template.

List navigation options:

^CL Close List Button
^FP First Page Button
^PT Previous Ten Pages Button
^PP Previous Page Button
^CP Current Page Number
^TP Total Pages Number
^NP Next Page Button
^NT Next Ten Pages Button
^LP Last Page Button
^Q1 Page Qty 10 Button
^Q2 Page Qty 20 Button
^Q5 Page Qty 50 Button
^QA Page Qty 100 Button
^QJ Page Qty 1000 Button
^XS Query Selection Buttons
^TB Text Box for Searching. Use with ([^X,#AP1]) in the query.
^DD(Relationship Type) Dropdown Selection to limit the list. Use with [[#AP1]] in the query. You can add a second boolean parameter to indicate if All/None are offered as options and a third parameter containing a query indicating the valid choices.
^MD(Relationship Type) Multi Select Dropdown to limit the list. Use with [[#AP1]] in the query.
^FN Number of First row on Page
^LN Number of Last row on Page
^TN Total Number of Rows
^B1 Index Lookup Buttons (Single Row)
^B2 Index Lookup Buttons (Double Row)
^RF Refresh the List. You can add an optional parameter for the Display Text ^RF(Refresh)
^ET Edit Template Button
^NI New Item Button (and refresh the list on save)
^NE New Item Button (and go into the new item on save)
^ND New Item Button with Description
^NL New Link Button
^LD New Link Button with description
^LS List Sort Button
^DL Div List. Replace all the table, thead, tbody, tfoot, tr, th, td elements with div elements.
^RC Row Child Select Button Request
^RD Row Delete Button Request
^RE Row Edit Button Request
^RL Row Delete Link Button Request. This can take three optional optional parameters. ^RL(Are you Sure text, Display Text, Button Title)
^RS Row Select Button Request
^HE Hide Edit Elements Button (See below for more details)

Hidden Edit Elements

You can have a list display without any edit options untill it is clicked, then the edit options appear as normal.
You can then use the Hide Edit Elements Button (^HE) to hide editing again.
To do this, add the ^HE button to the LIST_NAV area and surround the complete list template with an HTML div element with the classes "list-edit-toggle list-edit-off".
You will also need to add the class "list-edit-element" to any element that you want to hide, although the template generator should do this bit for you.
If you want the list to start with the edit elements visible then don't include the list-edit-off class.

Parameters
Number Name Default Type Description
1 options ^FP^PT^PP Page ^CP of ^TP (Rows ^FN to ^LN of ^TN) ^NP^NT^LP ^Q1^Q2^Q5^QA String The layout of the navigation bar at the top of the list.
Use the Options in the main description.
Log in to add a Comment.