Photofolio:Upgrade to version 2.2 for Drupal 6
From MtTWiki
This document will guide you to upgrade your Drupal 6 Photofolio 2.1 installation to Photofolio 2.2 for Drupal 6.
Contents |
Prepare your workbench
- Be sure that you are currently running Photofolio 2.1 for Drupal 6. If not, please upgrade your installation to Photofolio 2.1 for Drupal 6 first.
- Create a temporary installation of Drupal 6 Photofolio 2.2 using our installation profile. You will use this as a reference to guide you.
Backup
- Backup everything.
- Just in case, make sure you backed up everything =) (besides, it's always a good idea).
Patch your Photofolio theme files
- Locate our theme folder in your temporary installation. Usually at [sites/all/themes/photofolio]
- Locate our theme folder in your drupal 6 site. Usually at [sites/all/themes/photofolio]
- Replace the following files in your installation, using the corresponding source files from the temporary installation
- Replace node-gallery.tpl.php
- Replace node-post.tpl.php
- Replace page.tpl.php
- Replace page-front.tpl.php
- Replace template.php
- Add (copy) the following files in your installation, using the corresponding source files from the temporary installation
- Add theme-settings.php
- Remove (delete) the following files from your installation
- Remove js/custom.js
Clear all cached data
This step is important in order to force your template to be informed for the changes you have made in the template files.
To do this go to Administer » Site configuration » Performance » Clear cached data