Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-01-19 03:01:47

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_keywords

I’m hosting through Textdrive, and the PHP version is 5.05.

Aha. I love how a PHP point release completely changes the language’s behavior, breaking heretofore legitimate code. 5.0.5 screwed up array_shift() and related functions. They reverted to the previous behavior sometime between then and 5.1.1, the PHP5 version I’m running that’s completely happy with my original plugin code.

Okay, one more try: v0.12 should take care of it.

Oh, I forgot to mention this last time: If you’ve used field="Keywords" in any tags, you’ll need to change it to field="keywords".

What would be neat is if the plugin could be enhanced to include a pop-up with all your previously used tags/keywords alphabetically listed, each one with a check box.

@shotoshi: Yep. That would be neat. Unfortunately, that would also be pretty far down on my todo list.

Last edited by takshaka (2006-01-19 03:06:18)

Offline

#14 2006-01-20 15:36:03

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

Re: [plugin] [ORPHAN] chh_keywords

Takshaka, I reckon you should move that to the very absolute top of your todo list, without delay :D

Offline

#15 2006-01-22 05:19:33

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_keywords

Clean URLs are now ready for public consumption.

Also, there are two new tags chh_keywords_name and chh_keywords_value which output the field name and keyword, respectively, of the current keyword query.

Offline

#16 2006-01-22 14:38:36

marknumberm
Member
From: Minneapolis
Registered: 2005-11-29
Posts: 46

Re: [plugin] [ORPHAN] chh_keywords

The two new tags are really useful. Thanks!

Offline

#17 2006-01-22 17:52:58

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_keywords

ashuvaev wrote:
Instead of localhost/2005/12/17/test-entry I receive localhost/1970/01/01/test-entry on query. What do I do not so?

Fixed now. You’ll need to update to chh_article_lib_1.02.txt.

I’m surprised this hasn’t come up before. I guess no one else is using date-based permlink mode.

Offline

#18 2006-02-17 13:09:53

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

Re: [plugin] [ORPHAN] chh_keywords

General Question:

Is it possible for this plugin to display a selection of the most popular article on the public side?

Say you had about 100 articles tagged in about 30 cities but only wanted to display a tag cloud
of the 5 or 10 most popular cities. Would this be possible?

I’m guessing the plugin makes a count of the articles tagged, otherwise it wouldn’t be able to
generate a tag cloud.

Thanks…

Offline

#19 2006-02-19 11:53:25

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

Re: [plugin] [ORPHAN] chh_keywords

um, any thoughts on this?

Offline

#20 2006-02-19 16:00:17

marknumberm
Member
From: Minneapolis
Registered: 2005-11-29
Posts: 46

Re: [plugin] [ORPHAN] chh_keywords

Is it possible for this plugin to display a selection of the most popular article on the public side?

The way it works out of the box, this would not be possible. But it might be possible to combine it with some other plug-ins and do that. I’m not sure. I suspect you’d be breaking new ground, so you might just have to figure it out for yourself. :)

Offline

#21 2006-02-19 17:37:28

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_keywords

Okay, version 0.21 now has a limit attribute for _list_all. Also fixed a silly bug with sortby="weight".

<txp:chh_keywords_list_all field="City" sortby="weight" limit="10" />

Offline

#22 2006-02-19 18:16:38

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

Re: [plugin] [ORPHAN] chh_keywords

Beautiful stuff, thanks!

Offline

#23 2006-02-20 15:49:41

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

Re: [plugin] [ORPHAN] chh_keywords

Hi Takshaka, I have some more silly questions ;-)

1. If you have keywords which are more than 1 word, such as ‘Romantic hideaways’ or ‘Itallian Lakes’, then how should this be entered in the custom filed to attain the space?

2. Also, if I have an item in a custom field called Region called ‘Midi-Pyrénées’ where the hyphen is part of the keyword, then how
should this be entered in the custom field to attain the hyphen?

I’m asking this because I am going through the whole blog re-categorising content into custom fields and then removing their sub-categories.

Thanks in advance….

Offline

Board footer

Powered by FluxBB