Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-02-14 00:08:42
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
How to get alfanumeric characters in image category names?
I need to introduce one dot in the image category name to succeed in mantaining my old blog pagination for the photo pages.
The original pages where photos1.html photos2.html and so on.
I’ve succesfully installed smd_gallery, but to get the pagination I’ve used the expression:
<txp:smd_gallery limit=“3” category=’<txp:article_url_title /> wraptag=“p” class=“fotospace” limit=“5” />
with photo categories matching the article URL title
so that the <txp:smd_gallery> attribute “category=’<txp:article_url_title />’ “ allow me to get
In the page photos2.html all the photos categorized as ‘photos2.html’. Then another template allow me to get a list-page containing links to all the fotos-pages.
WHAT DOES NOT WORK is that the image category does not accept the name ‘photos2.html’, because it contains a dot and produce a category ‘photos2html’ that does not let me mantein the old page name.
Is there any way to get a category with a dot in its name?
Last edited by Bongo-man (2010-02-14 00:17:17)
Offline
#2 2010-02-14 01:34:04
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: How to get alfanumeric characters in image category names?
I don’t think that is possible, and for a good reason (dots in URLs can only occur in certain parts of it…). Why don’t you just redirect the old URLs to the new ones in .htaccess?
Offline
#3 2010-02-14 03:37:57
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Re: How to get alfanumeric characters in image category names?
I thought also this but it is a solution for a short period of time, because it slows the server.
But probably I wll do so, renaming the photo files.
Anyway thank for your answer
Last edited by Bongo-man (2010-02-14 03:39:25)
Offline