Page 1 of 1
Search module
Posted: Fri Jul 28, 2006 6:20 pm
by jubydoo
I've been playing with the 1.0 betas, and have been really happy with the new search module. The only problem I have with it is that it won't work in our current site layout. You can see it for yourself at
http://www.darcorp.com/, but basically we have several links inline at the top of the page, and the search box is one of them. Because of the div tags in the layout of the search module, the text box lays out directly on top of the logo we have in the top right corner, and breaks the inline effect. I would go in to the script itself and just tweak it to do what I want, but I can't seem to find where the layout code is generated. Can anyone give me some suggestions?
Re: Search module
Posted: Fri Jul 28, 2006 7:00 pm
by westis
Hi jubydoo,
What div tags are you thinking of? The ones with class="hidden"? They are set in the CreateFormStart function in lib/classes/class.module.inc.php
But why are they causing you problems? They are just hidden anyway, aren't they?
But it doesn't look like you're using the Search module on the link you provided?
Re: Search module
Posted: Mon Jul 31, 2006 5:55 pm
by jubydoo
No, I wasn't using the search module on the link provided, I just put it up there to show what we were doing originally.
And the div with class 'hidden' actually did affect layout. It wasn't until I put ".hidden { display: none; }" into my stylesheet that it fixed the problem. It might be an idea to change the 'class="hidden"' in that tag to 'style="display: none;"' in future versions of the module if that is the intended effect of the div tag.
Re: Search module
Posted: Wed Aug 02, 2006 7:38 pm
by jubydoo
I noticed something else with the Search module (and if I should be posting this somewhere else, by all means let me know). The results page uses the capitalization of the search, not of the actual page name. For example, we have a page for our company founder Jan Roskam. However, if I use the Search module and search for "roskam", then the results page shows a link to his page, but the title is "Jan roskam", not "Jan Roskam" like the title of the page actually is.
Re: Search module
Posted: Wed Aug 02, 2006 7:42 pm
by calguy1000
That's the hiliting stuff probably, I'll take a look at it tonite