Change the way the address is displayed

Your code modifications and patches you want to share with others.
Locked
jtwg
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Aug 29, 2006 6:28 pm

Change the way the address is displayed

Post by jtwg » Tue Aug 29, 2006 6:41 pm

The original file displays each piece of the address on it's own line.  The attached file is just a minor adjustment to display the city, state & Zip all on the same line.  You will have to rename the file as "contact.html.php" and upload it to: "components/com_contact"

Enjoy!

Example:
(before)
123 Main Street
Anytown
State
Country
Zip

(after)
123 Main Street
Anytown, State Zip
Country
You do not have the required permissions to view the files attached to this post.

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: Change the way the address is displayed

Post by Robin » Tue Aug 29, 2006 8:35 pm

Moderator note: moving from Joomla, General >> 3rd Party, Core hacks/patches

sneadm
Joomla! Intern
Joomla! Intern
Posts: 77
Joined: Tue May 05, 2009 12:48 pm

Re: Change the way the address is displayed

Post by sneadm » Sun Aug 23, 2009 6:16 pm

Attached is a new version of the file for Joomla 1.5.14. Install into your template/html directory under com_contact/contact/. Set your parameters for the menu item to Town:Show, State/County:Hide, Zip Code:Hide.
You do not have the required permissions to view the files attached to this post.


Locked

Return to “Core Hacks and Patches”