Reason Developer Notebook
New access denied module simplifies adding yourself to a site
October 2, 2012 at 3:23 pmI've pushed into the master branch of Reason a new "site access denied" module that lets users with privileges add themselves as a site editor (or pose as a site editor) to get quick editing access.
If you are a user with the "administrator" role, you can now go from a page you want to edit on the front end to an editing interface in a couple clicks, without a visit to the Master Admin site.
Small but important change to update_entity & reason_update_entity
June 26, 2012 at 10:31 amWe just made a small change to update_entity() (and by extension, reason_update_entity()). You can now pass a last_modified value in the update array, and the last_modified date of the entity will be set to that value. Previously update_entity ignored any last_modified value passed, always setting it to mysql NOW(). This change will not effect most code, but there is a specific case where things will change -- read the full post for details.
Reason 4.2 Performance & Database Indexing Outline
April 17, 2012 at 2:03 pmReason 4.2 includes major deep changes that eliminate some and simplify most queries in queries in Reason. If you are upgrading Reason and want to take optimal advantage of these changes, we recommend a few database indexing changes.
Page Type Administrative Notes
May 4, 2011 at 12:11 pmIt has long been an issue that custom page types were opaque to Reason users: what they did, how one managed their data. We're proud to announce one step towards…
jQuery UI 1.8.11 in Reason - a few notes on use
April 13, 2011 at 2:10 pmAs of April 14, 2011, jQuery UI 1.8.11 is distributed in Reason, and can be added as a head item and used in a module in a similar way to…
Image sizing for sidebar, gallery, slideshow, and more
March 5, 2011 at 10:48 amMany modules that show images can now be configured to present those images at custom sizes. In all cases, image sizes are configurable through page type parameters. Read on for a list of the updated core modules, information about how to control image sizing, and how you can build image sizing into a custom module.
Custom Image Sizing
January 10, 2011 at 2:48 pmWe have added the ability to generate arbitrarily-sized images from images that have been uploaded to Reason. A link now appears in the image preview page that directs users to…
New config folder / admin module changes / module sets
July 29, 2010 at 2:38 pmWe have created a new folder within the core/local split called config. The intent is to provide a space to configure components of Reason while also providing access to the…
Global variable _reason_deprecated_page_types removed
June 16, 2010 at 2:31 pmThe Reason page_types.php defined a global variables called _reason_deprecated_page_types. The contents were a mixed bag of page_type and module names. The code that used this variable (content_managers/minisite_page.php and scripts/view_page_types.php) treated…
generic3 query optimization / conditional straight joins
May 12, 2010 at 6:16 pmGeneric3 can have terrible performance when multiple relationship filters are applied to a page. I have committed two changes today which should help the situation.
1. generic3 will automatically cause mysql…
developer benchmarks in default template
May 5, 2010 at 3:10 pmDevelopers now have the option of seeing live benchmarks for the init and run phase of any module. This can be very useful for optimizing pages and for debugging purposes.
As…
Removed reset button support from thor and reason form module
May 3, 2010 at 7:02 pmThe thor class and reason forms have previously supported a specially named button called "reset" that would serve as a reset or clear button for a form.
Support for this special…