We’ve updated Perch with a number of new features as well as some bug fixes for issues discovered via our support system.
Please back up your site and database before updating. Run the /perch/update script once you have copied the files, and due to database changes, be sure to save any region before changing its settings or deleting items. Note that this update includes some additional files to copy into your config and templates folders.
There’s no need to install immediately. You should update when it’s next convenient to do so. This release contains a number of small bug fixes.
This release fixes the below issues:
perch:if tagsra-xxx-xxx format slugsuserLastLogin field now updated on loginUsers experiencing these issues should update when convenient.
<perch:forms /> functionality for creating forms<perch:setting /> runtime tags<perch:noresults> tags for custom content regionsPERCH_HTML5 configuration constant for outputting HTML5 markup. On by default in new installs.size attribute to textarea fields: xs, s, m, l, xl, xxlPerchBase::update() now returns a value.file_field option to Form APIPerchAPI_Image::resize_image() now returns array of image paths and dimensionsrequire_version() API method for apps to assert a required Perch versionPerchAPI_Template::apply_runtime_post_processing() method for runtime processing of formsPerchAPI_Email class for sending emailssize attribute to textarea fields to APISearchHandler API for apps to integrate into search resultsEditors should not notice any major differences to the interface.
Log into your account and re-download the files. The download has been replaced with the newest version.
Make a back-up of your files and database.
No, really. Make a back-up. There’s always someone who doesn’t and manages to delete the wrong files – don’t let that be you.
Unzip and replace your existing files with the exception of:
configresourcestemplatesplugins – if you have added to thisapps – just copy apps/contentThese contain information specific to your installation and should not be overwritten. There is no need to copy setup, as you’re already up and running.
There are also some new files to copy into existing folders:
config/filetypes.initemplates/searchThen visit /perch/update in your browser. That’s all you need to do – Perch is now updated.