Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-16 23:31:51

roryrory
New Member
Registered: 2006-10-11
Posts: 7

Comments do not work

Hi,

Hope i’m not repeating any question – i’ve just spent hours trawling through faqs, websites, google, and still cant find a clear way to set this up, what i can imagine to be a simple thing, seeing is thats what TP is for.

I have built a site in a hurry, and have to finish it in the next couple of days. I have integrated TP into it quite successfully, the only problem is that I can’t seem to get the commenting to work. When I click ‘preview’ it won’t do anything – let alone submit a comment!

to see what i mena go to the ‘blog’ page on the site – www.waymoby.co.uk/pregalates

could somebody point me in the direction of some steps to take to set this section up with comments that work?

thanks.
Rory

(Edit: modified thread subject. -Mary)

Last edited by Mary (2006-10-16 23:44:43)

Offline

#2 2006-10-17 00:06:47

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: Comments do not work

You’ve somehow disabled the preview form for comments. I would first suggest comparing the default set of forms to what you have now. You can find them here

Offline

#3 2006-10-17 00:26:21

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Comments do not work

First, I can’t even get at your comment form because of how you’ve setup your section “pregalates” page (for example). You’ll need to correct this so we can see what else is wrong. :) What are the contents of that page?

Offline

#4 2006-10-17 00:48:35

roryrory
New Member
Registered: 2006-10-11
Posts: 7

Re: Comments do not work

@1beb – thanks, I’ve been through all the default pages, that seemed to help the preview of work

@Mary –

First, I can’t even get at your comment form because of how you’ve setup your section

- This seems to be the main problem. I have corrected all the forms and now tried creating different combinations of tags in this section. But still i cannot get to the quotes form through the articles.

The page currently reads:-

<code> _ <p><!DOCTYPE html PUBLIC ”-//W3C//DTD XHTML 1.0 Transitional//EN”<br />
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”></p>

<p><html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=“en” lang=“en”><br />
<head><br />
<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”/><br />
<title><txp:page_title /></title></p>

<p><link rel=“stylesheet” href=”<txp:css />” type=”text/css” media=”screen” /></p>

<p><meta http-equiv=“refresh” content=“none”></p>

<p></head><br />
<body></p>

<p><div id=“wrapper”></p>

<p><div id=“header”></div><!—//header—></p>

<p><div id=“container”><br />
<div id=“content_background”><br />
<div id=“content_footer”></p>

<p><div id=“nav”></p>

<p><ul id=“menu”><br />
<li><a href=“index.php”>home</a></li><br />
<li><a href=“meet_your_instructor”>meet your instructor</a></li><br />
<li><a href=“dvd_content”>dvd content</a></li><br />
<li><a href=“faqs_blog” id=“active”>faqs & blog</a></li><br />
<li><a href=“testimonials”>testimonials</a></li><br />
<li><a href=“contact”>contact</a></li><br />
</ul></p>

<p><div id=“watch_the_palates_dvd” ><br />
<a href=“video_clip”></a><br />
</div></p>

<p></div><!—//nav—></p>

<p><div id=“content”></p>

<txp:article_custom form=“comments” category=“main-page” section=“blog” sortby=“Posted” sortdir=“desc” listform=“default” />

<txp:article_custom form=“lofi” sortby=“Posted” sortdir=“desc” excerpted=“y” />

<txp:article_custom form=“search_results” sortby=“Posted” sortdir=“desc” excerpted=“y” />

<txp:article_custom form=“Single” sortby=“Posted” sortdir=“desc” excerpted=“y” />

<p></div><!—//content—></p>

<p><div id=“extra_info”></p>

<p><div id=“buy_dvds”><br />
<form action=“https://www.paypal.com/cgi-bin/webscr” method=“post”><br />
<input type=“hidden” name=“cmd” value=”_s-xclick”><br />
<input type=“image” src=“http://www.waymoby.co.uk/pregalates/images/layout/pp_buttons/buy_now_lates_pp.jpg” border=“0” name=“submit” alt=“Make payments with PayPal – it’s fast, free and secure!”><br />
<input type=“hidden” name=“encrypted” value=”——<del>BEGIN PKCS7</del>—-<del>MIIHZwYJKoZIhvcNAQcEoIIHWDCCB1QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ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EkI0r6ZC7TANBgkqhkiG9w0BAQEFAASBgEQXSA99y+GvnpIlLMQTfSC7XjX5JdIzKSMQhDhNn8Flq/TH0goxiy4G7VN81EiUxmnkMTFdjHN4ApVa2KrHhs88VqcYi5Q7UoHqS6p3v7izKflqTjBiuBFqiRN29delhYb5FtBjiksdAt66IL9UCb6ge5aG2qPZKMigOVCgslQT</del>—-<del>END PKCS7</del>——”><br />
</form><br />
</div><!—//buy_dvds—></p>

<p><ul id=“menu”><br />
<li><a href=“faqs_blog#”>FAQ’s</a></li><br />
<li><a href=“blog” id=“active”>BLOG</a></li><br />
</ul></p>

<p><br />
<br />
<br />
<p><br />
<img src=“images/initial_content/1-pregnancy-palates.jpg”><br />
<img src=“images/initial_content/2-pregnancy-palates.jpg”><br />
<img src=“images/initial_content/4-pregnancy-palates.jpg”><br />
<img src=“images/initial_content/5-pregnancy-palates.jpg”><br />
<img src=“images/initial_content/7-pregnancy-palates.jpg”></p> </p>

<p></div><!—//extra_info—></p>

<p></div><!—//content_footer—><br />
</div><!—//content_background—><br />
</div><!—//container—></p>

<p><div id=“footer”>&copy; 2006 pregalates.com | <a href=“privacy-policy”>privacy policy</a></div><!—//footer—></p>

<p></div><!—//wrapper—></p>

<p></body><br />
</html></p>

_

</code>

thanks..?

Offline

#5 2006-10-17 01:24:53

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Comments do not work

Your page doesn’t have a <txp:article /> tag. FAQ.


Alex

Offline

#6 2006-10-17 01:27:32

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Comments do not work

Okay, you’re using article_custom, and in some very strange ways.

First, let’s start by removing those and putting in:
<txp:article form="Single" listform="default" />

Offline

#7 2006-10-17 10:10:48

roryrory
New Member
Registered: 2006-10-11
Posts: 7

Re: Comments do not work

hey, that kinda works

except that it’s showing the article(s) that I want to appear in the column, on the right!
it previews, but can’t submit anything?

at the moment I have that colum defined as a category – this shouldn’t be destiguished by a section for every page should it?

I tried this – <code><txp:article form=“Single” section=“blog” listform=“default” category=“main-page” /></code> – doesn’t work.

also… for some reason the comments form has a ‘forget’ tick box on a MAC, but it says ‘remember’ on a PC??

Last edited by roryrory (2006-10-17 17:34:47)

Offline

#8 2006-10-18 03:50:17

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Comments do not work

First, comments force you to preview once before you can submit, it is an anti-spam measure (click “Preview” and you’ll see the submit button appear).

Second, comments only work with the article tag, not article custom. Why are you pulling a category of your “blog” section’s articles onto your “pregalates” section page? are you certain that does what you’re wanting it to?

Thirdly, the forget/remember thing sets/unsets cookies. Chances are that on one of the two, you have or don’t have the right cookie set, so clearing all your cookies would make them both match again.

Offline

Board footer

Powered by FluxBB