Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » link to external html file

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1078 Views
  • ojalà
    Avatar
    Community Member
    87 Posts

    link to external html file Link to this post

    Hi!
    is possible to include an external html file in silverstripe?
    In /theme/mytheme/template/Page.ss I have a div that include "flower" word. I need put here a link to services.html file. Where I must put this file?And how can create link?
    Thanks!

  • evren
    Avatar
    Community Member
    37 Posts

    Re: link to external html file Link to this post

    I'm not sure the answer you're looking for is this but...
    If I understand correctly, your solution is quite simple.

    Create a folder under "assets" folder which is in the root of your SS installation. And just put your any neccessary HTML files inside this.

    Then go to the page edit screen and click on "download a file" under link menu. Select your folder and after your HTML file.

    Thats it

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