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.

Template Questions

Is possible to change file extension


4 Posts   1248 Views


17 February 2011 at 11:04am Community Member, 41 Posts

I want change template file type.
Is possible to do change file tipe?

ex) ->filename.php

Ryan M.

17 February 2011 at 12:54pm Community Member, 309 Posts

I don't think so, at least not without some heavy customization of how Sapphire processes templates.

Are you looking for a PHP-based templating engine?


17 February 2011 at 1:02pm Community Member, 41 Posts

Thank you for the response.

I used cakePHP and cake allows to change template file type from filename.ctp -> filename.whatever-extension
so I thought it's possible to do it with SS.

I just prefer to use something.php file type.

Ryan M.

18 February 2011 at 8:13am Community Member, 309 Posts

I haven't used any different templating engines with SS, but maybe somebody else here has.

Otherwise, I'd probably say you have to hack the core a little bit to get it to accept .php templates. IMO, not worth the trouble.