Post by sheridangraphics » Sun Oct 30, 2016 1:54 am

Hi,

Would any one know how to remove the google location bar?? its in my contact page and I'm trying to remove it

my website is sheridangraphics.co.uk > contact page you will see it there.

How do I completely get rid of it?/

Thanks!

New member

Posts

Joined
Fri Feb 20, 2015 12:47 am

Post by imdevlper18 » Sun Oct 30, 2016 4:46 pm

In opencart 1.5 there is no google location bar in default theme.

So you need to check your theme contact.tpl
catalog/view/theme/THEME NAME/template/information/contact.tpl

And check the code and remove it.

In opencart 2.0 version, you can just remove geo code from admin -> system -> settings - store - edit .
And it shall remove it.

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm

Post by sheridangraphics » Sun Oct 30, 2016 11:17 pm

but I've checked it and its not there, the code I'm getting is as follows :

Code: Select all

<?php if (!isset($is_j2_popup)): ?>
<?php echo $header; ?>
<div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
</div>
<?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content" class="contact-page"><h1 class="heading-title"><?php echo $heading_title; ?></h1><?php echo $content_top; ?>
<?php endif; ?>
  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
    <?php if (isset($product_id) && $product_id): ?>
    <input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
    <?php endif; ?>
    <?php if (!isset($is_j2_popup)): ?>
    <div class="contact-info">
    <?php endif; ?>
    <div class="content">
    <b><?php echo $entry_name; ?></b><br />
    <input type="text" name="name" value="<?php echo $name; ?>" />
    <br />
    <?php if ($error_name) { ?>
    <span class="error"><?php echo $error_name; ?></span>
    <?php } ?>
    <br />
    <b><?php echo $entry_email; ?></b><br />
    <input type="text" name="email" value="<?php echo $email; ?>" />
    <br />
    <?php if ($error_email) { ?>
    <span class="error"><?php echo $error_email; ?></span>
    <?php } ?>
    <br />
    <b><?php echo $entry_enquiry; ?></b><br />
    <textarea name="enquiry" cols="40" rows="10"><?php echo $enquiry; ?></textarea>
    <br />
    <?php if ($error_enquiry) { ?>
    <span class="error"><?php echo $error_enquiry; ?></span>
    <?php } ?>
    <br />
    <b><?php echo $entry_captcha; ?></b><br />
    <input type="text" name="captcha" value="<?php echo $captcha; ?>" />
    <br />
    <img src="index.php?route=information/contact/captcha" alt="" />
    <?php if ($error_captcha) { ?>
    <span class="error"><?php echo $error_captcha; ?></span>
    <?php } ?>
    </div>
    <?php if (!isset($is_j2_popup)): ?>
    <div class="buttons">
        <div class="right"><input type="submit" value="<?php echo $button_continue; ?>" class="button" /></div>
    </div>
    <?php endif; ?>
  </form>
<?php if (!isset($is_j2_popup)): ?>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>
<?php endif; ?>

New member

Posts

Joined
Fri Feb 20, 2015 12:47 am

Post by imdevlper18 » Mon Oct 31, 2016 9:24 pm

It must be coming from some custom modules. Can't say.

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm

Post by knowband.plugins » Fri Nov 04, 2016 7:01 pm

It is coming from CMS block of your Journal theme.

To remove this you need to follow below steps:

1. Login Admin panel
2. Go to Journal theme > CMS Block
3. Identify module which is showing this map on contact page and disable it.

If you are not able to identify the module in Journal theme, you can also use below code to remove it from contact page.

Code: Select all

</script>$(document).ready(function(){
$('#journal-cms-block-1886144212').html('');
});
</script>
Add above code in before <?php echo $footer; ?> in file /catalog/view/theme/journal2/template/information/contact.tpl

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm

Who is online

Users browsing this forum: No registered users and 44 guests