Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2015-02-18 10:21:51

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Can't fix comment error message

OK, forgot the part I mentioned with the line number – there’s a bogus tag somewhere in your page construct(s), and the line number may not correspond with the template exactly.

With that in mind, we should take a look at your page templates and play Spot The Bogus Tag. You’re running the latest version, so it’s most likely a typo or other flub rather than a genuine tag that has been introduced ahead of your Textpattern version.

Can you post your popup_comments form here to get us started, please? Thanks.

Offline

#14 2015-02-18 18:01:50

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

Alrighty-o. And ahead of time, THANKS for all your help. Comments would be cool to have but if I can’t make them work, its not the end of the world. I do like the help, its allowing me to be brave enough to screw up a whole new bunch of things on my own that I wouldn’t have even attempted.

Here’s whats under “Popup_comments”

<!DOCTYPE html>
<html lang="<txp:lang />">

<head>
  <meta charset="utf-8">

  <title><txp:page_title /></title>
  <meta name="generator" content="Textpattern CMS">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="robots" content="noindex, follow, noodp, noydir">

  <!-- CSS -->
  <!-- Google font API (remove this if you intend to use the theme in a project without internet access) -->
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:n4,i4,n7,i7|Cousine">

  <txp:css format="link" media="" />
  <!-- ...or you can use (faster) external CSS files eg. <link rel="stylesheet" href="<txp:site_url />css/default.css"> -->

  <!-- HTML5/Media Queries support for IE < 9 (you can remove this section and the corresponding 'js' directory files if you don't intend to support IE < 9) -->
  <!--[if lt IE 9]>
    <script src="<txp:site_url />js/html5shiv.js"></script>
    <script src="<txp:site_url />js/css3-mediaqueries.js"></script>
  <![endif]-->

</head>

<body id="popup-page">

  <div class="wrapper">
    <div class="container">

      <!-- this form is only used if you set 'Comments mode' to 'popup' format in preferences -->
      <txp:popup_comments />

    </div> <!-- /.container -->
  </div> <!-- /.wrapper -->

</body>
</html>

Moderator’s annotation:
Edited to add Textile’s bc.. for better readability.
– Uli –

Last edited by uli (2015-02-18 18:50:47)

Offline

#15 2015-02-18 18:53:17

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Can't fix comment error message

Isn’t that simply the good old page doesn't contain an article tag warning in different clothings which could be silenced by setting the site to live mode in Preferences > Basic?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#16 2015-02-18 18:56:40

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

Site is set to live mode already. Just checked.

Offline

#17 2015-02-18 19:02:39

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

HOLY SHISTER. I fixed it! NO ERROR THINGY. I’m sure its something you guys said, but OMG. ITS WORKING. WHUT??

Offline

#18 2015-02-18 19:04:05

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

although. can’t see the comment now..

Offline

#19 2015-02-18 19:07:18

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

dang. thought I had something there for a minute.

Offline

#20 2015-02-18 21:07:38

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Can't fix comment error message

Something’s up because live mode should stop just about all Textpattern-related messages like that appearing.

Is the comment in the moderation queue? Admin -> Content -> Comments.

Offline

#21 2015-02-18 21:10:43

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Can't fix comment error message

I just left a test comment on your site, and it’s not displaying the comment body, so your comments form is likely missing a <txp:comment_message /> tag, hence it not showing. The commenter name is appearing, though.

Offline

#22 2015-02-18 22:36:44

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

GREAT GOOGLY MOOGLY. I think I got it. Displays where and when I want it. WOW. You guys are dah best. THANKS.

Offline

#23 2015-02-18 22:37:44

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

YES. SUCCESS!!!! Must bask in glory of success now.

Offline

#24 2015-02-18 22:59:54

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

One last question (i’m currently fiddling to see if I can make it happen). I am trying to list the articles comments to itself underneath instead of recent comments. Is that possible? To have the comments made for that particular article listed underneath. Just wondering.

Offline

Board footer

Powered by FluxBB