Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-06-11 03:12:53

mattmoss
Member
Registered: 2004-03-29
Posts: 23
Website

<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

#2 2004-06-11 04:41:18

schussat
Plugin Author
Registered: 2004-02-24
Posts: 101
Website

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

#4 2004-11-24 16:16:25

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

Re: <txp:mdm_category_name />

This is exactly what I was looking for. Thanks!


Rayne
mama love

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

Board footer

Powered by FluxBB