Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-12-07 18:13:24
- stirman
- Member
- Registered: 2005-12-02
- Posts: 36
Edit Comment Preview Page
New to txp, and I botched up the comment preview page pretty good, but don’t see any preview forms to edit.
You’ll see what I mean here:
http://www.aquestionablefaith.com/
Any help is much appreciated!
Thanks,
stirman
www.stirman.net
Offline
#2 2005-12-07 18:21:30
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Edit Comment Preview Page
Go into the admin prefs, and look at the comments section. Turn off auto-append.
Offline
#3 2005-12-07 18:29:14
- stirman
- Member
- Registered: 2005-12-02
- Posts: 36
Re: Edit Comment Preview Page
Thanks, but auto-append IS set to off…?? any other ideas?
Thanks for the reply, I appreciate it.
-stirman
Offline
Re: Edit Comment Preview Page
With “Auto append” off the comments_display form template is no longer used. You need to have a look in there to get an idea of how to set up your comments outside of “Auto append”. It contains all the tags you should need however there is a new one – <code><txp:if_comments_preview></code> – which you may find useful. I have “Auto append” on but here is how my comments_display form looks:-
<code>
<txp:if_comments_preview>
<txp:comments_preview form=“comments_preview” />
<txp:comments_form preview=“1” />
<txp:else />
<txp:if_comments>
<h3 id=“comment”><txp:comments_count /> Comments for <txp:title /></h3>
</txp:if_comments>
<txp:comments />
<txp:if_comments_allowed>
<txp:comments_form />
</txp:if_comments_allowed>
</txp:if_comments_preview></code>
<br />
You may find some parts of that useful. I do use a separate “comments_preview” form template to display my comment in preview mode so don’t bother with the form attribute if you want to use the same form.
Last edited by thebombsite (2005-12-07 18:51:36)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#5 2005-12-07 18:57:22
- stirman
- Member
- Registered: 2005-12-02
- Posts: 36
Re: Edit Comment Preview Page
Ahh, I guess a new form is in order for me… I didn’t even see that I could create a new form. My apologies.
On more quicky to keep me busy, can I remove the comment count on the comment invite? I don’t care for it and would prefer to not display it, possible?
Thanks again, ya’ll have been very helpful.
-stirman
Offline
Re: Edit Comment Preview Page
Yes you can – <code><txp:comments_invite showcount=“0” /></code>. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#7 2005-12-07 22:25:42
- stirman
- Member
- Registered: 2005-12-02
- Posts: 36
Re: Edit Comment Preview Page
Heh, I’ve made a mess of this:
http://www.aquestionablefaith.com/
I tried the things you said but they seemed to make everying worse! I don’t fully understand the process here, so I know it’s my doing dumb things… but I still don’t know if I can edit the comments preview page, it’s so messsed up. The comment being previewed is at the top of the page (instead of next on the list) and the whole page layout blows up!
Anyways, I am going to keep reading and trying to learn txt better, but if you see anything on that site that you think could be a quick fix to my commenting system, please let me know!!!
Thanks again…
-stirman
Offline
#8 2005-12-07 22:30:23
- stirman
- Member
- Registered: 2005-12-02
- Posts: 36
Re: Edit Comment Preview Page
Honestly, I would like to do away with the preview deal and just have a submit button, fully understanding that I will have to manually combat spam… BUT, that seems to be a hotly debated topic around here and I don’t wanna get anyone mad at the new guy!
-stirman
Offline
Re: Edit Comment Preview Page
There’s a thread around here somewhere for removing the preview button.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Pages: 1