Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_category_title

#13 2005-06-15 18:49:16

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

Re: upm_category_title

Yep.

Offline

#14 2005-06-15 19:08:24

aboswell
Member
Registered: 2004-11-08
Posts: 26

Re: upm_category_title

Thanks, I will do that.

Offline

#15 2005-06-15 21:21:21

aboswell
Member
Registered: 2004-11-08
Posts: 26

Re: upm_category_title

Last thing. I have done some editing of files in the txp source, so I don’t want to just copy over. Is there a simple way to update rc3 to the latest release?

Offline

#16 2005-06-15 21:25:45

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

Re: upm_category_title

Simple, no.

A simpl*er* method would be to get yourself a diff program, like WinMerge or CSDiff (Google for them) and then you can see all the differences in files.

Offline

#17 2005-06-15 21:34:24

aboswell
Member
Registered: 2004-11-08
Posts: 26

Re: upm_category_title

thanks Mary-

I think that I will just back everything up and then make the changes again by hand. I wouldn’t even do it if I didn’t want this feature.

Offline

#18 2005-06-28 03:16:43

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

Re: upm_category_title

v.0.4.2

Offline

#19 2005-06-28 15:49:37

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: upm_category_title

Damn I can’t keep up ;) Did you squish it?

Offline

#20 2005-07-13 02:07:52

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

Re: upm_category_title

v.0.4.3

Offline

#21 2005-08-19 16:08:13

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

Re: upm_category_title

Hey mary,

I am now wanting to output the name for category1 and category2. Could you give me your previous version that had upm_category1 and upm_category2 in it so I can adapt it to my needs.

Thanks.

Offline

#22 2005-08-19 19:49:14

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

Re: upm_category_title

Er, the plugin never output the names, only titles. The built-in tags output the titles for category1 and category2 now. ???

Offline

#23 2005-08-19 19:52:52

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

Re: upm_category_title

Yea I know, I want to go backwards and output names not titles so I can create my own links. I thought I could use your plugin and change the code a bit to suit my needs.

Offline

#24 2005-08-19 20:06:58

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

Re: upm_category_title

Oh I see. Unfortunately, I only just started using svn to manage my own development, so I don’t have previous versions anymore. :(

But, the good news is all you need is

<pre><code>function category1_name($atts)
{ return $thisarticle[‘category1’];
}

function category2_name($atts)
{ return $thisarticle[‘category2’];
}</code></pre>

I’ve been thinking about creating a plugin that allows users to create and use their own tags, but don’t want to create a whole plugin. I know I’d like use it myself, since if all you’re doing is a miniscule change, its not worth the effort of compiling it.

Offline

  1. Index
  2. » Archives
  3. » upm_category_title

Board footer

Powered by FluxBB