Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Managing Links

#1 2006-01-06 14:11:50

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Managing Links

Emmas original post:

I have got a number of links set up and at the moment I am using txp:linklist to display them. I`d like to modify this
are there any good plugins to help? I´ve tried searching for ‘links’ but lots of unrelated posts have the word in them!
I’d like one page to display a different category based on a url parameter. I’d also like a tag to display just the most recently added link – is that possible?

Thanks for any help

Offline

#2 2006-01-06 18:36:21

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Managing Links

You could use <code><txp:linklist limit=“1” sort=“date asc” /></code> or it might be “date desc”, I can never remember. I think that should output the newest link.

For different links on certain pages I think that surrounding the “linklist” tag with <code><txp:if_section name=“sectionName”></txp:if_section></code> tags and specifying the link category to be displayed in the “linklist” tag would do it assuming I’m thinking straight.

I use the mem_glinklist plug-in as well which is a little more flexible.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

  1. Index
  2. » Archives
  3. » Managing Links

Board footer

Powered by FluxBB