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 <[email protected]> wrote: > On Fri, Aug 10, 2012 at 11:10 AM, Sarwar Bhuiyan > <[email protected]> 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 >
