![]() |
|
Intregration ZenPhoto in typolight - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Intregration ZenPhoto in typolight (/thread-4300.html) |
Intregration ZenPhoto in typolight - oFooBaro - 2008-12-23 Hi folks, so here is my problem. I'am using typolight as my favorite CMS. So I want to integrate ZenPhoto in typolight. I read http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin . My first try: I create a modul in typolight for the integration. In this modul I code this : define('ZENFOLDER', 'zp-core'); The result is, that ZenPhoto can't connect to the database. The reason is, that all $_zp_conf_vars == ''. The next try. I include the template-functions.php in the index.php file from typolight with the same code above. This works, but when I call the getNumAlbums() function in my module I get following error: Runtime notice: Non-static method utf8::convert() should not be called statically in D:\xampplite\htdocs\zenphoto\zp-core\functions-basic.php on line 766 Thanks for help Intregration ZenPhoto in typolight - acrylian - 2008-12-23 I fear I can't help. I don't know anything in detail about Typolight. I just looked briefly at it (and I myself use just Zenphoto with Zenpage...:-)). It might be a conflict between Zenphoto and Typolight or somehow the paths get messed up when called from a module. If you don't manage this there is always the alternative to just make a Zenphoto theme that looks like your site. Intregration ZenPhoto in typolight - oFooBaro - 2008-12-23 Thx for reply. I tried the same code as a standalone php-page. Here is everything working. Hope to integrate my favorite gallery in my favorite CMS. Intregration ZenPhoto in typolight - acrylian - 2008-12-23 That indicates some conflict with Typolight. Sadly I can't help but if you manage that, please let us know. We would love to add more integration solutions for other CMS besides Wordpress to our extensions page. Intregration ZenPhoto in typolight - oFooBaro - 2008-12-23 Right. I give feedback if possible. The next project is to integrate ZenPhoto in typo3. Intregration ZenPhoto in typolight - sbillard - 2008-12-23 As for your runtime notices: you are running with the PHP error reporting set to include E_STRICT errors. Zenphoto 1.2.2 does not comply wiht E_STRICT (although we are working on that for release 1.2.3, so you can try the nightly builds.) |