How to know what themes work in 1.6x ? How to know what themes work in 1.6x ?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

How to know what themes work in 1.6x ?

Started by rat_tracks, March 24, 2019, 08:09:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rat_tracks

What themes will currently work with cpg 1.6x ?  I have looked for this information but, can not find it. Currently I am working with 'chaotic soul' theme as it matches my website and I am about to upgrade it from 1.4 to 1.5 and ultimately to 1.6, but, would be nice to  know if this theme will work or can be made to work easily ? A list of themes that will work with 1.6 would be nice !! 

Also, when upgrading an existing gallery that uses a theme that is known to not work in a higher version, should I change the theme to one that will work in the new version BEFORE upgrading ? Or AFTER ??    (The reason I ask this is because I recently upgraded one of my galleries from 1.4 to 1.5 and its theme (Winter Blue) would not work even after following the theme edit guide for that upgrade etc, and it caused a login issue so changing themes was very difficult !!! I finally got it changed to curve so it works now at 1.5x, but will this work in 1.6 ? )

Many thanks  for your help with this as I have a few galleries to get upgraded to 1.6 before my web host cuts off Php 5.6 (end of this month !!! )


ΑndrĂ©

Basically all cpg1.5.x themes should work with cpg1.6.x. But this doesn't mean it will also work with PHP7. It will stop to work with PHP7 if it uses mysql_* functions. So just have a look at theme.php (and any other .php files that may be included in the theme), search for
mysql_
and replace it with
cpg_db_

This makes a theme cpg1.6.x PHP7 compatible in most cases (just "most cases", as there may be some rarely used cases that can't be replaced that way, but need to have a closer look).