Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
No dirifying in categories
I use MX4
http://www.translatum.gr/txp/
and when I click on a category
http://www.translatum.gr/txp/category/%CE%94%CE%BF%CE%BA%CE%B9%CE%BC%CE%AD%CF%82/
no dirification occurs (which works fine with individual articles)
Offline
Re: No dirifying in categories
For that reason there is the difference between category title and category name. Use Name for what will be in the url, and title for what should be displayed on the page.
Offline
Re: No dirifying in categories
That is cool. I had posted a feature request complaining about how the category names should be dirified. This works well. The category tag appears to display the wrong value however. It is showing the derified name, not the Title.
Last edited by ramanan (2005-09-18 15:21:41)
Offline
Re: No dirifying in categories
Yes, that had to be this way to not break bc. however 4.0.1 introduced the attribute title=“y” which you can use to get the title.
Offline
Re: No dirifying in categories
Perfect!
Offline
Re: No dirifying in categories
> Sencer wrote:
> however 4.0.1 introduced the attribute title=“y” which you can use to get the title.
Neither <txp:s title="y" />
nor <txp:c title="y" />
work, but thankfully there are the upm_section_title and upm_category_title for that job.
VC3 :: weblog :: my wishlist
Offline
#7 2005-09-25 00:08:46
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: No dirifying in categories
Neither
<txp:s title="y" />
nor<txp:c title="y" />
work
txp:s and txp:c are simple shortcuts for $pretext values; they don’t support attributes, and never will.
txp:category1, txp:category2 and txp:section all support the ‘title’ attribute. It should be 0 or 1, not y or n.
Alex
Offline
#8 2005-09-25 01:31:49
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: No dirifying in categories
Above Sencer was referring to section, category1 and category2 for the y or n values. But they were confusing, so that was switched to 0 or 1. I updated the manual for these three tags a couple days ago when I discovered the change.
Offline
Re: No dirifying in categories
Thanks both Sencer and Zem for letting us know that such a feature exists and how to use it. Nevertheless, my point is that you can’t use anything but the upm_*_title plugins for displaying the titles on section and category frontpages; that’s where I’d use <txp:s title="1" />
and <txp:c title="1" />
if I could.
VC3 :: weblog :: my wishlist
Offline
#10 2005-09-26 05:42:27
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: No dirifying in categories
Offline
Offline
Pages: 1