Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-05 07:10:23

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

txp:link category name

Hey there,
Does anybody know if there is any plan to get a link category name tag into crockery?
If not, it was brought to my attention that there currently isn’t one, and it seems there ought to be.

How would one tap into the DB and taghandlers using php to create a “custom tag” in the meantime?

Thx.


Offline

#2 2006-06-05 07:35:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: txp:link category name

<txp:php>global $thislink;

// print category name
echo $thislink['category'];

// print category title
echo fetch_category_title($thislink['category'], 'link');
</txp:php>

:)

Does anybody know if there is any plan to get a link category name tag into crockery?

I’m hoping it can get addressed soon, yes. In fact, I should work on this. I’ll start on it. :)

Offline

#3 2006-06-05 17:14:16

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: txp:link category name

Mary,
thanks :)


Offline

Board footer

Powered by FluxBB