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.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


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 »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • MyGallery v1.8.1
  • Print
Pages: [1]   Go Down

Author Topic: MyGallery v1.8.1  (Read 4489 times)

otto1303

  • Guest
MyGallery v1.8.1
« on: April 18, 2010, 02:12:12 AM »
First, I'm not a programmer, but I like WebsiteBaker.

I want to integrate a photo gallery on my site called MyGallery (http://www.planetluc.com/en/scripts_mygallery.php). It is a gallery that does not use Database, but DAT files.

I uploaded the gallery and its folder is called "mygallery_181" in the root of my site. The script indicates that I must to write <? include ("../ mygallery_181/gallery.inc.php ");?> in the place where I want to see my gallery and I wrote in my droplet.

Then I created a page and wrote wysiwyg [[mygallery_181]]. And when I see the page I get "Error in: mygallery_181, returnvalue not correct."

My test site is: http://moroko100.comze.com/pages/galeria-2.php and is in Spanish.

My gallery aoutside of WebsiteBaker is:
http://moroko100.comze.com/mygallery_181/

Someone could help me?
Logged

Argos

  • Guest
Re: MyGallery v1.8.1
« Reply #1 on: May 04, 2010, 09:14:33 AM »
You cannot just put php code like that in a droplet, and call it with [[blahblah]]. A droplet needs "embedding code". Have a look at other droplets.

A simple php call like you describe is called a snippet, and it needs to be used in a page with section type "Code" or "Code2", or just hardcoded in the template.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • MyGallery v1.8.1
 

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