Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-11-20 08:39:14

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,262
Website GitHub Mastodon Twitter

[SOLVED] linklist headaches

I am trying something extremely simple but I can’t seem to make it work. All I need is a list of linked files I uploaded in a certain category.

I tried

<txp:linklist category="mycat" limit="20" wraptag="p">
<txp:link /><br />
</txp:linklist>

and

<txp:linklist category="mycat" limit="20" wraptag="p" break="br">
<a href="<txp:site_url /><txp:link_url />"><txp:link_name /></a>
</txp:linklist>

but nothing appears. I triple checked that the file category name is correct and that files are under that category.

On debug mode the site shows no errors on txp v4.5.5


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2013-11-20 10:14:42

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [SOLVED] linklist headaches

linklist lists links rather than files. Otherwise that isolated part of code is ok.

Offline

#3 2013-11-20 10:28:28

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,262
Website GitHub Mastodon Twitter

Re: [SOLVED] linklist headaches

oops:) lack of sleep here:)

Note to self. Have over 4 hours of sleep before coding.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB