Closed (won't fix)
Project:
Front Page
Version:
5.x-1.8
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Mar 2006 at 15:04 UTC
Updated:
30 Jan 2010 at 17:34 UTC
I appreciate having the font_page module for the flexibility is adds in changing the site homw page. However, in preparing a site to go public I've noticed that the content entered in /admin/settings/front_page does not seem to get indexed by the search module. Am I missing something?
Thanks.
Comments
Comment #1
dublin drupaller commentedWill look into this for you pwolanin - is it really holding back your site going live?
Dub
Comment #2
dublin drupaller commentedComment #3
pwolanin commentedThis won't stop us from going live with the site - we're doing it for a club not a business (and anyhow I know the the whole of drupal 4.7 is still in beta). However, I think it would be a good thing to address if you can.
Thanks!
Comment #4
pwolanin commentedThis won't stop us from going live with the site - we're doing it for a club not a business (and anyhow I know the the whole of drupal 4.7 is still in beta). However, I think it would be a good thing to address if you can.
Thanks!
Comment #5
dublin drupaller commentedjust changed this to a featur request instead of a bug.
Comment #6
morganl commentedI see that this issue is almost a year old now. Just wanted to add that I too would VERY much like to see front_page content indexed by drupal's search. I've had to resort to a hacky redirect form another page containing the same content (not a pretty solution). Not having the home page searchable is simply not an option for most of the sites I've done.
That said, thanks for an great and indispensable module.
Comment #7
pwolanin commentedI'm not sure how easy this is to do. Note, for example, that the Drupal mission statement is not searchable.
As far as I can tell, the search module only really lets you search content (nodes) not pages:
http://api.drupal.org/api/5/function/search_view
Comment #8
Phillip Mc commentedThe front page settings are stored in the variables table, so, I used Dublin Drupallers snippet for creating a front page layout switcher.
By using that way of controlling the front page layout, you are working with a node - which is picked up by the search.
Phil
Comment #9
morganl commentedThanks Phil, I hadn't seen that trick before. Very simple! You lose some features provided by front_page doing it that way though.
I've looked through the documentation at http://api.drupal.org and I think the answer might be getting front_page to call
search_index()somehow. Here's the description:So, maybe like this?
search_index(1, 'front_page', $var_that_holds_front_page_body)Comment #10
john.money commentedIf this feature could be made optional, it would be much appreciated. My take on it is that the front page is going to change pretty often, so any search results that turn up the front page may well be out of date when actually searched.
Comment #11
dublin drupaller commentedOpen this back up if you're still stuck.