Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: upm_category_title
Using your upm_category2_name with txp in debugging status I get “undefined variable thisarticle” error.
Using the echo statment above it works fine.
Refresh Dallas and other Refreshing Cities.
Offline
#32 2005-08-22 19:03:38
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_category_title
Oh DUH…
<pre><code>function upm_category1_name()
{
global $thisarticle;
return $thisarticle[‘category1’];
}
function upm_category2_name()
{
global $thisarticle;
return $thisarticle[‘category2’];
}</code></pre>
I know what I’m doing, really…
Offline
Re: upm_category_title
Perfect, works great now. Thanks mary.
Refresh Dallas and other Refreshing Cities.
Offline
#34 2005-11-24 05:12:37
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_category_title
v.0.4.5
Offline
Re: upm_category_title
mary is no longer maintaining this plugin – a copy of the last release is available here from upm-plugins archive
Refresh Dallas and other Refreshing Cities.
Offline