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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

A simple question


Reply


3 Posts   1351 Views

Avatar
cihan

Community Member, 9 Posts

16 July 2008 at 1:50am

Hello everybody,

i have got a simple question, but i want to be sure:

when i have in the themes folder an theme wich have this folders: "css", "images", "templates", for what i need this three folders in the folder my_site? can i delete this tree folders from Folder "my_site"? or how it works together?

Thanks for answers.

cihan

Avatar
spenniec

Community Member, 37 Posts

16 July 2008 at 9:02pm

Edited: 16/07/2008 9:02pm

You may well have deleted them anyway, but the answer is yes you can delete the

mysite\css
mysite\javascript
mysite\templates

directories.

If you don't specify a theme in your _config.php file then SS will look in these directories for the .css and .ss files it requires for the templating.

Avatar
Willr

Forum Moderator, 5513 Posts

17 July 2008 at 10:01am

Yep well those 3 folders are from back in the day when SilverStripe did not support themes so sites where all developed in the mysite folder. Now its recommended to make you template and css files as individual themes in the themes/ folder