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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Menu dissapears when using customise


Go to End


2183 Views

Avatar
wakes

Community Member, 7 Posts

4 September 2008 at 11:32am

Hi, having good fun building a site in silverstripe however I have come across a problem which I can't resolve.

When user does a search from a box which is on nearly every page (not a site search though), I am using

return $this->customise($results)->renderWith(array('ResultsPage', 'Page'))

to change the page layout to a results layout, however when I do this all Menus dissapear (e.g. Menu(1) and a call to ChildrenOf(utility-nav).

The main container template 'Page.ss' is otherwise displaying fine.

Any ideas?
Cheers,
Steve