Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-17 14:20:44

elduderino
Member
From: Whitstable. south-East England
Registered: 2006-01-02
Posts: 175
Website

recent articles list?

Hi ive searched this forum and looked in the textbook but i cant find an answer to either of these questions. Im sure they’re simple one but i cant think of a way to do it myself.

firstly, I just want a recent articles list. Each time a new article is written the list is updated.

Secondly i want to know how to have more than one list on a page. I have at the moment a linklist on my default page and that uses this txp code:

<code> <txp:linklist form=“my-links” limit=“10” /></code>

What i dont know how to do is if i create another list called “musiclist” how do i tell txp that i want to put the new item in that list only and not the other one?

Hopes that makes sense

thanks

Offline

#2 2006-07-17 18:03:40

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: recent articles list?

Offline

#3 2006-07-18 17:28:19

elduderino
Member
From: Whitstable. south-East England
Registered: 2006-01-02
Posts: 175
Website

Re: recent articles list?

thanks mary thats perfect! i’m just a little confused about this catergory thing.

Ive put this in my code:

<code> <txp:if_category name=“tests”>
<txp:linklist label=“First Floor” wraptag=“ul” break=“li” />
</txp:if_category>

</code>

i was hoping that id be able to create a new link category called tests and then when i psted a new link with this category it would show up in the div that i put my code in.

Hmmm, it doesnt seem to work! Could anyone suggest why?

thanks

Last edited by elduderino (2006-07-18 18:08:19)

Offline

#4 2006-07-18 19:18:16

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: recent articles list?

You also might find <a href=“http://thresholdstate.com/articles/3649/customizing-txprecentarticles”>this page</a> very helpful.

Offline

#5 2006-07-19 07:17:23

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: recent articles list?

Could anyone suggest why?

Because category urls are article categories, not link categories. I believe there’s a link plugin that will allow you to use them as such, check the resources site.

Offline

#6 2006-07-19 13:03:17

elduderino
Member
From: Whitstable. south-East England
Registered: 2006-01-02
Posts: 175
Website

Re: recent articles list?

Im sorry i cant find the related plugin.

Is the only way of creating extra lists on a page without the use of a plugin?

Offline

#7 2006-07-19 13:59:21

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: recent articles list?

elduderino wrote:

Im sorry i cant find the related plugin.

mem_glinklist?

Last edited by els (2006-07-19 13:59:51)

Offline

#8 2006-07-20 17:24:48

elduderino
Member
From: Whitstable. south-East England
Registered: 2006-01-02
Posts: 175
Website

Re: recent articles list?

brilliant. Thanks guys. That works a treat!

Offline

Board footer

Powered by FluxBB