[geeklog-devel] Creating new config options?

Aaron Blankstein blanks at mit.edu
Sun Sep 2 11:11:04 EDT 2007


With the version currently in CVS, you have to manually add SQL insert
statements to all of the appropriate files in sql/ (which is currently 4
files) - which is rather difficult, because most values are serialized and
there is a lot of duplication. I'm working on a version that uses a list of
add() functions stored in a file called 'config-install.php' in the
admin/install/ directory. That will be a lot easier to add settings to. This
should be in CVS hopefully late tonight or tomorrow.

-- Aaron

On 9/2/07, Dirk Haun <dirk at haun-online.de> wrote:
>
> Aaron (et al.),
>
> how would you go about creating new config options? I see there's some
> (terse) documentation about the configuration class in the wiki but it
> doesn't address the steps necessary to add new options.
>
> I see that the $_CONF['atom_max_stories'] is missing from the web GUI
> (no biggie, we added it rather late) and we need a few more in that
> area. But it's not exactly obvious what you have to do (including things
> like db upgrades).
>
> bye, Dirk
>
>
> --
> http://www.haun-online.de/
> http://geeklog.info/
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist8.pair.net/pipermail/geeklog-devel/attachments/20070902/97144188/attachment.html>


More information about the geeklog-devel mailing list