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.

Blog Module

Discuss the Blog Module.

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

Global Search doesn't work while on Blog Entries


12 Posts   2643 Views

Web Designer Perth

29 June 2009 at 8:32pm Community Member, 49 Posts

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


29 June 2009 at 8:39pm Forum Moderator, 5511 Posts

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

Web Designer Perth

29 June 2009 at 8:50pm Community Member, 49 Posts

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');

Web Designer Perth

3 July 2009 at 1:09pm Community Member, 49 Posts

Maybe add SOLVED to thread title?