Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Installation is fine and smooth, but has a template problem, maybe.

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: 1211 Views
  • Ben_W
    Avatar
    Community Member
    80 Posts

    Installation is fine and smooth, but has a template problem, maybe. Link to this post

    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?

  • Pixel
    Avatar
    Community Member
    78 Posts

    Re: Installation is fine and smooth, but has a template problem, maybe. Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Installation is fine and smooth, but has a template problem, maybe. Link to this post

    Did you install with the tutorial option?

  • Ben_W
    Avatar
    Community Member
    80 Posts

    Re: Installation is fine and smooth, but has a template problem, maybe. Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Installation is fine and smooth, but has a template problem, maybe. Link to this post

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

  • Ben_W
    Avatar
    Community Member
    80 Posts

    Re: Installation is fine and smooth, but has a template problem, maybe. Link to this post

    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.

  • Ben_W
    Avatar
    Community Member
    80 Posts

    Re: Installation is fine and smooth, but has a template problem, maybe. Link to this post

    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.

    1211 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.