Loading...
 
Skip to main content

History: Auto TOC

Source of version: 13 (current)

Copy to clipboard
! About Auto TOC

^See the end-user documentation at: 
https://doc.tiki.org/Auto+TOC
^

!! Wishes
!!! Open
{wishes filtervalue="278" status="o"}

!!! Pending
{wishes filtervalue="278" status="p"}

!!! Closed
{wishes filtervalue="278" status="c"}

!! Interested community members
{LIST()}
    {filter type="trackeritem"}
    {filter field="tracker_id" exact="2"}
    {filter field="tracker_status" content="o OR p OR c"}
    {filter field="tracker_field_f_61" multivalue="278"}
    {sort mode="tracker_field_f_39_asc"}
    {pagination max="20"}
    {OUTPUT(template="table" pagination="y")}
        {column label="Login" translatelabel="y" field="f_39" sort="tracker_field_f_39" mode="raw"}
        {column label="Full Name" translatelabel="y" field="f_11" sort="tracker_field_f_11" mode="raw"}
        {column label="Interested in features" translatelabel="y" field="f_61" sort="tracker_field_f_61" mode="raw"}
        {column sort="modification_date" label="Last Modif" field="modified"}
    {OUTPUT}
    {FORMAT(name="f_39")}{display name="tracker_field_f_39" format="trackerrender" default=""}{FORMAT}
    {FORMAT(name="f_11")}{display name="tracker_field_f_11" format="trackerrender" default=""}{FORMAT}
    {FORMAT(name="f_61")}{display name="tracker_field_f_61" format="trackerrender" default=""}{FORMAT}
    {FORMAT(name="modified")}{display name=modification_date dateFormat="%d %b %y %H:%M"}{FORMAT}
    {ALTERNATE()}^{TR()}No results{TR}^{ALTERNATE}
{LIST}

!!- Former documentation
Auto TOC will automatically generate the Tables Of Content(TOC).
It will add the TOC two places.
# A floating TOC, located at the top of the browser window. This TOC is only visible when you scroll down past the top of the page.
# A static TOC located at the top of the page. The TOC is inserted into the page content at runtime. 

The Auto TOC option in Admin / Wiki must be enabled to use Auto TOC. You can also choose if the top TOC should be inserted into the page content or not. The TOC can be placed at the top or "floating" left or right. If placed at the top, the border width is set to 0px.

The Auto TOC option can be overridden per page, in the page properties.

Auto TOC is not included in the print view of the page.

This function is based on code posted here: [http://tiki.org/forumthread48578]

!! Using Auto TOC

{flash type="url" movie="display372" width="767" height="639"}

!! Questions
* What should we do with Auto-TOC when in print mode? tiki-print.php?page= or via CSS ((print))

-=alias=-
* (alias(Auto-TOC))
Show PHP error messages