Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2007-11-01 11:00:24

sraone77
Member
Registered: 2007-08-23
Posts: 11

Re: Category for all section

What? no.

Example: Article -> “Tricase: GDF Smaschera evasore totale”

Cat. 1 -> Tricase
Cat. 2 ->
Section -> attualita

Offline

#17 2007-11-01 16:07:08

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

Re: Category for all section

sraone77, is this the same problem?

Offline

#18 2007-11-01 17:31:06

sraone77
Member
Registered: 2007-08-23
Posts: 11

Re: Category for all section

Yes, thanks. I have succeeded. I have done this way:

<txp:if_category>
<txp:asy_wondertag><txp:article_custom category=”<txp:category />” /></txp:asy_wondertag>
<txp:else />
<txp:chh_article_custom listform=“notizia” pgonly=“0” section=“attualita,cronaca,politica,economia,turismo” sort=“Posted desc” />
</txp:if_category>

Offline

#19 2007-11-01 18:04:25

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Category for all section

Hm.. I’m little confused – are categories depend on sections? I thought categories and sections exist regardless of each other…

You can just criteria the articles same time with section and the category – you see. So, no they don’t depend on section, as they are seperated as in the db as well.

Cheers!

Last edited by Gocom (2007-11-01 18:05:29)

Offline

Board footer

Powered by FluxBB