Hi All,
Ok so I need help testing this new version. I got a little carried away with options... that is why it took so long...:)
Please provide feedback and bug reports here. Sorry, no documentation yet - [b]please review the theme options![/b].
I also included some preview images at the download page below:
For a quick fix enable the Zenpage plugin.
@gjr: Is Zenpage required for that theme? If not be sure to add checks for the plugin for all its specific functions (getOption('zp_plugin_zenpage'). I will wait a little longer until I label the theme as compatible again.
I guess you're not using an english browser. Just like me.
The 'zpgal_homepage' option 'none' is translated to 'aucun' (its french translation)
fix: With PHPMYADMIN
update zp_options set value='none' where name='zpgal_homepage'
Small warning when going back from an album to a password protected gallery
Warning: Missing argument 1 for printPasswordForm(), called in /mnt/154/sdb/6/a/myphoto/themes/zpgalleriffic_v1.4/password.php on line 54 and defined in /mnt/154/sdb/6/a/myphoto/zp-core/template-functions.php on line 4480
Yesss. I am glad you are updating it. I was about to make it compatible myself.
Still though, seems pretty buggy. I installed and the first thing I get is an error:
Fatal error: Call to undefined function getPageTitleLink() in /var/www/meyers/files/zenphoto/themes/zpgalleriffic_v1.4/header.php on line 329
@Acrylian, sorry didn't see your post.
@gjr, I updated just now and I am getting the follow errors:
Not found:
/zenphoto/themes/zpgalleriffic_v1.4/css/cbStyles/colorbox.css
(instead it's in folders style1...style2..etc)
Not found:
/zenphoto/themes/zpgalleriffic_v1.4/css/.css
Javascript:
$("a[rel='slideshow']").colorbox({
slideshow:true,
slideshowSpeed:,
the slideshowSpeed is throwing an error because no value
// Initialize Album and Search Galleriffic Display
var gallery = $('#thumbs').galleriffic({
No method galleriffic
tested on fresh install zenphoto, chrome 8, windows 7.
No, just on the normal gallery. Link here:
Just did a fresh install. It seems you have to go into theme options and hit apply once for the theme option defaults to take effect, otherwise they are blank.
Acrylian/Sbillard - Is this normal behaviour? I would think the defaults would apply until the user modifies them?
Yes, this is normal (sort of). There are cases where we will invoke the option handlers to get the defaults set, such as during setup and when themes are switched.
But I suspect in this case, just the theme files got updated, so none of these happened. Unless the option handler is invoked no new option defaults have been established. That would mean that any new options would have a NULL value.
Seems the option handler does not get invoked on theme switch either as the following was my sequence:
New install;
set admin user and password;
view gallery (no images, default theme);
uploaded zpgalleriffic v1.4 as new theme;
changed theme to zpgallerific 1.4 in admin;
viewed gallery: none of the default settings were there, as you said, they were null.
If this is default behaviour, is there any theme function we can use to force the option handler if we detect an option is null if it shouldn't be?
Thanks!
Seems there is a bug in the code for the theme switch. Anyway, all you need do is a new on your option handler class. This will invoke the instantiate functions which is where [usually] default options are setup.
We do not routinely invoke the option handler any more as we have discovered it a significant bit of overhead when not needed. Even testing each option seems extreme. We usually try to make the default of empty be meaningful.