PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

URL in infoline, wrapping URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • URL in infoline, wrapping URL

    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

  • #2
    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.

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


        • #5
          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.

          Comment

          Working...
          X