Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-08-08 19:49:51
- buddhastyle
- New Member
- Registered: 2006-08-04
- Posts: 9
Anchor Tags?
Is there a way to customize the code so that an anchor tag (<a name=“here”>)is inserted right before the reader’s comments (manually or with every created article)?
The reason I ask is because I want to pull the user comments into a website via an inline frame. However, I don’t want the article content ot pull into the frame I am creating (just the comments). So, I am thinking that if I can use an anchor tag, then I can just call that section of the page into my inline frame.
Anyone know how/if this can be done?
Offline
#2 2006-08-08 22:21:53
- NyteOwl
- Member

- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: Anchor Tags?
I have added an anchor so I can jump to the start of comments. The following is the top part of my comments_display form:
<code>
<txp:if_comments_preview>
<h3>Comments Preview</h3>
<txp:else />
<a id=“comment”></a>
<h3>Comments</h3>
</txp:if_comments_preview>
</code>
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
#3 2006-08-08 23:46:09
- buddhastyle
- New Member
- Registered: 2006-08-04
- Posts: 9
Re: Anchor Tags?
Thank you. that solved that problem (only a couple more to go :-)
Last edited by buddhastyle (2006-08-08 23:46:25)
Offline
Pages: 1