In the file includes/templates/westminster_new/templates/tpl_contact_us_default.php I am finding this code twice, once on line 20 and then again on line 52 (latest download of this template as of today):
PHP Code:
<?php if (CONTACT_US_STORE_NAME_ADDRESS== '1') { ?>
<address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address>
<?php } ?>
I have recently installed this template on 5 of my client's sites. On every single site the store address shows up twice on the 'Contact Us' page - even 3 times if the define page contains the store address and other wording.
I did get around this (what I would call a bug) by editing that file and removing the chunk starting at line 20, then changing the chunk starting at line 52 to read
PHP Code:
<?php if (DEFINE_CONTACT_US_STATUS == '0') { ?>
<address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address>
<?php } ?>
Cheers / Frank
Bookmarks