singapore: the smallest big galery
home » forum » Installation » external gallery with GetSimple

You are not logged in.

#1 2010-01-03 10:57:06

andyash
Member

external gallery with GetSimple

I'm trying to include sgal into GetSimple CMS externally. Sgal is inside a folder named sgal in the Getsimple root folder. I have called it through the following code inserted inside my GetSimple template file.

<?php include('sgal/external.php'); ?>   

The link in Getsimple site menu using this template file pointing to this is http://localhost/getsimple/gallery

The gallery shows fine but I could not get any of the links to work. I moved out the entire sgal contents to the getsimple root folder and made the necessary path changes to the getsimple template. All the links work but the moment I move beyond the root gallery I lose my Getsimple header and footer. Basically my entire sgal gallery moves out of Getsimple space and the only thing showing on the screen is the gallery with only it's own links showing with no relation to the Getsimple contents in which it should be embedded.


Where am I going wrong?

Offline

 

#2 2010-01-07 16:00:05

DC
Administrator

Re: external gallery with GetSimple

Somtimes very tricky with CMS as  it can many times need the correct query str just to get it to work correctly, as many of those systems were designed only to work with there on moduals not sep PHP scripts by other venders. I will talk to one of our mods that has done this and see if he can get back to you.

DC


To code or not to code that is the question?

Did my response help you out? Consider donating by buying me a slice, Whats this? Read More!
http://www.clickcraft.net/slice.php

Offline

 

#3 2010-01-07 17:55:26

PrimaFoto
Moderator

Re: external gallery with GetSimple

Yes just like DC mentioned getting it into a CMS can be tricky.
After reading up on GetSimple CMS it is similar to CMS Made Simple which I use.

Have you posted this question in the CMS Forum? I found this > http://get-simple.info/docs/what-are-components
or this looks more like your situation http://get-simple.info/forum/viewtopic.php?id=167

It is very similar to mine except mine is called a User Defined tags.

Just a thought, to try

Code:

include("sgal/external.php");

Then there must be some way to include it in your page, in my case I added:

Code:

{members_gal}

Where I wanted SGAL to appear.


A Junior Scientist of the SGAL - Lab
http://sgal-lab.primaveraphoto.com

Offline