Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-27 18:48:35

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Preview with long articles

How can I make that after clicking on preview button, page with long text opens with the that comment shown, and not the beginning of the text?

I already saw this topic
http://forum.textpattern.com/viewtopic.php?id=23634
but that doesn’t help me becouse I dont use comments_display form.

Offline

#2 2007-12-27 19:15:54

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Preview with long articles

shouldn’t matter what form you’re using. just add the correct anchor link where your preview tags show up.

Offline

#3 2007-12-27 19:27:53

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: Preview with long articles

Uf, I am quite new to txp, can you explain a little bit more?

What anchor link do you have in mind? Do you mean <txp:comment_anchor /> ?

And what preview tags, do you mean <txp:comment_preview /> in comment form:

<fieldset>
<legend>Leave comments </legend>
<ol>
<li>
<label for=“name”> Name: </label>
<txp:comment_name_input />
</li>
<li>
<label for=“email”> Email: </label>
<txp:comment_email_input />
</li>
<li>
<label for=“message”> Comment: </label>
<txp:comment_message_input />
</li>
<li><txp:comment_preview /></li>
<li><txp:comment_submit /></li>
</ol>
</fieldset>

Offline

#4 2007-12-27 19:43:46

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

Re: Preview with long articles

iblastoff is meaning (X)HTML anchor #cpreview ie <a rel="anchor" id="cpreview"></a>

Cheers!

Offline

#5 2007-12-27 20:06:02

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: Preview with long articles

Thanks, I got it now :)

Offline

Board footer

Powered by FluxBB