Textpattern CMS support forum

You are not logged in. Register | Login | Help

#191 2007-02-24 02:21:47

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

The likely explanation is simply that you haven’t tagged any articles yet – is that it?

Offline

#192 2007-02-24 12:54:43

molly
Member
From: Virginia
Registered: 2004-08-15
Posts: 44
Website

Re: tru_tags: A tagging plugin for textpattern

Well, that does sound like a boneheaded thing I would do, but I have tagged a few articles. Using the “Keywords” field.

Offline

#193 2007-02-26 03:38:40

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

Is this at your /tag/ url, or on your page where you’re making the call to the tag cloud? (tru_tags_list) If it’s your own call, what parameters are you using?

Also – can you give me a link to the site? (Feel free to email it to me – my email address is on my resume on my website.)

Offline

#194 2007-02-26 13:17:15

molly
Member
From: Virginia
Registered: 2004-08-15
Posts: 44
Website

Re: tru_tags: A tagging plugin for textpattern

Hi Nathan—

I’m concentrating on the page I’m making to call the tag cloud. The page is here. I’ll put the page in testing mode so you can see the errors.

I can send you a textpattern login or anything else you might need. Just let me know. I really appreciate your help with this!

Last edited by molly (2007-02-26 13:18:26)

Offline

#195 2007-02-26 14:03:57

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

If you’re willing to let me log in and poke around, just send credentials truist-temp-200702@truist.com. I should be able to figure it out quickly.

Offline

#196 2007-02-26 17:46:20

molly
Member
From: Virginia
Registered: 2004-08-15
Posts: 44
Website

Re: tru_tags: A tagging plugin for textpattern

Thanks Nathan. You’ve got mail!

Offline

#197 2007-03-04 18:50:59

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

molly – sorry for the long delay, but I’ve finally figured it out. (It took a couple of tries.)

The problem is that all of the sections that have tags are also marked as “not searchable” in the “Sections” tab, and tru_tags automatically ignores tags from any section that isn’t searchable. (I had forgotten about this feature, actually.) If you go to Presentation -> Sections and scroll down to the “links” section, and switch “Include in site search?” to “Yes”, the cloud will start working. When tru_tags filters out that section (and all the others), it ends up not finding any tags at all, and that causes the error.

If it’s really the case that you don’t want those sections to be searchable, it’s pretty easy to modify the plugin code to not exclude them. I could also include a flag in the next version to control that behavior. Let me know what you want to do. (Easiest is just to make those sections searchable.)

I’ve left your site as it was (so the cloud is still broken), with the exception that I installed rss_admin_db_manager, which is now turned off. For future reference, I found the problem (finally!) by setting your site to “Debugging” mode and looking at the source of the generated page to see the SQL that was being run. That’s where I saw that it was filtering out all the sections.

Please let me know if you need any more help :)

Offline

#198 2007-03-04 19:06:56

molly
Member
From: Virginia
Registered: 2004-08-15
Posts: 44
Website

Re: tru_tags: A tagging plugin for textpattern

Nathan,

THANK YOU!!! I would never have found this on my own.

We don’t even use the site search for this site, so no need to modify the code.

I very much appreciate your time and effort. I have asked the site owner to send a few bones your way. :)

Last edited by molly (2007-03-04 19:11:10)

Offline

#199 2007-03-04 19:31:58

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: tru_tags: A tagging plugin for textpattern

If it’s really the case that you don’t want those sections to be searchable, it’s pretty easy to modify the plugin code to not exclude them. I could also include a flag in the next version to control that behavior. Let me know what you want to do. (Easiest is just to make those sections searchable.)

Nice support, nice easter egg and a good idea (the flag).


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#200 2007-03-06 18:07:21

nicklas
Member
Registered: 2004-04-13
Posts: 12
Website

Re: tru_tags: A tagging plugin for textpattern

In the referrerlist I’ve started to get broken links from spiders that look like this:

domain.foo/tag/?t=tag

Which is really odd as I’ve used clean urls all the time and I have textpattern installed in a subfolder called “sv”.

Edit: found the problem. Had to edit line 355 to ‘/sv/’ instead of just ‘/’. It’s not elegant, but it works.

Last edited by nicklas (2007-03-06 19:29:58)

Offline

Board footer

Powered by FluxBB