Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-10-26 09:26:06
- sraone77
- Member
- Registered: 2007-08-23
- Posts: 11
Category for all section
How do I do to assign a category for all the sections?
Example:
<txp:category_list section=“Section1,Section2,Section3,… “ />
so it doesn’t work.
Help!
Offline
Offline
#3 2007-10-26 12:29:16
- sraone77
- Member
- Registered: 2007-08-23
- Posts: 11
Re: Category for all section
Sorry but the url don’t correspond
example:
If i click on the article “Tricase: GDF Smaschera total evader” the url is:
http://www.paesenostro.it/attualita/75/TRICASEGDFSmascheraevasoretotaleper23MlndiEuro
If i click on the category “Tricase” the url is:
http://www.paesenostro.it/categoria/Tricase/
ok?
Instead leaving section = “actuality” the url is
http://www.paesenostro.it/attualita/?c=Tricase
but it works only for the section “attualita”
Offline
#4 2007-10-30 03:40:39
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Category for all section
So what are you trying to accomplish?
Offline
#5 2007-10-30 08:54:09
- sraone77
- Member
- Registered: 2007-08-23
- Posts: 11
Re: Category for all section
The categories work only with one section and not with everybody even if i leave section=”“.
Offline
#6 2007-10-30 10:00:15
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Category for all section
Do you have an article tag on your default page? If you don’t…
<txp:if_category>
<!-- if trying to view category list -->
<txp:article />
<txp:else />
<!-- otherwise, show this -->
</txp:if_category>
Offline
#7 2007-10-30 11:26:54
- sraone77
- Member
- Registered: 2007-08-23
- Posts: 11
Re: Category for all section
It is sorry it doesn’t work. the problem is that the connections not correspond.
Example:
If i click on the category “Tricase” the url is http://www.paesenostro.it/categoria/Tricase/
If i click on the article “Tricase” the url is http://www.paesenostro.it/attualita/75/TRICASEGDFSmascheraevasoretotaleper23MlndiEuro
understands?
Try to click on “Tricase: GDF Smaschera evasore totale” in the site www.paesenostro.it
Then try to click to the right in the form “Notizie dai paesi
“ to item “Tricase”. Ok?
Offline
#8 2007-10-30 23:44:37
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Category for all section
sraone77 wrote:
If i click on the category “Tricase” the url is http://www.paesenostro.it/categoria/Tricase/
If i click on the article “Tricase” the url is http://www.paesenostro.it/attualita/75/TRICASEGDFSmascheraevasoretotaleper23MlndiEuro
That is what is supposed to happen.
?
Offline
#9 2007-10-31 09:06:31
- sraone77
- Member
- Registered: 2007-08-23
- Posts: 11
Re: Category for all section
I want that click in the category “Tricase”, the site shows all the articles on “Tricase” of all the sections.
Offline
Re: Category for all section
I want that click in the category “Tricase”, the site shows all the articles on “Tricase” of all the sections.
So it does. Example http://www.paesenostro.it/categoria/Tricase/ shows all articles in category “Tricase”, dependless of the section.
Cheers!
Last edited by Gocom (2007-10-31 14:23:42)
Offline
#11 2007-10-31 14:37:46
- sraone77
- Member
- Registered: 2007-08-23
- Posts: 11
Re: Category for all section
Yes, but the articles of Tricase i set to the category Tricase, they are not here http://www.paesenostro.it/categoria/Tricase/ but here http://www.paesenostro.it/attualita/75/TRICASEGDFSmascheraevasoretotaleper23MlndiEuro
Exactly:
http://www.paesenostro.it/“name section”/“number article”/“title article”
Offline
#12 2007-11-01 01:41:35
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Category for all section
I don’t understand what the problem is.
An individual article with the category “Tricase” is here:
http://www.paesenostro.it/attualita/75/TRICASEGDFSmascheraevasoretotaleper23MlndiEuro
And the listing of all articles with the category “Tricase” (including the one above) are here:
http://www.paesenostro.it/categoria/Tricase/
That is what is supposed to happen.
Offline