Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
file category title
It seems that <txp:file_download_category />
does not have the Title attribute and always displays categories by Name. <txp:link_category title=“1” /> allows you to do this, which helps avoid hyphens between words-in-the-name.
Is it possible to access this manually with PHP? How would I do this?
You can see an example of it in use on this dev site.
thanks folks for any help and suggestions…
Offline
Re: file category title
Would this help?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2007-04-08 17:50:51
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: file category title
FWIW: this has been fixed in svn.
<txp:php>
global $thisfile;
if ($thisfile['category'])
{
echo fetch_category_title($thisfile['category'], 'file');
}
</txp:php>
Offline
Pages: 1