View Full Version : URL in infoline, wrapping URL
George
04-07-2007, 05:39 PM
On my results page, which contains the search results inside a <div>, the infoline wraps down due to length. For the most part this works fine and everything actually looks great (or it will when I'm done editing things)
However, when the infoline wraps down... "URL:" is left on the upper line and the actual url itself is down on the next line which looks rather awkward. This also seems to happen on the Wrensoft site.
Is there a way to force "URL:" to wrap down ... or if not .... can it be removed while still leaving the actual url intact??
http://www.sumachpress.com/pricelist.htm
thanks
George
wrensoft
04-08-2007, 08:50 AM
If you edit the search script to change the space after the ":" to a non-breaking space, it might fix the problem.
You could also edit the language file to remove the "URL:" text. Or edit the language file to add a <br> before the URL: text to force a break.
Or you could turn off the "Terms matched" text to make more room for the URL.
George
04-08-2007, 03:28 PM
Ok, I edited the language file 'English.zlang' (which resideds in the Zoom search folder under Program Files)as follows:
STR_RESULT_URL=<br>URL:
Is this what you meant?
But I'm not sure how this is then put to use.... so I re-indexed and uploaded the new zdat files (all I could think of) ... is this correct? (in other words where does zoom use the zlang files?)
But in doing so the wrapping problem is unchanged.
Any clues?? I know the other options you mentioned are still available but I'd love to see if we can force "URL:" to wrap down.
Thanks
George
George
04-08-2007, 03:49 PM
OH!! I see that it is the settings.php file ... duh! Anyway, I uploaded it and it works. "URL:" is now down on the next line with the actual URL.
Cool.
George
wrensoft
04-08-2007, 11:07 PM
Yes, you always need to upload the settings file. Failing to upload the settings file will results in strange errors (a corrupted set of index files). The settings.php file also contains any customised language text.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.