Jump to:

3447 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » Rendering templates from outside the template folder

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

Page: 1
Go to End
Author Topic: 783 Views
  • craigm
    Community Member
    9 Posts

    Rendering templates from outside the template folder Link to this post


    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.



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.