Direct acces page needs Table Of Contents


Direct acces page needs Table Of Contents
#1
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.
LEGO ergo sum
Reply
RE: Direct acces page needs Table Of Contents
#2
(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
Reply
RE: Direct acces page needs Table Of Contents
#3
Mostly Unrelated. The page has a typo. Search it for "Latest arts".
Reply
RE: Direct acces page needs Table Of Contents
#4
(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.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 4 Guest(s)