Zip and town in one row at contact

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Wed Nov 17, 2010 9:10 pm
I found out that the address is generatend by loadtemplate(xxx). Don´t know what that does, but I want to have the zip code and teh town within one row at my contacts.

Code: Select all
<?php echo $this->loadTemplate('address'); ?>


Hove to make that?

Regards
Oliver
User avatar
Fresh Boarder

GK User
Thu Nov 18, 2010 8:19 am
following this, since i need it to :)

hope some got an answer:)
User avatar
Platinum Boarder

GK User
Thu Nov 18, 2010 9:26 am
Found the solution:

You have to add the default_address.php from /components/com_contact/views/contact/tmpl
and copy that to the templates override folder /templates/gk_corporate2/html/com_contact/contact.
Than you can change the style of the appearance for the address.

I made a change to set the zip in front of the town. So please take a look at the file attached and copy it to the folder written above.
IMPORTANT: ONLY change the file within the template, NOT the original unless you know what you´re doing

Regards
Oliver
User avatar
Fresh Boarder

GK User
Thu Nov 18, 2010 11:10 am
thanks alot, works like a charm...
User avatar
Platinum Boarder


cron