1340 Posts in 432 Topics by 511 members
|Go to End|
21 March 2013 at 9:02am
I installed SilverStripe over WampServer. The first installs was in \www\silverstripe as I had seen some instructions specifying that this is where it should go. I then wanted to get the site going in the root of \www because I wanted it to be called directly from www.mydomain.com. So, I renamed the \www\silverstripe to www\silverstripe(old) and I reinstalled SS right into \www. I now have a functional Web site, but it only works with the Simple theme that comes with SS. If I download other themes and add them to the \www\themes folder, they don’t seem to work because pages don’t appear in the menus. I can still make changes to the pages and publish those changes, but the menus don’t show. I can also navigate to the pages by specifying their location in a browser. All pages have the Show in menus option checked.
I have tried modifying SSViewer::set_theme('themename’); line in the \www\mysite\_config.php file. I have tried setting the theme in the admin utility, I have tried other themes, but the only one that works is the Simple theme. Is there something I am not doing right? Can(should?) SS be installed in the root of \www?
21 March 2013 at 3:42pm Last edited: 21 March 2013 3:45pm
Probably quite simple if not a novice like me, but you simply install SS in any subfolder of \www and you modify the RewriteBase '/subfoldername' in the \www\.htaccess file. In my case, I just remove the SS installation from the root of \www and I used RewriteBase '/silverstripe', which was the original subfolder into which I installed SS. Works well, now.
|Go to Top|