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:

Template Questions /

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

Cant make menu


Go to End


3 Posts   677 Views

Avatar
DoubleT

Community Member, 2 Posts

23 October 2011 at 3:22am

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
Avatar
DoubleT

Community Member, 2 Posts

24 October 2011 at 9:40am

no one?

Avatar
Webdoc

Community Member, 349 Posts

24 October 2011 at 10:21am