Gossamer Forum
Home : Products : Links 2.0 : Customization :

Address Problem

Quote Reply
Address Problem
I have added a address field in add.html page and its working fine. But my problem is that the address is displayed in the following format:
987, Christ Lane, Christ Church, New zealand
and i want it to be displayed in the follwing format
987,
Christ Lane,
Christ Church,
New Zealand
I m using the modified links version for classifieds
Please HELP
Regs
San

Quote Reply
Re: Address Problem In reply to
Some suggestions:

1) Add in separate fields for Street, City, and Country. -OR-
2) Use the following codes in your sub site_html_link routine:

Code:

$rec{'Address'}=~ s/, /LINE BREAK CODES/g;


Replace LINE BREAK CODES with the < br > (no space) code.

Regards,

Eliot Lee