In the HEAD of the search_pages page the stylesheet 'search.css' is missing.

FIX:

Include in search_by_page.module on 823:

function _search_by_page_view($envstring) {
$environment = intval(drupal_substr($envstring, 3));

++ // Add CSS
++ drupal_add_css(drupal_get_path('module', 'search') .'/search.css', 'module', 'all', FALSE);

$path = explode('/', $_GET['q'], 2);
$keys = '';
etc

Sorry for I'm not good at creating patches.

Comments

jhodgdon’s picture

Version: 6.x-1.5 » 6.x-1.x-dev

That looks like a reasonable thing to do. I'll test and report back... Thanks! (No problem on not being able to make a patch -- for a one-line change like this it's not all that crucial.)

jhodgdon’s picture

Status: Active » Closed (won't fix)

I'm finally getting back to this issue, sorry...

So it looks like the Search module includes this CSS file in the search_form() function, not in search_view(). So if Search by Page were to add it, it would need to go into search_by_page_form().

I'm not convinced Search by Page should include that CSS file though. At this point, adding it might screw up people's site theming... So I think I'd better close this as a "won't fix". Sorry... That search.css file only has a few lines that would even apply to Search by Page anyway.

Of course, you can just put the CSS you want into your site's theme.

jhodgdon’s picture

Issue summary: View changes

< head > changed in HEAD