Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Plugin Request: 'If Comments open'
Yep thats done the job! Thanks again!
Cheers,
Jon VC#9
Offline
#14 2004-10-27 15:26:51
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: Plugin Request: 'If Comments open'
how about adding if_comments_closed as well ?
Offline
Re: Plugin Request: 'If Comments open'
jon
was it the new test version or did it helped to update txplib_db.php
compooter
good idea, i try to work that in aswell
Johan Nilsson
Offline
Re: Plugin Request: 'If Comments open'
It was the new test version
Cheers,
Jon VC#9
Offline
Re: Plugin Request: 'If Comments open'
ahh great, the test version is no longer a test version then :)
ive added if_comments_closed and the version is now 0.4 and you can get it here
Johan Nilsson
Offline
Re: Plugin Request: 'If Comments open'
Superb! Thanks so much for spending your time on this!
Cheers,
Jon VC#9
Offline
Re: Plugin Request: 'If Comments open'
No problem what else is there to do when you are unemployed :)
Johan Nilsson
Offline
Re: Plugin Request: 'If Comments open'
Bumpity-bump after 7 months, sorry – but I can’t get glx_if_comments_open to work with RC3? Has anyone managed to, or had any similar problems?
Offline
Re: Plugin Request: 'If Comments open'
hey, im running it on my own site with rc3 with now problems, but i know alicson had some problems with my comment conditionals, but i havent had time too look into it any further…
Johan Nilsson
Offline
Re: Plugin Request: 'If Comments open'
Hmm – maybe I’m doing something wrong then?
My page template looks like this:
< txp:if_article_list>
< h1>Article Archive< /h1>
< txp:rss_suparchive section=“article” />
< /txp:if_article_list>
< txp:if_individual_article>
< txp:article form=“Single” />
< txp:if_comments_enabled>
< h2>Live preview:< /h2>
…
< /txp:if_comments_enabled>
< /txp:if_individual_article>
Can I nest them like that – is that what is causing the error?
Last edited by Buddy Bradley (2005-05-01 16:42:25)
Offline
Re: Plugin Request: 'If Comments open'
yess, you could use nested tags, but you must use the if comment open and closed in a article form, atleast i think soo, and it should be glx_if_comments_open not if_comments_enable
Johan Nilsson
Offline