Since there has occasionally been some confusion over this process, here’s a step-by-step on how to update your site from Backlight 1 to Backlight 3/4.
(also applies to Backlight 1 to Backlight 2 updates)
Download your Backlight 3/4 purchase and unzip it.
Inside the Backlight-3-Installer-xxx folder you will find two folders and two files:
In your unzipped Backlight-3-Installer folder are these four items:
-
- backlight/ (folder)
- galleries/ (folder)
- .htaccess
- index.php
(Note, you may not see the .htaccess file. If not, you’ll need to change your system settings to show hidden files. If you don’t know how to do this, Google it.)
Access your server using your FTP client program
Following the Backlight documentation do the following:
- In your site’s backlight/ folder remove everything except the data/ and custom/ folders. You can remove by either completely deleting or first downloading those folders and files to your computer as a backup before you delete the files on the server.
(If you are only using Backlight for your albums, skip to number 4) - In the root of your site (at the same server level as the backlight/ and galleries/ folders) remove/delete the index.php and .htaccess files.
- From your FTP program, upload the index.php and .htaccess files from the root of the unzipped Backlight-2-Installer-xxx/ folder to the root of your site.
- From your FTP program, open the backlight folder of the unzipped Backlight-2-Installer-xxx/ folder on your computer.
- Upload everything in this folder, other than the data/ and custom/ folders, into the backlight/ folder on the server.
NOTE: It’s very important that the index.php and .htaccess files are placed in the proper locations. There are actually two sets of these files, one set in the root of the site and different set in the backlight/ folder. Do not confuse these two sets: the set in the root of the unzipped Backlight-2-Installer-xxx/ folder goes in the root of your site.
The set in the unzipped Backlight-2-Installer-xxx/backlight/ folder goes in the site’s backlight/ folder.
Continue with the Backlight 3 installation process by visiting yoursite.com/backlight/installer/ and following the instructions there.
After you’ve installed Backlight 3, don’t forget to visit each of the Admin, Publisher and Designer menu items to upgrade the databases.
Visit the Backlight Modules page and install any add-ons you’ve purchased.
And, from the main Backlight Dashboard, click on the Update Album Files link.
That should do it.
Phplugins
If you were using phplugins in your Backlight 1 site, you will need to update the phplugins file and your functions. In the unzipped download’s /backlight/custom/phplugins/ folder, use the phplugins-pangolin-sample.php.
Open that file and notice the new format for using the functions. Where before you might have:
function ttg_scripts ($style, $path) {
Now you will now use:
function scripts () {
There’s more on phplugins for Backlight 3 in the documentation.
And more on the changes to phplugins from Backlight 1 here.
If you have any issues, be sure to address those to the forum where Ben (one of the developers) will be able to see and answer. Included as much information as you can, including your site url and the php version your site is running. Also be prepared to share Backlight admin and FTP credentials if they are requested (usually by Ben).
Hi Rod, it has been a long time since our last conversation. Hope all is well and you are save in the current crazy world.
I am very seriously thinking of upgrading to Backlight3.x. I am currently running TTG Backlight version 1.2.2. I am now reading all the documentation before I jump into the upgrade including your “Updating from Backlight 1 to Backlight 3” tips . What I have read so far, I am not clear if my current 1.2.2 templates will work out of the box after the upgrade. I am using all the standard templates including the Backlight Standard Album Set.
once you upgrade to BL 3 you’ll be able to install the Okapi Album, Album set, and Page modules from you Backlight Modules page.
With these, at least your pages, album sets and standard albums will display correctly, though they will not have any of the latest features.
You’ll eventually want to create new Pangolin page templates along with Pangolin album and album set templates and apply them to pages, albums and album sets
If you were using any add-ones (Cart, Theater, Galleria, WordPress) you will need to get the new versions.
Rod, above you stated:
“You’ll eventually want to create new Pangolin page templates along with Pangolin album and album set templates and apply them to pages, albums and album sets”
Because I am lazy, is there a way to “import” my current BL 1.2.2 Page template into a blank Pangolin style page template to get a head-start? I tried the “Export – Import Template” approach but it failed because of dissimilar Templates.
Btw, I decided refresh my current website and develop the “new” site in a subdomain.
No. The old Okapi templates can’t be imported into Pangolin templates. You’ll need to create new ones.
I have just upgraded from 1.x to 3. I have Pangolin templates and pages. Having just read Franz’s comments and your reply, Cart 4.17 will work with 3 until I start making new templates & pages and then I need to upgrade?
Cart 4.1.7 is not compatible with Backlight 3.
You will need to get the new version and you will also need to first create Pangolin templates; it’s not compatible with Okapi templates.
Thank you Rod for the info.
Thanks Rod.
Rod, you might want to add a link for the phplugins changes as well: https://discourse.theturninggate.net/t/updating-phplugins-from-backlight-1/54/2. This way all is in one place!
Added! Thanks Daniel.