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:

Template Questions /

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

Rendering templates from outside the template folder

Go to End



Community Member, 9 Posts

31 May 2010 at 4:55pm


Im trying to build a module that allows silverstripe template files to be uploaded via the default 'Files & Images' upload section and have the correct template implemented by the page controller depending on what ID i pass it through in the URL.

Everything else im my module is working fine, however i cant figure out a way to call a template file that resides in my assets folder, not in the templates folder for that module.

Is this even possible?

If not, i guess ill just FTP the template files up whenever i need to upload them, but it would be nice to handle it all through the SS CMS.