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.

Archive /

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

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

Menu dissapears when using customise


Reply


1242 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