Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#577 2009-05-14 09:57:18
Re: tru_tags: A tagging plugin for textpattern
truist wrote:
anything that happens before the plugin is actually turned on, almost necessarily can’t have anything to do with the specifics of that plugin.
For now ;-)
Also, I had the problem with truncated code in smd_calendar. For some reason, even though it looks and loads fine from the template, when it’s packaged up for distribution the last few lines got chopped. It always seemed to work for me but others had problems. I had to cut out a few comments to make it fit :-( Again, it’s only temporary thanks to wet’s update. 4.0.9 is shaping up to be killer!
Last edited by Bloke (2009-05-14 09:57:54)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#578 2009-05-14 14:28:20
Re: tru_tags: A tagging plugin for textpattern
Success with uploading + installation.
tru_tags Nathan Arthur 3.5 Article tagging Ja 5
No idea why it worked this time but very thankful that it did.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#579 2009-05-15 00:03:52
Re: tru_tags: A tagging plugin for textpattern
Hi,
I’ve just installed your plugin and I’m having a bit of trouble with it and starting to give up.
I’ve got the tag cloud sitting in place and the tags are working from the articles and are also linking to the right page, but its not bringing up the right articles for the right tag words. Instead it’s bringing up all of my recent articles.
Any help will be much appreciated!
Heres the link to my website so you can see what I mean: WILDE MEDIA
regards
Christine
Last edited by WildeMedia (2009-05-15 00:04:33)
Offline
#580 2009-05-15 12:02:27
Re: tru_tags: A tagging plugin for textpattern
@WildeMedia I show you the basic handling how to get the right output. I am using a 3-step hierarchy of forms because I have a lot more of content on those pages
1st you need an if/else condition to determine a tag search in the tag section page template
<txp:tru_tags_if_tag_search>
<txp:output_form form="txp_tru_tags_if_tag_search_liste" />
<txp:else />
</txp:tru_tags_if_tag_search>
2nd In the form you need the output handler for the tag search result
<txp:tru_tags_handler form="waw_tagpost" sort="Posted desc" limit="100" />
3rd The article form to show the single articles as extract in a list
You may follow the classical TXP article form skeleton:
<txp:if_excerpt>
<txp:excerpt />
<txp:else />
<txp:body />
</txp:if_excerpt>
I hope this stripped down code example helps to understand the three steps
- Tag search Yes/No?
<txp:tru_tags_if_tag_search>
- Yes: Handle the tag search result list
<txp:tru_tags_handler ... />
- Use an article form to format the single articles in the list <txp:tru_tags_handler
form=""
… />
Last edited by merz1 (2009-05-15 12:08:58)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#581 2009-05-15 12:39:00
Re: tru_tags: A tagging plugin for textpattern
Thanks, Markus, as always :)
Offline
#582 2009-05-15 12:56:42
Re: tru_tags: A tagging plugin for textpattern
@Nathan You are welcome to use the 3-step procedure for the documentation or a tru_tags FAQ. Maybe the steps should also be included in the very 1st article.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#583 2009-05-25 21:09:25
Re: tru_tags: A tagging plugin for textpattern
@Nathan FYI: It looks like I found the critical maximum (for my shared hosting solution). My /tag page comes with no cloud output anymore :)
This code breaks the page:
<span style="text-transform:capitalize"><txp:tru_tags_cloud usereltag="1" showcounts="title" minpercent="80" maxpercent=200" /></span>
The pure <txp:tru_tags_cloud />
works fine.
<span style="text-transform:capitalize"><txp:tru_tags_cloud usereltag="1" showcounts="title" /></span>
Works too. It looks like minpercent="80" maxpercent=200"
breaks the page. Time to optimize the tru_tags source code :)
I am reducing to <span style="text-transform:capitalize"><txp:tru_tags_cloud usereltag="1" /></span>
and wait for the next border.
Edit: To be on the safe side CPU wise I also reduced the related tags
<p><span style="text-transform:capitalize"><txp:tru_tags_related_tags_from_search usereltag="1" sort="count" /></span></p>
Maybe minpercent="" maxpercent=""
uses to much CPU script time?
Edit II: I forgot abgout <txp:tru_tags_cloud texttransform="capitalize" usereltag="1" />
and changed my tag clouds now. In which tru_tags tags can texttransform="capitalize"
be used?
Last edited by merz1 (2009-05-25 21:39:46)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#584 2009-05-31 12:26:20
Re: tru_tags: A tagging plugin for textpattern
Hi, how can I get it so the tag links DONT have a trailing slash. so for example I want this: domain.com/tag/my-tag
instead of domain.com/tag/my-tag/
I have tried looking around in the PHP of the plugin, but find WAAAAY too many references to clean urls to fully understand how to edit this. Thanks.
~ Cameron
Offline
#585 2009-05-31 17:39:28
Re: tru_tags: A tagging plugin for textpattern
driz – check out the linkpath
and linkpathtail
attributes from tru_tags_cloud. Those attributes should let you do what you want, and they also work on tru_tags_from_article
.
Offline
#586 2009-06-01 12:33:02
Re: tru_tags: A tagging plugin for textpattern
Fixed it. Thanks.
EDIT: What would I use for the title of the tag so for example if I went here: http://domain.com/tag/my-tag
and I wanted the title of the page to be SITE NAME > TAG > MY-TAG what would be the syntax for this?
So I’d have: <txp:site_name /> - <txp:section /> - what would go here?
Last edited by driz (2009-06-01 16:49:31)
~ Cameron
Offline
#587 2009-06-01 21:14:10
Re: tru_tags: A tagging plugin for textpattern
You probably want tru_tags_tag_parameter
Offline
#588 2009-06-02 10:06:11
Re: tru_tags: A tagging plugin for textpattern
In the excerpts of related articles I see the full html entities, instead of the expected characters.
e.g. tag ‘kippenvel’
How can I fix it?
Offline