17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 2481 Views |
-
default to not have any themes or be set as tutorial

7 February 2008 at 8:28am
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.
-
Re: default to not have any themes or be set as tutorial

7 February 2008 at 8:45am
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
-
Re: default to not have any themes or be set as tutorial

7 February 2008 at 9:18am
So is there no point to the templates, css folders in the mysite folder?
-
Re: default to not have any themes or be set as tutorial

7 February 2008 at 9:31am Last edited: 7 February 2008 9:32am
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).
-
Re: default to not have any themes or be set as tutorial

7 February 2008 at 12:17pm
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?
-
Re: default to not have any themes or be set as tutorial

7 February 2008 at 12:30pm Last edited: 7 February 2008 12:31pm
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
-
Re: default to not have any themes or be set as tutorial

7 February 2008 at 1:07pm
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?
-
Re: default to not have any themes or be set as tutorial

7 February 2008 at 2:43pm
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.?
| 2481 Views | ||
| Go to Top | Next > |


