I am trying to add a simple select statment to my plugin's config, I looked at the code for serendipity_plugin_eventwrapper and, after sorting out what went into the array, copied it's way of adding a select.
I note in the get_config() method there is a parameter for default value. How does this work? If I want a default value of 30 do I just pass is like get_config('my_config', 30)?
I would really like to be able to code the default values in like that.
I am also interested in what types I can put in ...
Alright, I managed to write a functioning plugin from scratch. I works on my site at the moment with one slight hack ... I have a group of icons I want to bundle with the code, however I am not sure how to call them from within the plugins directory (at the moment I have put a copy of the icons in ...
When you did the initial install do you remeber what you named the DB in the creation scripts? (I called mine "blog") <P> I am using postgres so I have the CLI tool dropdb which I can use to drop the database. You should be able to find the name of the database in the administration section of ...
I have seen some serendipity powered blogs with polls on them, is there are plugin for this that is not widely available? or is this a featured implimented by the blog owners themselves?