Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2006-03-18 01:53:35
- Ji31
- Member
- Registered: 2005-08-24
- Posts: 103
Re: [plugin] [ORPHAN] ajw_if_comment_owner
I can’t make it ready!
Even if I past the default
txp:ajw_if_comment_owner name=“foo,bar”
YES!
else /
NO!
/txp:if_comment_owner
and post the comment as “foo”, it’s still writing NO!
Offline
Re: [plugin] [ORPHAN] ajw_if_comment_owner
you should put txp:ajw_if_comment_owner in the closing tag. i think you missed the ajw.
for the else-tag you should not use txp:else. this plugin works with else /
Offline
#27 2006-03-18 08:33:18
- Ji31
- Member
- Registered: 2005-08-24
- Posts: 103
Re: [plugin] [ORPHAN] ajw_if_comment_owner
Oh tahnx!!!!!!
But it is the mystake in the plugin’s documentation!
I have just copied it from plugin’s help.
But thanx a lot!!!!
Offline
Re: [plugin] [ORPHAN] ajw_if_comment_owner
Documentations are written by humans!
Nevertheless, this is a great plugin!
Offline
#29 2006-03-18 09:47:03
- Ji31
- Member
- Registered: 2005-08-24
- Posts: 103
Offline
Re: [plugin] [ORPHAN] ajw_if_comment_owner
Great plugin.
But… It is possible to check whether author comments is also an article’s author? In our blog ovsem.net is 6 authors and I would like to differentiate author comments form article author comments.
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
Re: [plugin] [ORPHAN] ajw_if_comment_owner
In case you don’t know How to use it:
Edit the form: comments (NOT comments_form)
<txp:ajw_if_comment_owner name="YOURNAME" email="YU@EMAIL" web="YOURWEB.COM" strict="1"> <div class="STYLE-FOR-OWNER"> <txp:comment_message /> <p class="">— <txp:comment_name /> · <txp:comment_time /> · <txp:comment_permlink>#</txp:comment_permlink></p> </div> <else /> <div class="STYLE-FOR-GUESTs"> <txp:comment_message /> <p class="">— <txp:comment_name /> · <txp:comment_time /> · <txp:comment_permlink>#</txp:comment_permlink></p> </div> </txp:ajw_if_comment_owner>
That’s all.
Regards
Last edited by robhert (2008-04-08 18:11:50)
Offline