[pLog-svn] Smarty caching problem

Jon Daley plogworld at jon.limedaley.com
Sun Jan 29 23:44:52 GMT 2006


 	Yes, that is what I was talking about.  The problem occurs with 
using any lifetype class inside the dynamic block, which is what you have 
to do in order to get a lifetpe plugin.  The plugins I have looked at 
porting, are the authentication and google plugins, both currently sitting 
in the unported folder in subversion.

  On Sun, 29 Jan 2006, Christoph Feddersen wrote:
> Jon, is more what you thought of?
> panel.template (used kubrick)
> added at the very bottom:
> Test
>
> {include file="$blogtemplate/show2.template" }
>
> added new template to the template directory:
> show2.template
> ==============
> I'm template "show2.template" <br />
>
> Page created: {"0"|date_format:"%D %H:%M:%S"}
> <br />
> {dynamic}
>
> Now is: {"0"|date_format:"%D %H:%M:%S"} <br />
>
> ... do other stuff ...
>
> {/dynamic}
>
> ===================
>
> Works for me using PHP 4.x. To get in working with PHP 5.1.x the
> lifetype's smarty classes needs to be updated.
>
> Or does the problem only occur when using {dynamic} within a plugin
> template? If so, can you tell me which of the existing plugins use
> templates on the frontend? The ones I've reviewed so far only use
> templates on the backend.
>
>
> Jon Daley wrote:
>> On Sun, 29 Jan 2006, Christoph Feddersen wrote:
>>>> Can you put {dynamic} in your template code and put
>>>> something that prints out the date inside, and see if it changes?
>>>
>>> I'm not sure if my test case can be used for plugins also, but here's my
>>> code.
>>
>>     I just meant in regular lifetype templates, not any fancy php
>> stuff.  I believe that way still works fine.
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

**************************************
Jon Daley
http://jon.limedaley.com/

I never think of the future.  It comes soon enough.
-- Albert Einstein


More information about the pLog-svn mailing list