Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-11 19:48:53

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Allow related articles tag to use "form" attribute

So it could be used as more then just a list of links to articles.

Offline

#2 2007-06-11 20:49:54

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: Allow related articles tag to use "form" attribute

+1! :)

Offline

#3 2007-06-11 22:55:07

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Allow related articles tag to use "form" attribute

You’ve anticipated an ongoing process: Converting a sensible selection of list tags into optional container tags with form parsing capabilities.

We have just started with a different, hopefully useful move in that direction, txp:section_list. This will land with crockery, once upon a time. Building a multi-level section-based navigation menu should be a matter of wrapping an article_custom tag into a section_list tag then. Somehow like that:

<txp:section_list>
  <txp:section link="1" title="1" ... />
  <txp:if_active_section>
    <txp:article_custom section="<txp:a_missing_tag_we_need_to_add_later />" form="permlinked-title" />
  </txp:if_active_section>
</txp:section_list>

Last edited by wet (2007-06-11 23:03:00)

Offline

#4 2007-06-12 18:05:15

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: Allow related articles tag to use "form" attribute

Excellent. Look forward to 4.1

Great to see all the work that is happening

Offline

Board footer

Powered by FluxBB