Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Linklist offset

#1 2006-08-31 09:25:44

Slaktad
Archived Plugin Author
From: Linköping, Sweden
Registered: 2005-06-28
Posts: 50
Website

Linklist offset

I want to output a list of links (from the same category) in groups of ten, i.e. like this:
< ul >
< Ten links >
< /ul >
< ul >
< Ten links >
< ul >

Is it possible without some kind of plugin?

Offline

#2 2006-09-01 16:07:22

Slaktad
Archived Plugin Author
From: Linköping, Sweden
Registered: 2005-06-28
Posts: 50
Website

Re: Linklist offset

Bump

Offline

#3 2006-09-01 16:21:10

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

Re: Linklist offset

You would need an offset attribute, and neither <txp:linklist /> nor one of the existing linklist plugins have one as far as I know.
So, I don’t think you can do it.

Offline

#4 2006-09-01 16:28:21

Slaktad
Archived Plugin Author
From: Linköping, Sweden
Registered: 2005-06-28
Posts: 50
Website

Re: Linklist offset

Ok, as I thought :| I’m not very good at PHP, but wouldn’t such a plugin be quite easy to make?

Offline

#5 2006-09-01 16:35:21

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

Re: Linklist offset

I suppose so, but my PHP skills are also very limited. You could always make a plugin request.

Offline

#6 2006-09-01 21:33:40

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,124
Website GitHub

Re: Linklist offset

Thanks for that. That (kind of) answers a question I had too.
It would be useful if you want to make link lists work across two or more columns.


TXP Builders – finely-crafted code, design and txp

Offline

  1. Index
  2. » Archives
  3. » Linklist offset

Board footer

Powered by FluxBB