I'm trying to create a custom template as follows:
Within mysite/code I have set up a membership.php page as follows:
class Membership extends Page {
}
class Membership_Controller extends Page_Controller {
}
Then in my layout folder I have a Membership.ss template file. Then I dev/build and flush but when I open the page the template is not picked up, it defaults to Page.ss
Now here is the weird part, if I copy the site structure to my local sever the template is found and works as exepcted, This led me to suspect the issue was file permissions on my dev server but I have double checked and full permissions are set on the files which I have created.
Any ideas?
Thanks.
Alan