Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
<txp:mdm_category_name />
To go with the mdm_if_category tag, here is one to print out the current category name. Again, I don’t really know if there’s a better way to do this, but it works.
Offline
Re: <txp:mdm_category_name />
Thanks, Matt — works just right!
-Alan
Offline
#3 2004-08-03 07:24:45
- mapu
- Member
- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: <txp:mdm_category_name />
That’s a good way to mark the category pages as such.
But I have one problem here:
The [txp:mdm_category_name /]-tag breaks my category pages if there is an “&” in the category name. See example here: http://512mb.net/?c=CSS,%20HTML%20&%20Co.
where the category-name should be “CSS, HTML & Co.”.
But the category shows up correctly within the article form with the [txp:category x /]-tag. See here: http://512mb.net/linkhub/44/farb-tool
Although I’m not a coder I’m sure that this is a bug of the [txp:mdm_category_name /]-tag, but I’m also sure that this could be fixed easily?
Last edited by mapu (2004-08-03 07:28:50)
Offline
Offline
#5 2005-05-07 15:18:25
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: <txp:mdm_category_name />
This plugin doesn’t seem to work in 1.0rc3.
Offline
Pages: 1