1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Global Search doesn't work while on Blog Entries
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | ||
| Author | Topic: | 2109 Views |
-
Re: Global Search doesn't work while on Blog Entries

29 June 2009 at 8:32pm
For this uber-noob, can you please say which file/where needs that line?
-
Re: Global Search doesn't work while on Blog Entries

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 { ..)
-
Re: Global Search doesn't work while on Blog Entries

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');
-
Re: Global Search doesn't work while on Blog Entries

3 July 2009 at 1:09pm
Maybe add SOLVED to thread title?
| 2109 Views | ||
| Go to Top |


