Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Best way to load an external page inside SilverStripe?

Go to End

4 Posts   1653 Views


Community Member, 182 Posts

4 January 2010 at 3:30am

I have a 3rd party shopping cart which I want to load in my SS site using the menu, without leaving the main SS site. What is the best way to have this external page load inside SS...

I can do it with an Iframe but I am not keen on using them, and am finding their limited dynamic height a problem.
I am also aware of the redirect page type but this does not achieve the desired effect.

Does anyone have any other methods?

Many thanks,


Community Member, 7 Posts

4 January 2010 at 9:32am

What is the goal of this integration?

Depending on how the other system was written you could call the file in php, capture the output and then send it to the template engine. I wouldn't recommend it. Is there a reason you don't want to just redirect to the shopping cart? If you use the same template for both it would be a seamless change for your users, and probably make maintenance a bit easier.


Community Member, 182 Posts

4 January 2010 at 9:48am

Its mainly an aesthetic reason, as the shopping basket a cart has limited design functions and I can't add the same template to it, it therefore looks a little bleak and has not very obvious navigation back. Its not crucial but a method would be useful for other pages that need embedding as well. Thanks

The Anaheim Pirates

Community Member, 1 Post

13 January 2010 at 8:16am

Having the same issue, However let me give a few details

I have GoDaddy Hosting, Using SilverStripe 2.3.4
I have already tried the External Content module however it requires the use of 2.4.0 and my understanding is that the newest stable is 2.3.4 and well i prefer to keep with the stable release...

So Here is what I'm Trying to do...
I use a program on my home computer to generate some stats for a hobby of mine, called Geocaching, and I have it export these stats into a bunch of files, some of these can be quite huge, and takes a while to open copy and paste into the pages on my site.

I would prefer an easier more automatic solution, I have wrote a simple Utility that will gather the files on my computer and Send them to the server via FTP, I would like to take these files and have them displayed in the SS site that my visitors see using the same theme as my SS site :)

here is a sample of the file that needs including
Mind you I can have anything I need put into that file, meaning if i need to add some "code" or "tag" to it I can, currently it is an HTML fragment, as that is what i copy and paste into the page in the CMS.

I also have one file that will not save in the CMS so i cant make it on my site, so I am hoping that by including it I can make it available on my site...

Any help on getting this to work would be great

The Anaheim Pirates