Results 1 to 2 of 2

Thread: Listing page field display problem

  1. #1 Guest

    Default Listing page field display problem

    Hi There,
    I've scripted up a template that works ok apart from one problem. My google map function doesnt work if the description has a newline in it. I am passing {listing_field_full_desc_value} into the javascript that generates the map, however I think I need to check that string and escape it or something to get it to display nicely.
    Any clue as to how I can do this? Site with page including working map is here :
    Comments are welcomed.

  2. #2
    Join Date
    Apr 2010

    Default Re: Listing page field display problem

    Pardon me saying so but this seems a bit redundant given that the full description is at the top of the page. Why not add a field to the listing template called short description and use a paragraph without newlines. Other than that you are going to have to write a script or an include to pull the string {full description} apart and replace linefeeds with some character that the google javascript will understand or accept.

    good luck

Similar Threads

  1. Customize search page field display - help please
    By newb in forum Addon help, ideas and discussion (CLOSED)
    Replies: 0
    Last Post: 12-25-2009, 06:19 PM
  2. Display uploaded file on page other than the listing
    By Biscuit in forum General Help (CLOSED)
    Replies: 2
    Last Post: 11-24-2009, 05:47 PM
  3. Customize Search Page Field Display
    By nickCR in forum Addon Releases (FREE) (CLOSED)
    Replies: 2
    Last Post: 08-05-2009, 09:48 PM
  4. How to display listing browse as main page?
    By xavier in forum General Help (CLOSED)
    Replies: 0
    Last Post: 08-04-2006, 12:05 PM
  5. Enlarged Listing Photo Display problem
    By accountant1040 in forum General Help (CLOSED)
    Replies: 0
    Last Post: 05-29-2006, 05:47 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts