Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_category_title

#31 2005-08-22 18:09:07

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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.

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

#33 2005-08-22 19:10:06

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: upm_category_title

Perfect, works great now. Thanks mary.

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

#35 2006-02-09 06:53:05

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: upm_category_title

mary is no longer maintaining this plugin – a copy of the last release is available here from upm-plugins archive

Offline

  1. Index
  2. » Archives
  3. » upm_category_title

Board footer

Powered by FluxBB