I meant:
#if($model.weblogEntry.commentForm)

...but forget it, it was just my imagination.



On 9/20/07, Raúl Fuenzalida <[EMAIL PROTECTED]> wrote:
> may be #if($model.weblogEntry.comment) ? ... I don't know... 8\
>
>
> use Javascript!!:
>
> #if ($model.permalink)
>        #showWeblogEntryComments($model.weblogEntry)
>
> <p>
>      <a href="javascript: getElementById('lfkajsd').style.display =
> 'block');">To write a comment click here:</a>
> <p>
> <div style="display: none;" id="lfkajsd">
>      #showWeblogEntryCommentForm($model.weblogEntry)
> </div>
>
> #end
>
>
>
> On 9/20/07, Jeff O'Donnell <[EMAIL PROTECTED]> wrote:
> > Here is some more information on this that might help.
> >
> > Showing the comment form seems to be happening here in my template:
> >
> > #if ($model.permalink)
> >         #showWeblogEntryComments($model.weblogEntry)
> >       #showWeblogEntryCommentForm($model.weblogEntry)
> > #end
> >
> >
> > I can't just remove #showWeblogEntryCommentForm($model.weblogEntry) here
> > because I need it to show up if a user selects the Comments link in the
> > blog entry.
> >
> > How can I modify this condition so that it shows the Comments and
> > Comment Form if the Comments link is selected and it shows the Comments,
> > but not the Comment Form if the Read More link is selected?
> >
> > -Jeff
> >
> > -----Original Message-----
> > From: Jeff O'Donnell [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 20, 2007 11:09 AM
> > To: [email protected]
> > Subject: How to prevent comment form from popping up when Read More link
> > is selected
> >
> > Hi All,
> >
> > If I create a summary for a blog entry, therefore creating a Read More
> > link in the blog, the comment entry form always pops up as well when you
> > click on the Read More link.
> >
> > Does anyone know how I can prevent this from occuring?
> >
> > I'm on Windows XP and running Roller 3.1 with Tomcat and MySQL.
> >
> > - Jeff
> >
> > Notice:  This email message, together with any attachments, may contain
> > information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> > entities,  that may be confidential,  proprietary,  copyrighted  and/or
> > legally privileged, and is intended solely for the use of the individual
> > or entity named in this message. If you are not the intended recipient,
> > and have received this message in error, please immediately return this
> > by email and then delete it.
> >
> > Notice:  This email message, together with any attachments, may contain 
> > information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
> > entities,  that may be confidential,  proprietary,  copyrighted  and/or 
> > legally privileged, and is intended solely for the use of the individual or 
> > entity named in this message. If you are not the intended recipient, and 
> > have received this message in error, please immediately return this by 
> > email and then delete it.
> >
>
>
> --
> http://www.transitorio.cl/
>


-- 
http://www.transitorio.cl/

Reply via email to