Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-24 06:43:04

kjmatthews
New Member
Registered: 2007-01-05
Posts: 3

Comment invite on archive page not appearing

I really have no idea why this is happening. If you visit my site, you can see that before each article excerpt it lists the number of comments, then “««»»” followed by the comment invitation or, if comments are not allowed, the text “Comments not allowed.”

If you click to read the full text of any of those articles, though, the comments line only gets up to “««»»”. The form used for the home page is IDENTICAL to the form used for the archives with the exception of using <txp:excerpt /> (with some conditional comments) instead of <txp:body />. The formatting of the comments is exactly the same. Is there a reason why this comment invitation won’t show up there where I want it to?

Any help would be greatly appreciated. Many thanks!

Edit: Meant to include this. This is the form I’m using in its entirety:

<div class=“entry”>

<div class =“info-container”>
<label class=“info-label”>Title</label>
<h2 class=“info-data”><txp:permlink><txp:title /></txp:permlink></h2>
</div> <!—info-container—>

<div class =“info-container”>
<label class=“info-label”>Published</label>
<span class=“info-data”><txp:posted /> by <txp:author this_section=“0” />
</span>
</div> <!—info-container—>

<div class =“info-container”>
<span class=“info-label”>Tags</span>
<span class=“info-data”><txp:tru_tags_if_has_tags> <txp:tru_tags_from_article />
<txp:else />(no tags assigned)</txp:tru_tags_if_has_tags>&nbsp;
<txp:chh_if_data><txp:category2 link=“2” /></txp:chh_if_data>
</span>
</div> <!—info-container—>

<div class=“info-container”>
<span class=“info-label”>Comments</span>
<span class=“info-data”>
<txp:if_comments_allowed> <txp:comments_count /> comment(s)</span> &#0171;&#0171;&#0187;&#0187; <txp:comments_invite wraptag=“span” />
<txp:else /> Comments not allowed</span>
</txp:if_comments_allowed>
</div> <!—info-container—>

<txp:body />

<txp:comments_invite wraptag=“p” />
</div> <!—entry—>

Last edited by kjmatthews (2007-02-24 06:45:06)

Offline

#2 2007-02-24 12:38:37

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

Re: Comment invite on archive page not appearing

There is an attribute for that tag you should be using in order to have that. :)

Offline

#3 2007-02-24 14:23:33

kjmatthews
New Member
Registered: 2007-01-05
Posts: 3

Re: Comment invite on archive page not appearing

How silly of me. Thank you!

Offline

Board footer

Powered by FluxBB