Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2006-03-22 22:53:14

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB