WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R24 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • integration of a standalone php-file
  • Print
Pages: [1]   Go Down

Author Topic: integration of a standalone php-file  (Read 7139 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!
Logged

Offline crnogorac081

  • Posts: 2168
  • 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
Logged
Web developer

crazynet24

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

Quote from: crnogorac081 on October 27, 2009, 09:54:38 PM
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.


Quote from: crnogorac081 on October 27, 2009, 09:54:38 PM
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.
Logged

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
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • integration of a standalone php-file
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2