Jump to:

3435 Posts in 1026 Topics by 866 members

Template Questions

SilverStripe Forums » Template Questions » Cant make menu

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

Page: 1
Go to End
Author Topic: 346 Views
  • DoubleT
    Avatar
    Community Member
    2 Posts

    Cant make menu Link to this post

    Hi,
    Today started to work with Silver Stripe and I really like this CMS.
    Started to make my own layout ( based on tutorial layout ), but stuck with one thing.
    I can't call sub-menus.

    <% if Menu(1) %>
                <% control Menu(1) %>
                   <% if Children %>
                      <% control Children %>
                      <li><a href="$Link">$Title</a></li>
                         <% if Children %>
                            <li>
                            <ul>
                            <% control Children %>
                            <li><a href="$Link">$Title</a></li>
                            <% end_control %>
                            </ul
                            </li>
                         <% end_if %>
                      <% end_control %>
                   <% end_if %>
                <% end_control %>
                <% end_if %>

    and screen from my admin panel ( where are all pages ) in attachment
    i want to show in sidebar items which are in menu(1) Katalogs.
    But Katalogs is checked out so it won't show in top menu.

    Attached Files
  • DoubleT
    Avatar
    Community Member
    2 Posts

    Re: Cant make menu Link to this post

    no one?

  • Webdoc
    Avatar
    Community Member
    332 Posts
    346 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.