Post by nettig23 » Thu Aug 03, 2017 4:27 pm

Hi there, im a beginner and I was attempting to edit the text codes on my contacts page and totally stuffed the page up and cant work out what im missing. I was initially trying to put my geocode in but thought I would remove the fax heading in the contact page and now its not working and I dont have enough knowledge on code to know what im missing. Can I send the a copy of the page to someone to take a look at. Its probably real simple to others. Thanks

Newbie

Posts

Joined
Sat May 27, 2017 6:38 pm

Post by paulfeakins » Thu Aug 03, 2017 5:03 pm

You can paste it here and ask for advice but if you want someone to fix it for you then you'll need to pay a developer from the Commercial Support forum.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by nettig23 » Thu Aug 03, 2017 7:04 pm

hi there and thank you, it is in the section regarding the fax. Somehow iv messed the code up when I deleted parts of it and re-pasted it. Hope someone can help please.


address>
<?php echo $address; ?>
</address>
<?php if ($geocode) { ?>
<a href="https://maps.google.com/maps?q=<?php echo urlencode($geocode); ?>&hl=<?php echo isset($geocode_hl) ? $geocode : 'en'; ?>&t=m&z=15" target="_blank" class="btn btn-info button"><i class="fa fa-map-marker"></i> <?php echo $button_map; ?></a>
<?php } ?>
</div>
<div class="col-sm-3 col"><strong><?php echo $text_telephone; ?></strong><br>
<?php echo $telephone; ?><br />
<br />
<?php } ?>
<?php if ($fax) { ?>
<strong><?php echo $text_fax; ?></strong><br />
<?php echo $fax; ?>
<?php } ?>
</div>
<div class="col-sm-3 col">
<?php if ($open) { ?>
<strong><?php echo $text_open; ?></strong><br />
<?php echo $open; ?><br />
<br />
<?php } ?>
<?php if ($comment) { ?>
<strong><?php echo $text_comment; ?></strong><br />
<?php echo $comment; ?>
<?php } ?>
</div>
</div>

Newbie

Posts

Joined
Sat May 27, 2017 6:38 pm

Post by cyclops12 » Sun Aug 06, 2017 11:32 pm

Why not just download a fresh version the same as the version you are running and replace the contact.tpl file as you have a few errors in your code.

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am
Who is online

Users browsing this forum: No registered users and 16 guests