Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-12 15:12:47

firago
Member
Registered: 2005-01-03
Posts: 54

Display two sections in same list?

Is there any way i can display two section in the same list? I know i can do it using the same section name and changing the categories, but i would like the links to point to different pages. the following is what i came up with for the code. but it doesnt display anything.

< txp:article_custom listform=“media_small_line” limit=“6” offset=“1” section=“photos,videos” sortby=“Posted” sortdir=“desc” />

thanks for any help you can give me.

Last edited by firago (2006-01-12 15:16:11)

Offline

#2 2006-01-14 21:29:03

firago
Member
Registered: 2005-01-03
Posts: 54

Re: Display two sections in same list?

did i stump yall with this one? there has got to be a way to do this. a plugin maybe?

Offline

#3 2006-01-14 22:43:58

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Display two sections in same list?

Try your code again, but switch the listform attribute to form.

Offline

#4 2006-01-15 18:22:17

firago
Member
Registered: 2005-01-03
Posts: 54

Re: Display two sections in same list?

i tried that, but it didnt work.

would it be possible to have it be a conditional statement. like
< ?php if (‘< txp:category />’ 'photos') : ?> use '< txp:page/>' ‘photos’
< ?php else: ?>
< ?php if (‘< txp:category />’ 'videos') : ?> use '< txp:page/>' ‘videos’
< ?php endif; ?>*

Offline

#5 2006-01-19 23:46:22

professerbootay
New Member
Registered: 2006-01-19
Posts: 2

Re: Display two sections in same list?

hmmmm, this seems like it should be easy to do, but i was thinking and i dont really know of a good way

Offline

Board footer

Powered by FluxBB