Hi,
Just wanted to follow up on this, since I found the solution - and then it's time to share (with othter Danes or people who have same needs as above).
Edit in core Joomla file:
/components/com_contact/views/contact/tmpl/default_address.php
1.png
This will check if zipcode or town is not null. If so, show it like: 6000 Kolding
2.png
Hope you can use it
Henrik
Code:
- Code: Select all
<?php if ( $this->contact->postcode && $this->contact->params->get( 'show_postcode' ) || $this->contact->suburb && $this->contact->params->get( 'show_suburb' ) ) : ?>
<tr>
<td valign="top">
<?php if ( $this->contact->postcode && $this->contact->params->get( 'show_postcode' ) ) : ?>
<?php echo $this->escape($this->contact->postcode); ?>
<?php endif; ?>
<?php if ( $this->contact->suburb && $this->contact->params->get( 'show_suburb' ) ) : ?>
<?php echo $this->escape($this->contact->suburb); ?>
<?php endif; ?>
</td>
</tr>
<?php endif; ?>