Main Development Blog
Development Update
Extended SysInfo in .8
Global template & plugin overrides and the config directory
Since the introduction of pnRender in .750 a couple of often requested feature have stood out. The first being tobe albe to override a template for all themes without editing the existing base template. The seconed is to provde a location for globally available plugins without using the pnRender plugins directory. Without these features upgrades are more work than is necessary.
Recently commited to CVS has been the solution to these problems....
A new directory has been created off the PostNuke root directory. This directory, config/, holds config.php (and config-old.php) removing two further files from the PN root but also gives us a location for global template and plugin overrides. Global template overrides are held in config/templates/<module> and globally available plugins are held in config/plugins.
Debug: some hints
Here are some hints to simplify this.
New short URL scheme
This morning i've committed the first draft of our new short urls system to CVS. The system, based on the really good work of Martin Andersen, adds a directory based url naming system directly into the core (via pnModURL). Unlike the previous system this doesn't rely on complex regex's, output filters and .htaccess files to perform it's work.
The basics of the scheme are a module in referenced using http://www.example.com/index.php/module/, a specific function is referenced using http://www.example.com/index.php/module/function and custom arguments are referenced using http://www.example.com/index.php/module/function/param1:value1 etc.






