Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Functionality of <% include Navigation %>

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: 1675 Views
  • rube
    Avatar
    Community Member
    8 Posts

    Functionality of <% include Navigation %> Link to this post

    Hi,
    Forgive for my grammar, Englishman is not my first language .

    1First.- I want to know which is exactly Navigation.ss's functionality.?

    2Second.- I can modify in order that my menu is drop-down?

    Thank you. I hope that they help me

  • Willr
    Avatar
    Forum Moderator
    5502 Posts

    Re: Functionality of <% include Navigation %> Link to this post

    all <% include * %> Does is include the code from another ss file into the file which it is called from. The functionality of the actually Navigation is found in themes/blackcandy/templates/Includes/Navigation.ss - which just has a control loop to output all the menu 1 items. For more info on controls for navigation etc see tutorial 1 which covers the basics

    You can modify that order in the CMS in the site tree on the left tick the allow drag and drop and then you can click and drag pages in the order you wish

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