Author Topic: integration of a standalone php-file  (Read 2284 times)

crazynet24

  • Guest
integration of a standalone php-file
« 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.

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!

Offline crnogorac081

  • Posts: 1908
  • Gender: Male
Re: integration of a standalone php-file
« Reply #1 on: October 27, 2009, 09:54:38 PM »
Hi,

there are a lot of galleries at AMASP 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
no bb in signature

crazynet24

  • Guest
Re: integration of a standalone php-file
« Reply #2 on: October 27, 2009, 10:45:02 PM »
Thanks for your reply!

there are a lot of galleries at AMASP 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.

Offline Luckyluke

  • Posts: 556
  • Gender: Male
  • Let's Rock
Re: integration of a standalone php-file
« Reply #3 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

 

postern-length