Hi Friends
I have created a class test extending LeftAndMain and it is in test.php. Now when i created a template file with name test.ss ,it doesn't go there,it searches for test_Content.ss,and gives error that this file doesn't exists.
Can any one please explain me this behavior in SS3 /SS3.1 ?
Thanks
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
By default, you need to name your template YourClassName_Content.ss to create the "main" section of LeftAndMain in SS3.
Thanks Uncle Cheese for this quick reply.
Can u also help me with another question that when i am making a jstree in myclassname_Content.ss,it doesn't form the tree but i have checked all the required JS is already included in the SS3 CMS(i.e jquery.jstree.js and jquery.js),so in init i just have included my classname.js file which has the code to make the jstree.
Thanks