Onpub 1.2.3 Released

A new version of Onpub has been released. It can be downloaded directly from our home page.

This new version introduces many improvements to how custom/local files are included by the frontend layout template.

Detailed Change Log

Overhauled directory config a file include defaults to make configuration of frontend more flexible. All file includes are now fully-qualified by default directly in onpub_conf.php.

onpub_conf_local.php is now loaded before onpub_conf.php. Any variable not already defined in onpub_conf_local.php will be given a default value when onpub_conf.php is loaded directly after. Config variables already defined in onpub_conf_local will always take precedence over those defined in onpub_conf.

Updated .gitignore to ignore local/ and onpub_conf_local.php.

Do not load default frontend style sheets if local/ style sheets are defined.

The previous behavior of loading the local/ style sheets ($onpub_inc_css and $onpub_inc_css_menu) after loading the default/stock CSS files has been deprecated in favor of only loading the local/ CSS files if they are present. This makes it easier to create a new Onpub style from scratch since its no longer necessary to explicitly override unwanted style attributes defined in the default Onpub CSS files.

Updated Phing package target to work with new Onpub GitHub repo.

The User Guide will be updated in the coming days to reflect the changes in this new release.