roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wladimir Boton" <wbo...@gmail.com>
Subject Re: Open comments of a post in a popup window
Date Wed, 05 Sep 2007 17:38:41 GMT
It worked. Thank you.

On 9/4/07, Dave <snoopdave@gmail.com> wrote:
>
> On 9/4/07, Wladimir Boton <wboton@gmail.com> wrote:
> > to be similar as getWeblogEntry() that already exists and change the
> Weblog
> > template adding the new method together with the original:
> >       ...
> >        #if ($model.permalink)
> >            #showWeblogEntryComments($model.weblogEntry)
> >            <hr>
> >            <h1>Isso chama a nova funcao</h1>
> >            #showWeblogEntryComments($model.weblogEntry("teste"))
> >            <hr>
> >            #showWeblogEntryCommentForm($model.weblogEntry)
> >         #end
>
>
> First, my mistake. You must add that method to the WebsiteData object
> not PageModel.
>
> And then, when you call it you must use the full method name:
>
>   $model.weblog.getWeblogEntry("teste")
>
> - Dave
>



-- 
Wladimir Boton
http://www.wboton.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message