[pLog-general] Templates get cached? + question about actions

Palantir palantir at email.it
Sun Jan 9 17:05:41 GMT 2005


Hello everybody :-) 
I am in doubt if this should go here or to the forum, however in the forum I 
see very little conversation about the development version, so I'll try 
here... 

Anyway:
today I checked out the latest svn snapshot, to make some experiments with the 
new plog, and to try and port my plugins to it (mainly the shoutbox and the 
currently addicted to).
My first problem is that it seems that the templates get somehow cached: if I 
make a change in a .template file, it is not applied until I delete the 
corresponding file in the tmp dir... I have found a setting in the admin area 
about caching templates, unfortunately it was already switched off... any 
other suggestions?

BTW, maybe you can help me with this: I was takng a look at all the other 
plugins in the svn, and it is not clear to me what is the use of deriving the 
plugin action from BlogAction, and how in the end do I call my plugin from 
the blog... 

In the hello world plugin, I find this:

// -------------------
// very simple example of an action that is registered by the plugin
// -------------------
class PluginHelloWorldAdminAction extends AdminAction
{

--- snip ---

// -------------------
// very simple example of an *admin* action that is registered by the plugin
// -------------------    
class PluginHelloWorldAction extends BlogAction
{

which confuses me a little :-) 

Thanks in advance, and thanks for the plog project :-)
Palantir

-- 
Palantir     === http://netpalantir.altervista.org
icq:57482808 ===     Jabber:palantir at njs.netlab.cz 
  Nightfall, quietly crept in and changed us all



More information about the pLog-general mailing list