Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: How to get Silverstripe to use templates in folder

$
0
0

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.

Edit: after some more searching i found the problem in the form of old code still left in that template before the switch to 3.1 where we decided to redo most of the templates/javascript etc. turns out including footer.ss within footer.ss is not a great idea


Posted to: How to get Silverstripe to use templates in <mysite> folder | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles