roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Raible <m...@raibledesigns.com>
Subject Re: Reading Cookies
Date Thu, 16 Jan 2014 21:09:47 GMT
I'm finally getting around to trying to implement reading cookies in my
templates. But the above link doesn't work. Got a new one?


On Fri, Aug 10, 2012 at 10:37 AM, Dave <snoopdave@gmail.com> wrote:

> On Fri, Aug 10, 2012 at 11:10 AM, Sarwar Bhuiyan
> <sarwar.bhuiyan@gmail.com> wrote:
> > Something like this
> >
> http://www.jajakarta.org/velocity/tools/velocity-tools-1.1/docs/view/CookieTool.html
>
> I don't think that will work since we setup Velocity internally within
> our own Servlets.
>
> I think the only way to do this without code changes to Roller is to
> add your own Page Model plugin. In that plugin, you would get the
> cookies and return them via a getter. There is an example of a page
> model plugin here:
>
>
> http://svn.apache.org/repos/asf/roller/trunk/weblogger-docs/examples/plugins/pluginmodel/
>
> - Dave
>

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