Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-07 19:26:19

HBassignani
New Member
Registered: 2007-08-06
Posts: 4

Can't get rid of Comments, Prev, Next

I deleted what I thought was the source of the COMMENTS and the two links at the bottom of my page, but they are still there. I am using rss_suparchive on the page, and it’s own page template. I’ve literally got nothing in the content part of the code, but still, those links and the word COMMENTS won’t go away… Any ideas? Here’s a link: http://www.ryanwhitney.com/TP/archives/4/archives Here’s the code for both:

ARTICLE CONTENT:
<br />
<txp:rss_suparchive section=“archives” addbreak=“1” />

PAGE TEMPLATE:
<div id=“wrap”><div id=“content”><br /> <br /></div><!— end #content —>
<div id=“sidebar”><br /> <br /> <ul id=“nav”>
<li<txp:if_section name=”,”> id=“on”</txp:if_section>><a href=“http://www.ryanwhitney.com/TP/” title=“Home”>Blog Home</a></li> <br /> <br />
<li<txp:if_section name=“archives”> id=“on”</txp:if_section>><a href=“http://www.ryanwhitney.com/TP/archives/4/archives” title=“Archives”>Archives</a></li>
</ul><!— end #nav —>
<txp:category_list break=“li” label=“Categories” labeltag=“h3” this_section=“0” type=“article” wraptag=“ul” />
<txp:linklist break=“li” label=“Links” labeltag=“h3” sort=“linksort asc” wraptag=“ul” />
</div><!— end #sidebar —> </div><!— end #wrap —>

Offline

#2 2007-08-08 03:40:00

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Can't get rid of Comments, Prev, Next

On Textpattern’s Prefs:
TXP / Preferences / Comments / Automatically append comments to articles? – > No

Another thing. That code what you wrote there, is quite useless, because it does not contain any code from form that output articles and comments. Even tagtrace would be usefullier. If you want you can also delete code from form called comment_display

Cheers!

Last edited by Gocom (2007-08-08 03:40:54)

Offline

#3 2007-08-08 14:47:15

HBassignani
New Member
Registered: 2007-08-06
Posts: 4

Re: Can't get rid of Comments, Prev, Next

Thank you Jukka. Deleting Comments from the comment_display form did the trick. I am just learning how everything works.

Offline

#4 2007-08-16 07:46:24

swati.miniyar
Member
Registered: 2007-08-06
Posts: 39

Re: Can't get rid of Comments, Prev, Next

how to use tagtrace?

Offline

#5 2007-08-16 14:50:37

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Can't get rid of Comments, Prev, Next

  1. TXP / Admin / Preferences
  2. Set Production Status to Debugging
  3. Load the problem page in your browser
  4. View the HTML source (Ctrl-U in many browsers)
  5. Scroll towards the bottom, and look for the heading “txp tag trace:”, inside a block of HTML comments

Offline

Board footer

Powered by FluxBB