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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

link to external html file


Go to End


2 Posts   1718 Views

Avatar
ojalà

Community Member, 87 Posts

29 October 2008 at 4:34am

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!

Avatar
evren

Community Member, 37 Posts

2 November 2008 at 6:33am

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 :)