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

Menu dissapears when using customise


Go to End


1697 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