WebsiteBaker Community Forum

General Community => Global WebsiteBaker 2.8.x discussion => Topic started by: crazynet24 on October 27, 2009, 08:38:44 PM

Title: integration of a standalone php-file
Post by: crazynet24 on October 27, 2009, 08:38:44 PM
I try to integrate a finished and stand-alone working php-file in the WebsiteBaker-site. It's a php-file for showing jpg-files in a gallery and is called "Copy&Show Gallery" http://vysions.de/cas-gallery/cas-gallery.zip (http://vysions.de/cas-gallery/cas-gallery.zip).

My attempts failed by copying the code into a "code-site" in the backend and by inserting the code into the example-module "hello world". The displaying of the images won't work. A workaround to get the file working is in creating a wrapped-site which points to this Copy&Show Gallery-file. But in this case the design isn't homogen.

I suppose that any function in the WebsiteBaker-framework prevents the execution of required routines of the gallery.

How can I debug or trace the the function-call?

thanks for reading!
Title: Re: integration of a standalone php-file
Post by: crnogorac081 on October 27, 2009, 09:54:38 PM
Hi,

there are a lot of galleries at AMASP (http://www.websitebakers.com) in modules > image galleries..

This gallery looks like some of them.. So it would be easier to use existing module..

For example see this one: http://www.websitebakers.com/pages/modules/image-galleries/lightbox2.php
Title: Re: integration of a standalone php-file
Post by: crazynet24 on October 27, 2009, 10:45:02 PM
Thanks for your reply!

there are a lot of galleries at AMASP (http://www.websitebakers.com) in modules > image galleries..

yes, I know, but no one is so fast and easy in handling with pictures.


For example see this one: http://www.websitebakers.com/pages/modules/image-galleries/lightbox2.php

Thanks for this information, that one is new for me. I tried it, but also it's not so fast and comfortable like the "Copy&Show Gallery". Also it's not possible to present the EXIF-Infos. But I guess this module could help me to compare the differences between they both.
Title: Re: integration of a standalone php-file
Post by: Luckyluke on October 28, 2009, 10:21:06 AM
Hi,

What about a wrapper?
You can find some here in the forum and on AMASP.

Grtz,
Luc