Search module
Search module
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
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?
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
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.
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
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.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Search module
That's the hiliting stuff probably, I'll take a look at it tonite
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.