Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Functionality of <% include Navigation %>

Go to End

2 Posts   2075 Views


Community Member, 8 Posts

11 July 2008 at 4:36am

Edited: 11/07/2008 4:39am

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

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

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

Thank you. I hope that they help me


Forum Moderator, 5523 Posts

11 July 2008 at 9:21pm

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/ - 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