Author Topic: MyGallery v1.8.1  (Read 1858 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?

Offline Argos

  • Posts: 2542
  • Gender: Male
    • Argos Media
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.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

 

postern-length