I want to be able index a page (using the search module) every time a page is saved. I can do this easily when I have created the model myself, but I don't know how to do this for pages.
There is actually a hook that comes with the search module that does just that. Add the following to your fuel/config/hooks.php file: include(SEARCH_PATH.'config/search_hooks.php');
Cool! Thank seemed to work. My concern is that I don't necessarily want it to index ALL of my modules. If a model doesn't have a view is it still indexed?
Comments
include(SEARCH_PATH.'config/search_hooks.php');