I probably have a really silly question but i cannot get my homepage.php to use the homepage.ss template located in <mysite>/templates/homepage.ss It just reverts back to the default silverstripe theme for some reason.
I would like to use the mysite folder for the reason that i want to have all files in one folder nicely grouped together css js php and templates.
But i cannot seem to get it to use those templates.
It when i flush=all / 1 gives timeout errors/exceeding memory limit and when i remove the cache manually from the appdata it reverts back to the default theme.
PS: i posted this i think in the wrong section if somebody could move it for me :S
They indeed extend from the default Page classes and not from the sitetree / contentcontroller classes.
I would be able to post some code but only in a few hours. Posted it as a question after work and have the code only available to me at work.
Turns out i had written the HomePage class name as HomaPage never noticed yesterday. Though that brings me more or less to the next problem that is that <% include HeaderHome %> was the cause of the timeout errors. While the file is simply within the templates folder like : <mysite>/templates/Includes/HeaderHome.ss.