[pLog-svn] plugins process method

Oscar Renalias oscar at renalias.net
Tue Jun 12 02:41:35 EDT 2007


EVENT_PROCESS_BLOG_TEMPLATE_OUTPUT is generated right after Smarty has
compiled the template and before the HTML content is sent back to the
browser.

This is exactly what it says here:

http://wiki.lifetype.net/index.php/List_of_Events#Template_Management_Events

On 6/12/07, Ahmad Saleh <ahmadfds at gmail.com> wrote:
> I mean that when any blog page viewed ,this event will be fired
> (EVENT_PROCESS_BLOG_TEMPLATE_OUTPUT).
> (process) function in the plugin that registered in this notification will
> handle this event
> the problem here that this blog template will be compiled before executing
> process function, so when I make any change ( in database as example) in
> process function that must be shown in this blog page it will not be appear,
>  until refreshing the page.
>
> Regards,
>     Ahmad
>
>
>
> On 6/12/07, Oscar Renalias < oscar at renalias.net > wrote:
> > Sorry, I don't think I understand the question...
> >
> > On 11 Jun 2007, at 12:24, Ahmad Saleh wrote:
> >
> > > does plugins smarty template compiled before executing process
> > > method in plugins?
> > > when i wrote getHtmlPoll in my plugin it's execute before adding
> > > vote which will execute in process method,
> > > now I will rewrite addvote action to process this,
> > > any suggestion?
> > >
> > > Regards,
> > >    Ahmad
> > > _______________________________________________
> > > pLog-svn mailing list
> > > pLog-svn at devel.lifetype.net
> > > http://limedaley.com/mailman/listinfo/plog-svn
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
> >
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list