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

Installation is fine and smooth, but has a template problem, maybe.


Reply

7 Posts   1226 Views

Avatar
Ben_W

19 August 2008 at 6:47pm Community Member, 80 Posts

I have installed the silverstripe on our testing linux machine, followed online instruction, everything went smoothly. So I started to try out the online tutorial. In tutorial one, it talked about add title, menu, etc into Page.ss under /tutorial/ folder. However after I add those stuff, it has no effect on the site. It seems that the default site is taken value from another file, because adding new menu or remove menu has no effect on the front end. by the way, I did made sure I clicked 'Save and Publish', as well as flush the cache. not really sure what I did wrong here. Can someone please point me to the right direction?

Avatar
Pixel

20 August 2008 at 3:18am Community Member, 78 Posts

Are you talking about using the <% includes %>?
If so you should try removing them from the page.ss template, saving and then putting them back in and saving as it seems to cache heavily.

Avatar
Willr

20 August 2008 at 9:47am Forum Moderator, 5511 Posts

Did you install with the tutorial option?

Avatar
Ben_W

20 August 2008 at 3:33pm Community Member, 80 Posts

Hi Willr, all I did during the installation is entering the database login detals, making sure all folder mention in red are set with correct permission, then after the installation, I removed the install.php. Could you please tell me how to install silverstripe with tutorial option? I will reinstall it and look out for this option.

Avatar
Willr

20 August 2008 at 3:36pm Forum Moderator, 5511 Posts

Just above the database options is a option set area where you can select the theme

Avatar
Ben_W

20 August 2008 at 3:41pm Community Member, 80 Posts

One thing I need to clearify is that I can add new page and it will show up in the front end. What it does not do is, that if I add in following line in Page.ss:
<ul id="Menu1">
<% control Menu(1) %>
<li><a href="#">$MenuTitle</a></li>
<% end_control %>
</ul>
This code has no effect in the front end, because front end already display the level 1 menu.

Avatar
Ben_W

20 August 2008 at 5:43pm Community Member, 80 Posts

Hi Willr, thank you for your help. You are right. I originally select the option 'BlackCandy, default template ready to use'. which I should really choose option 'Empty template, ready to begin the tutorial'.
I have attached a screen shot, in case someone run into similar scenario. Thank you once again.