Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
Re: [plugin] [ORPHAN] chh_keywords
ashuvaev wrote:
Instead oflocalhost/2005/12/17/test-entryI receivelocalhost/1970/01/01/test-entryon 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
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
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
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
Re: [plugin] [ORPHAN] chh_keywords
Beautiful stuff, thanks!
Offline
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
Re: [plugin] [ORPHAN] chh_keywords
The only special character is the comma, which is used to separate keywords — or keyword phrases as the case may be. Everything else should work as-is. “Romantic hideaways” and “Midi-Pyrénées” are perfectly acceptable.
Offline
Re: [plugin] [ORPHAN] chh_keywords
Excellent! Thanks.
I thought I’d have to join words with a + in order to recreate the space.
Offline
Re: [plugin] [ORPHAN] chh_keywords
Takshaka, just about to start implementing your plugin for my project and have some further questions, if that’s OK?
1. Say I didn’t want to necessarily use tag clouds but a list with the article count in parenthesis, would this be possible?
2. If it is possible then what impact would it have on the overall performance of TXP?
3. Is there any way to output lists as drop downs?
I’m asking these questions because I want to ‘consider’ moving away from using TXP’s categories, as they
are a real bind and your plugin offers more flexiblility.
I would love to see TXP do away completely with categories in preference to a del.icio.us style
format, and usability, of tagging.
Last edited by shotoshi (2006-03-03 08:56:13)
Offline
Re: [plugin] [ORPHAN] chh_keywords
Takshaka, I have tried contacting you a couple of times but no reply, I hope all is OK.
Anyway, I have implemented your plugin on my site and will rely on it instead of TXP’s native categories, mainly cos of the
nature of my content.
Upon my suggestion, you updated your plugin to accommodate a limit in display all keywords. I’ve implemented it to display 5
and it works fine but what I meant originally was to limit to the ‘most popular’ i.e. keywords with the most articles.
To achieve this, I guess it would have to calculate the amount of articles containing certain keywords and order them.
I wonder if it would be at all possible to commission you to update the plugin for this purpose? Personally, I think it would be a
useful feature.
Offline
Re: [plugin] [ORPHAN] chh_keywords
This is becoming a very lonely place ;-)
I’ve just implemented this plugin and was going great guns until I hit upon a baffling (for me)
problem and was wondering if anyone has had the same.
This is what I have in order to ouput a list of keywords called “country”:
<code>
<txp:chh_keywords_list_all field=“country” section=“countries” weightclass=“module_content” id=“sidebar_tags” break=”, “ sortdir=“asc”/>
</code>
<p>
I have a section set up called countries with the appropriate tag to generate the results but nothing appears in my sidebar where this form is placed.
However, when I remove section=“countries” the list appears in the sidebar. Am I doing something wrong?
Any advice would be deeply appreciated, thanks.
Offline
#29 2006-05-01 10:43:30
- Logoleptic
- Plugin Author

- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] chh_keywords
Can anyone tell me if it’s possible to escape commas with a backslash, thus allowing them to appear as just another part of a keyphrase?
Also, is this plugin able to output keyword lists without turning the keywords into links?
Thanks in advance for the help.
Offline