Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
category list
Is there a way to have a category list parse non messy urls
My url schema is set to /id/title but the <txp:category_list break="li" wraptag="ul" />
tag returns
<ul>
<li>/archives/?c=About</li>
<li>/archives/?c=something</li>
<li>/archives/?c=something else</li>
</ul>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: category list
Funny. I get clean /category links using 4.06 and 4.07 using your tag..?
Offline
#3 2008-12-27 15:13:52
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: category list
Jonathan, are you using gbp_permanent_links? Because as far as I know that is the only way to get clean /section/category URLs.
Offline
Re: category list
Els wrote:
Jonathan, are you using gbp_permanent_links? …
I guess that this means that there’s no way to get clean with category_list…
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: category list
I must be misunderstanding the question. On a test install of 4.07 with URL scheme set to /id/title and using the tag as Yiannis posted, I do not get anything except URL’s like:
<ul class="category_list">
<li><a href="http://localhost:8888/textpattern-4.0.7/category/hope-for-the-future/">Hope for the Future</a></li>
<li><a href="http://localhost:8888/textpattern-4.0.7/category/meaningful-labor/">Meaningful Labor</a></li>
<li><a href="http://localhost:8888/textpattern-4.0.7/category/reciprocal-affection/">Reciprocal Affection</a></li>
</ul>
That’s on the /archive page. Must be missing something….!
I have never used gbp_permanent_links…
Offline
#6 2008-12-27 17:41:16
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: category list
jstubbs wrote:
/category/hope-for-the-future/
I took it that Yiannis wanted /archive/hope-for-the-future/
, and that is not possible without gbp_permanent_links.
Offline
Re: category list
Hi Els, Jonathan
I’m taking the discussion in the feature requests
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1