We’ve updated Perch with a number new features as well as a small 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 if upgrading from a version prior to 1.7, be sure to save any region before changing its settings or deleting items due to database changes.
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, improvements and new features you may benefit from.
This release fixes the below issues:
Users experiencing these issues should update when convenient.
perch_content_custom()function now supports automatic pagination or multiple item regions
PERCH_MAIL_PARAMSconfiguration setting for setting parameters for outgoing email
PERCH_UNDO_BUFFERconfiguration setting to set number of undo items stored in the history
PERCH_CHMOD_FILESconfiguration setting to change the permissions on files after upload
New features in the templating system include:
replaceattribute to perform basic replacements:
<perch:every>conditional tag with
<perch:if>tag with the ability to match specific values:
<perch:if id="text" match="eq" value="Hello">
qualityattribute on image tags for setting JPG compression. 0-100.
urlifyattribute to create a URL-safe version of a string on the fly
formatattribute for formatting numbers (e.g. to 2 decimal places) and currency:
Editors should not notice any major differences to the interface. If the new setting to collapse the content list is enabled (it’s off by default) it may be worth discussing first so no one gets a nasty surprise when the list is collapsed and it looks like content could be missing.
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:
apps– just copy
These 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.
/perch/update in your browser. That’s all you need to do – Perch is now updated.