Jump to:

5514 Posts in 1733 Topics by 1219 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Best way to load an external page inside SilverStripe?

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

Page: 1
Go to End
Author Topic: 1316 Views
  • pinkp
    Avatar
    Community Member
    168 Posts

    Best way to load an external page inside SilverStripe? Link to this post

    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,

  • Aug
    Avatar
    Community Member
    7 Posts

    Re: Best way to load an external page inside SilverStripe? Link to this post

    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.

  • pinkp
    Avatar
    Community Member
    168 Posts

    Re: Best way to load an external page inside SilverStripe? Link to this post

    Its mainly an aesthetic reason, as the shopping basket a www.mals-e.com 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
    Avatar
    Community Member
    1 Post

    Re: Best way to load an external page inside SilverStripe? Link to this post

    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 http://pirate.theanaheimpirates.com/gcstats/Crew-.txt.htm
    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... http://pirate.theanaheimpirates.com/gcstats/stats2.html

    Any help on getting this to work would be great

    Thanx
    The Anaheim Pirates

    1316 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.