Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
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.
Refresh Dallas and other Refreshing Cities.
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
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.
Refresh Dallas and other Refreshing Cities.
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