Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Stuck in tutorial 1

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 431 Views
  • Chontell
    Community Member
    1 Post

    Stuck in tutorial 1 Link to this post


    I am very new to Silverstripe and have not used a CMS before but I am keen to learn.

    I am currently stuck on creating a second menu in tutorial one, all my code looks the same as in the tutorial however when i publish my site this does not show however the second menu shows in the draft?

    Can anyone help me please?

    This is my code below:

    <div id="Main">
    <ul id="Menu1">
    <% control Menu(1) %>
    <li class="$LinkingMode">
    <a href="$Link" title="Go to the &quot;{$Title}&quot; page">$MenuTitle</a>
    <% end_control %>
    <div id="Header">

    <div id="ContentContainer">

    <% if Menu(2) %>
    <ul id="Menu2">
    <% control Menu(2) %>
    <li class="$LinkingMode"><a href="$Link" title="Go to the &quot;{$Title}&quot; page">$MenuTitle</a></li>
    <% end_control %>
    <% end_if %>

    <div id="Content" class="typography">

    <% if Level(2) %>
    <div class="breadcrumbs">
    <% end_if %>

    Many thanks


  • cumquat
    Community Member
    196 Posts

    Re: Stuck in tutorial 1 Link to this post

    Hi ya,

    Welcome to Silverstripe.

    Did you remember to dev/build?flush=1 and or flush the cache ?flush=1


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.