I am wondering if there is a way to make a bare bones install so I don't need to have any themes or be set as the tutorial. I just want the plain, here is a Page.ss empty file (or something like that) that I can start from.
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.
- Page 11(current)
- 2
- Next 10 entries
Not sure, but why?
Just start with blackcandy on install, and make your own theme after installation. You'll only have to change the SSViewer::set_theme('blackcandy'); in _config.php
So is there no point to the templates, css folders in the mysite folder?
No, you should only use the mysite/code folder.
The rest stays blank afaik.
Use the theme folder for your own themes (i e templates, css, images).
I use the 'mysite' folder for my complete site and in mysite/_config.php I use:
global $project;
$project = 'mysite';
(of course I rename 'mysite' to whatever project I'm working on, I just use 'mysite' as an example here...)
Is there anything wrong in doing that?
hm, it's probably the old way of doing things, might be good for older versions of SS.
http://doc.silverstripe.com/doku.php?id=themes:developing#reference
dio5, I'm hijacking this thread a little, but I have a site in which I have a few many_many relations set-up, but the Search function doesn't seem to search in those tables (Search is set-up as per the tutorial)... any tips?
Okay I see how this everything is layed out now. So the the way the site is supposed to look goes into the themes folder. And then everything that goes along with your site not already in the theme folder is in the mysite folder, and everything pertaining to that code goes there, so I create a HomePage model and controller, and then any layout that goes along with that goes there. I hope I am getting how it is implemented right, it appears that ss looks for files there too after going through the theme folder, but not there first.?
- Page 11(current)
- 2
- Next 10 entries