Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2017-03-22 21:54:47

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Links page / linklog / list of link categories / organizing links

alicson wrote #304978:

Shouldn’t that be an existing form, then? So that people (like me) can make sense of it and redirect/change the form?

Yes, but you certainly don’t want/need to create a form per category. Just generate /links/?c=cool&context=link urls, it should suffice. Though it depends on what is in your links section page.

Edit: try <txp:category_list type="link" section="links" />.

Offline

#14 2017-03-23 02:09:13

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Links page / linklog / list of link categories / organizing links

etc wrote #304980:

try <txp:category_list type="link" section="links" />.

&context=link very solved it, and <txp:category_list type="link" section="links" /> works perfectly. Thanks once more!

(The “section” attribute eluded me in this case, probably since in most tags that connotes the section you want to limit your content to, rather than the section you want to link to. And I was trying to make sense of the basic (sans attributes) link without calling or creating other forms first, and that of course wasn’t working because it was making up forms and sections that don’t exist (at least not to the basic end user). It certainly works well once you know how it works.. Again, much appreciated.)


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

Board footer

Powered by FluxBB