Fuel search module

2»

Comments

  • edited 6:51AM
    Nitesh, this seems to be in posted in the wrong discussion thread. I think the easiest way would be to use the "link_pdfs" and "link_filters" parameter with the "link_filters" being something like:
    ...'link_filter' => '.+\.pdf', 'link_pdfs' => TRUE...
    http://docs.getfuelcms.com/general/forms#wysiwyg

    Unfortunately, I noticed while testing this out that there was a bug. I've posted a fix in the FUEL develop branch that has this fixed:
    https://github.com/daylightstudio/FUEL-CMS/tree/develop
  • edited 6:51AM
    thanks Admin
    when I call to search controller function. It is showing me blank page. I try to put echo to display something but still It is showing me blank page.
    please help me out
  • edited 6:51AM
    What is the URL you are calling?
  • edited 6:51AM
    thanks admin for reply. I got solution.
  • edited 6:51AM
    Any tips on how to get the indexing to work? In my console's Network tab, I either get one of two errors: "This operation timed out after 300 seconds..." or in my AJAX response tab, it just outputs <pre style="text-align: left;"></pre>.

    My tools/search page remains blank and no other errors come up. I don't see a posted URL in the ajax request like what you posted earlier in this thread: http://localhost/fuel/tools/search/index_site?pages=articles/article/my_slug_value&format=raw

    When I search, I get no results.

    I installed the search module via cmd and it seems to have worked. I also enabled the module in MY_fuel.php and configured the module's settings.
  • edited 6:51AM
    Usually that will happen if the indexer doesn't find a match with the delimiters provided in the config. I would copy the fuel/modules/search/config/search.php file to fuel/application/config/search.php and make changes to that file (which will override any defaults that came with the module). The first one to look at is the "delimiters" value which can be either an HTML node or xpath path of your page templates:
    $config['search']['delimiters'] = array( '<div id="main">', '//meta[@name="keywords"]/@content', );
    You may also want to put in a base_url config value (near the top of the config file:
    $config['search']['base_url'] = 'localhost';
    This will help if you run the search indexing via command line:
    >php index.php fuel/tools/search/index_site
Sign In or Register to comment.