Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-03-22 21:43:34
- _michel_
- New Member
- From: Florence, Italy
- Registered: 2006-03-05
- Posts: 4
Sections with sub menus?
Is it possible to make sections containing sub menus.
For each section 1 sub menu that link to a specific “article”.
Thanks.
Michel.
Offline
Re: Sections with sub menus?
Hi michel
you can try something like
<code>
<ul>
<li><txp:section name=“recipes” title=“1” link=“1” />
<ul>
<txp:article_custom form=“list” section=“recipes” />
</ul>
</li>
<li><txp:section name=“blog” title=“1” link=“1” />
<ul>
<txp:article_custom form=“list” section=“blog” />
</ul>
</li>
</ul>
</code>
Then, create an article form (in Presentation -> Form), name it “list” and put inside.
<code><li><txp:permlink><txp:title /></txp:permlink></li></code>
I think… that’s all.
Last edited by maniqui (2006-03-22 22:59:35)
Offline
Pages: 1