ZenphotoCMS Forum
Pb with method setCurrentTheme with 1.4.1.1 ??? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Pb with method setCurrentTheme with 1.4.1.1 ??? (/thread-8843.html)



Pb with method setCurrentTheme with 1.4.1.1 ??? - hucste - 09-07-2011

Hello, I updated my zenphoto devsite with 1.4.1.1 ...
and for my plugin SwitcherTheme, i've a little pb with the return of method setCurrentTheme on object $_zp_gallery.

I've no error, but nothing change ... a var_dump on object display them informations. [i](i've not change any code in my plugin).[/i]

An idea?




Pb with method setCurrentTheme with 1.4.1.1 ??? - sbillard - 09-07-2011

Well, since you have not even said what the problem is, how would we have any suggestions?




Pb with method setCurrentTheme with 1.4.1.1 ??? - hucste - 10-07-2011

I don't know explain the problem...

For my plugin 'SwitcherTheme', i use the method setCurrentTheme on object $_zp_gallery. Since the version zenphoto 1.4.1.1, the method not return any without any errors.

I don't know what search, what informations to resolve this bug?!
I search to understand why?!

A var_dump on this object return a valid echo, egual for the theme... but nothing.




Pb with method setCurrentTheme with 1.4.1.1 ??? - acrylian - 10-07-2011

DId you check if the session/post variables you use to set the theme really contain the theme to set? The setCurrentTheme method did not change to my knowledge

Just to note I get a "not found" for the English and French pages linked on your site. Apparently you still have the old separate EN/FR pages links that don't exist anymore.
The link from our extensions entry does work though.




Pb with method setCurrentTheme with 1.4.1.1 ??? - micheall - 10-07-2011

hucste are you installing in 1.4.1.1? I'll setup a blank 1.4.1.1 release and your plugin to see if I can find any errors. Can you link me to your switcher_themes version you're using for download? Is it the same one in the extensions database?




Pb with method setCurrentTheme with 1.4.1.1 ??? - hucste - 10-07-2011

excuse-me all ... (needed to pass time with my family ;-) ...)

@acrylian: yes, really, session/post variables contain the theme to set!
and the plugin 'SwitcherThemes' is accessible on this url :
http://zenphoto.dev.stephane-huc.net/pages/SwitcherThemes-Plugin

@mitcheall: yes, i've on my dev site, the zenphoto version 1.4.1.1 ... and my version plugin is the ultimate, 0.3.1!
http://zenphoto.dev.stephane-huc.net/uploaded/SwitcherThemes-0.3.1.zip
The same accessible by database (normally, return on my website dev zenphoto.).