LDraw.org Discussion Forums
Direct acces page needs Table Of Contents - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Administrative (https://forums.ldraw.org/forum-4.html)
+--- Forum: Website Suggestions/Requests/Discussion (https://forums.ldraw.org/forum-23.html)
+--- Thread: Direct acces page needs Table Of Contents (/thread-24538.html)



Direct acces page needs Table Of Contents - Willy Tschager - 2021-04-07

This page:

https://www.ldraw.org/direct-parts-access

needs a Table Of Contents on the side for "Official Parts" and "Unofficial Parts". I know I have to add anchors but where did you store the template?

w.


RE: Direct acces page needs Table Of Contents - Orion Pobursky - 2021-04-07

(2021-04-07, 16:45)Willy Tschager Wrote: This page:

https://www.ldraw.org/direct-parts-access

needs a Table Of Contents on the side for "Official Parts" and "Unofficial Parts". I know I have to add anchors but where did you store the template?

w.

Add anchors. The TOC is generated automatically via tag (add to sidebar):
Code:
{include file='cms_template:page-toc' page_content=$maincontent



RE: Direct acces page needs Table Of Contents - Travis Cobbs - 2021-04-07

Mostly Unrelated. The page has a typo. Search it for "Latest arts".


RE: Direct acces page needs Table Of Contents - Orion Pobursky - 2021-04-07

(2021-04-07, 18:57)Orion Pobursky Wrote: Add anchors. The TOC is generated automatically via tag (add to sidebar):
Code:
{include file='cms_template:page-toc' page_content=$maincontent

Note: the above is wrong.

I've added the anchors and the appropriate TOC tag to the page.

The typo Travis mentions down thread is also fixed.