Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » Widgets and sub-menus gone from blog?

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 1047 Views
  • mrwindupbird
    Avatar
    Community Member
    26 Posts

    Widgets and sub-menus gone from blog? Link to this post

    Can someone help me debug why I can no longer see widgets or submenus on my site? This is the first website I have ever endeavored to create so it is quite a steep learning process... Any help is greatly appreciated!

    http://www.mrwindupbird.com/diary

    And here is the contents of my "navigation2.ss" file in the "Includes" folder... (it's worth noting that the submenus for both the gallery and the music section work perfectly!)

    -----------------------------------------------------------

    <% control Level(1) %>

    <% if Title = Gallery %>

    <% if Children %>
    <div class="widgetBox">
    <h2>Gallery</h2>
    <ul>
             <% control Children %>
             <li><a href="$Link" <% if LinkingMode %>class="$LinkingMode"<% end_if %>>$MenuTitle</a></li>   
             <% end_control %>
    </ul>
    </div>
    <% end_if %>

    <% else %>

    <% if Title = Music %>

    <% if Children %>
    <div class="widgetBox">
    <h2>Music</h2>
    <ul>
             <% control Children %>
             <li><a href="$Link" <% if LinkingMode %>class="$LinkingMode"<% end_if %>>$MenuTitle</a></li>   
             <% end_control %>
    </ul>
    </div>
    <% end_if %>

    <% else %>

    <% if Title = Blog %>
    <% else %>

    <% if Title = Forums %>
    <% else %>
    <% if Children %>
    <div class="widgetBox">
    <h2>Sub Menu</h2>
    <ul>
             <% control Children %>
             <li><a href="$Link" <% if LinkingMode %>class="$LinkingMode"<% end_if %>>$MenuTitle</a></li>   
             <% end_control %>
    </ul>
    </div>
    <% end_if %>
    <% end_if %>
    <% end_if %>
    <% end_if %>
    <% end_if %>
       <% end_control %>
       $SideBar
       <% include Cart %>
       

    --------------------------------------------------------

  • mrwindupbird
    Avatar
    Community Member
    26 Posts

    Re: Widgets and sub-menus gone from blog? Link to this post

    Bump.... anyone?

  • juneallison
    Avatar
    Community Member
    108 Posts

    Re: Widgets and sub-menus gone from blog? Link to this post

    Were you ever able to get your blog widgets to show again?

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