Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-19 13:27:16

daikw
Member
Registered: 2007-10-06
Posts: 39

Formating article lists in two separate ways.

I am working on this gallery page
As you can see, there is a list of links on the top left; facetexts, figurative, and photography.
This was created using the tag <txp:article_custom section="b_gallery"/>

I would like to remove the posted dates, author info, and make the text smaller – so this appears as a simple link list.
However, if I modify the default form, it effects this blog page where the posted dates and author are needed.

What is the easiest way to get around this?

Thanks

Dai

Offline

#2 2008-07-19 13:34:11

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Formating article lists in two separate ways.

Hi,

create a new form using the tags you would like to display and name it something like “gallery_list” or “gallery_links” or whatever you like.

Then, use the form attribute on txp:article_custom, like this:
<txp:article_custom section="b_gallery" form="gallery_list" />


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB