Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-10-05 16:19:12

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

comments doesn't work for me((

Guys, i dont wanna look like a stupid, and i use comment system first time, and i cant configure it!!
in my article form i call a <txp:comments_form />

in default form “comment_form” i put my code

<div class="textfield">
                                 <input name="name" type="text" class="text_field" value="Name" />
                                </div>
                                <div class="textfield">
                                 <input name="name" type="text" class="text_field" value="E-Mail" />
                                </div>
                                <div class="area">
                                  <textarea name="textarea">
                                  </textarea>
                                </div>
                                <a class="knopa4" href="#" title="">add message</a>
                           </div>

i replaced text fieds with <div class="text_field"><txp:comment_name_input /></div> and etc,

but all html not work properly, and i cant add comments, because button doesnt work… i turned on comments in setting.

there is some good tutor ?
thanks!


<txp:txp_me />

Offline

#2 2010-10-05 16:52:22

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: comments doesn't work for me((

You need to use the correct tags Ziya – <txp:comments_preview /> and <txp:comment_submit /> for the buttons. In fact you can find all the form tags here.

Last edited by thebombsite (2010-10-05 16:54:02)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2010-10-06 06:06:48

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: comments doesn't work for me((

Struart, i know about this tags, but buttons are inactive and my form doesnt work properly(


<txp:txp_me />

Offline

#4 2010-10-06 22:44:44

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: comments doesn't work for me((

If you are only using the <txp:comment_submit /> button you will have problems. The comment system relies on being able to “preview” the comment before the “submit” button becomes active.

I think you need to post the full comment_form code here Ziya so that we can see what you are working with. You can use bc. or bc.. to display code blocks properly here, or if it is just a short piece of code you can wrap it with @ tags.

Last edited by thebombsite (2010-10-06 22:48:12)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB