Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-15 20:14:12

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

an article list in 3 colums: how do I do that??

For my site I want an article list, displaying a thumbnail and title for each article in the list. The thumbnail is linked to the article itself.

I succeeded in doing this for a list with each article beneath each other. (using the wet_article_thumb plugin). Like this:
thumb
title
article1

thumb
title
article2

thumb
title
article3

etc,
etc.

But what I want is a 3-column list like this:

thumb . . . . thumb . . . . . thumb
title . . . . . . title . . . . . . . title
article1 . . . article2 . . . . .article3

thumb . . . . thumb . . . . . thumb
title . . . . . . title . . . . . . . title
article1 . . . article2 . . . . .article3

etc, etc.
(Sorry for the dots, that should be white, but this editor is deleting multiple spaces one way or another)

How can I do this?

Help is appreciated very much; thnx in advance

Last edited by blueprint (2006-03-15 20:15:56)

Offline

#2 2006-03-15 21:31:15

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

Re: an article list in 3 colums: how do I do that??

Either you use txp: article_custom with attributes limit and offset or you float your article div´s.

Last edited by alexandra (2006-03-15 21:31:34)

Offline

#3 2006-03-15 22:49:43

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

Re: an article list in 3 colums: how do I do that??

Yes, as Alex suggests, “floats” would do this for you.


Stuart

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

Offline

#4 2006-03-16 21:12:06

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

Re: an article list in 3 colums: how do I do that??

thanks for the suggestions; the float property did the trick.

If found it too hard to do it with txp_article_costum and the limit / offset attributes; the problem is that one doesn’t know the number of articles in a section/category: articles will be added, deleted etc.

So the float property of the div tag is a simple and straightforward solution.

Offline

Board footer

Powered by FluxBB