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?
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.