Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-17 14:21:48

Jonalist
New Member
Registered: 2006-04-16
Posts: 8

Linklist layout with 3 columns

Hi mates,

I’m trying to build a linklist with three columns, like that:

I’m using the mem_glinklist plugin and don’t want to use external stuff like del.icio.us etcetera…
I could use a table in a form, but something like that

<code>
<table> <tr> <td><txp:link /></td> <td><txp:link /></td> </tr> <tr> <td><tx:link_description /></td> <td><txp:link_description /></td> </tr>
</table>
</code>

doesn’t really make sense… because the output is the same link twice :(

I hope anybody have a master clue ;)

Regards

Offline

#2 2006-04-17 19:26:19

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Linklist layout with 3 columns

This looks like an easy task to me, using the txp:linklist tag with, label limit and category attribute,
Create one link list tag on your page template for each category, and then in each of your link list forms
use zem_nth to break your lists again in eval chunks of nested ul’s again.
Then in your style sheet you could either float the listsblocks to the left or use display:inline for your nested ul’s.

And you’d be ready allso to experience the power of CSS, instead of using tables,
but again the other way using tables, should work too somehow.

regards, marios

Last edited by marios (2006-04-17 19:28:50)


⌃ ⇧ < ⌃ ⇧ >

Offline

Board footer

Powered by FluxBB