Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-08-19 06:38:22
- thijsma
- Member
- Registered: 2008-08-18
- Posts: 13
different Recent comments
the standard recent comments tag give’s the following generated html
<a href=“linkt_to_article”>name_poster (article_name)</a>
but i want to get the following html
name_poster on <a href=“linkt_to_article”>article_name</a>
anyone got an solution?
Offline
#2 2008-08-19 15:04:08
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: different Recent comments
Rework the standard recent comments tag (revise the function and rename it) to render the url as you would like, then include that function as a plugin.
Offline
Re: different Recent comments
Or grab a development copy of TXP (not recommended for live website). The upcoming 4.0.7 version adds container functionality to recent_comments, so you can style them anyway you want.
Offline
#4 2008-08-19 16:20:25
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: different Recent comments
Given that both the $thiscomment and $thisarticle arrays look available with this tag, a arrangement like what follows would be workable using both comment form and article form tags?
<txp:recent_comments>
<txp:comment_name />
<txp:comment_permlink>
<txp:title />
</txp:comment_permlink>
</txp:recent_comments>
Last edited by rsilletti (2008-08-19 16:21:26)
Offline
#5 2008-08-19 23:57:56
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: different Recent comments
thijsma, have you tried wyn_recent comments? Looks like it does much of what you want, see #9.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#6 2008-08-20 07:50:42
- thijsma
- Member
- Registered: 2008-08-18
- Posts: 13
Re: different Recent comments
thanks for the plugin.. its really helpfull and i can edit it to my wishes
Offline
Pages: 1