Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » A simple question

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

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

Page: 1
Go to End
Author Topic: 1310 Views
  • cihan
    Avatar
    Community Member
    9 Posts

    A simple question Link to this post

    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

  • spenniec
    Avatar
    Community Member
    37 Posts

    Re: A simple question Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: A simple question Link to this post

    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

    1310 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.