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.

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   4920 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