Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-11-09 10:13:45

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: linklist page

Mary wrote:

  1. Link tags only work from a link form, called by linklist.

in other words, not possible

  1. Sorting doesn’t affect title display. If titles are not displaying correctly, something else is wrong.

but what could be? link category title “Eesti linnu – ja loodusfotograafia” but TP displays “Eesti-linnu-ja-loodusfotograafia”, link category title “Rõngastamine” TP displays “Rongastamine”. example

Offline

#14 2006-11-09 11:36:49

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: linklist page

use <txp:link_category title="1" /> instead of <txp:link_category />

Offline

#15 2006-11-09 13:29:09

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: linklist page

ruud wrote:

use <txp:link_category title="1" /> instead of <txp:link_category />

bingo ruud! :) thanks.

and last question (hopefully :) ): right now category names are sorted in alphabetical order, but how to sort them by date/time added?

Offline

#16 2006-11-09 13:48:26

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: linklist page

For the categories themselves, no time/date is stored, so you can’t sort them like that.
You can however sort by category and within the list of links for each category use date sorting (based on the date when the link was added):

<txp:linklist sort="category ASC, date ASC" break="li" form="Links" wraptag="ul" />

Offline

Board footer

Powered by FluxBB