coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: shaggszgn on February 01, 2004, 09:19:29 PM

Title: CPG 1.2, errors with custom theme..
Post by: shaggszgn on February 01, 2004, 09:19:29 PM
Hi there. I had made a custom theme for CPG 1.1 and it work perfectly fine. Now that I upgraded to CPG 1.2 I get an error when I enter my gallery.
QuoteThe error is as followed: Fatal error: Call to undefined function: theme_display_album_list_cat() in /home/*sitename*/public_html/galleries/index.php on line 493

I replaced the new index.php with the old CPG 1.1 index.php, just to see what happends, it all seemed to be working ok, expect I get an error on thumbnails.php that reads:
QuoteFatal error: Call to undefined function: theme_display_breadcrumb() in /home/*sitename*/public_html/galleries/thumbnails.php on line 122

Here's my question, are the theme files for both releases slightly different? If so, what would I need to add/change to my current theme files to get it to work with v1.2? I did alot of work to this theme and I realy hate to start over again.

Thanks for any help

shaggszgn
Title: CPG 1.2, errors with custom theme..
Post by: Joachim Müller on February 01, 2004, 09:53:31 PM
the themes differ from cpg1.1.x to cpg1.2.x - see http://forum.coppermine-gallery.net/index.php?topic=2708

GauGau
Title: CPG 1.2, errors with custom theme..
Post by: shaggszgn on February 01, 2004, 10:28:34 PM
Thanks, I was able to fix the problem by replacing the old theme.php with the a newer version of theme.php and modify the links.