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:

Blog Module /

Discuss the Blog Module.

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

Global Search doesn't work while on Blog Entries


Go to End


12 Posts   3651 Views

Avatar
Web Designer Perth

Community Member, 49 Posts

29 June 2009 at 8:32pm

For this uber-noob, can you please say which file/where needs that line?

Avatar
Willr

Forum Moderator, 5523 Posts

29 June 2009 at 8:39pm

In your Page_Controller class in the mysite/code/ folder. Normally goes at the top of the class (after the extends Page_Controller { ..)

Avatar
Web Designer Perth

Community Member, 49 Posts

29 June 2009 at 8:50pm

Thx willr.

For other noobs like me: insert fix in this file: mysite/code/page.php

class Page_Controller extends ContentController {
	
	//FIX for global search in blog entries
	static $allowed_actions = array('SearchForm');
	
	

Avatar
Web Designer Perth

Community Member, 49 Posts

3 July 2009 at 1:09pm

Maybe add SOLVED to thread title?

Go to Top