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.

Archive

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

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

link to external html file


Reply

2 Posts   1096 Views

Avatar
ojalà

29 October 2008 at 4:34am Community Member, 87 Posts

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

2 November 2008 at 6:33am Community Member, 37 Posts

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