Various Changes

insitefulweb's picture
insitefulweb
Tue, 04/19/2016 - 15:22
#1
Various Changes

I was wondering if it was possible to remove the div.footer-top completely from the template so the "locate us on map" doesn't show up.  Also, I don't want the social icons or the shopping cart to show up in the header.  Is there a way to change that in the template?  Lastly, I want to remove the social icons in the footer (or at least some of them) from the template. 

phuonght's picture
phuonght
Tue, 04/19/2016 - 22:56

Hi,

1 - Please go to sites\all\themes\md_avendor\templates\page, open files tpl.php then remove following code:

<?php if ($page['footer_first']): ?>
<div class="footer-top">
<a class="gmap-button">Locate us on map</a>
<div class="gmap-wrapper">
<?php print render($page['footer_first']); ?>
</div>
</div>
<?php endif; ?>

2 - Remove icon header: please go to configure at admin/structure/block. set region to none for 2 blocks MD Site: Header Social and View: Shop Cart Price

3 - Remove icon footer: please go to configure at admin/structure/block/manage/md_block_custom/mls_footer/configure to customize icons. 

phuonght's picture
phuonght
Wed, 04/20/2016 - 23:37

Sorry,

How about your site url?

phuonght's picture
phuonght
Thu, 04/21/2016 - 04:28

Sorry,

Could you check admin account again? We can not access. 

phuonght's picture
phuonght
Fri, 04/22/2016 - 00:31

- clean url instruction: https://www.ostraining.com/blog/drupal/clean-url/

- remove text of map: please replace 

<?php if ($page['footer_first']): ?>
<div class="footer-top">
<a class="gmap-button">Locate us on map</a>
<div class="gmap-wrapper">
<?php print render($page['footer_first']); ?>
</div>
</div>
<?php endif; ?>

with

<?php if ($page['footer_first']): ?>
<div class="footer-top">
<?php print render($page['footer_first']); ?>
</div>
<?php endif; ?>"

- security update: please take a look at following link https://www.ostraining.com/blog/drupal/updating-drupal-7-to-the-latest-v...

phuonght's picture
phuonght
Fri, 04/22/2016 - 22:53

1. check your memory_limit in php.ini and try to increase it, maybe this solution will solve problem. 
2. Please try below solution 
https://www.drupal.org/node/2269541

3. Could you send us your FTP account? We will help you remove "Local it on map". 

phuonght's picture
phuonght
Sun, 04/24/2016 - 22:14

Sorry,

We can not access your FTP. Could you check?

phuonght's picture
phuonght
Mon, 04/25/2016 - 03:58

Sorry,

We still can not login by getting error: "Authentication failed. You entered an incorrect username or password."

phuonght's picture
phuonght
Tue, 04/26/2016 - 23:31

Hi,

- Removed "Local us on map"

- Header background problem:

Your image a bit light so we can not recognize easily. If you would like to continue using that image, please add following CSS code to file md_avendor.css.

.bg-overlay {
opacity: 0.2;
}

with opacity: the value you can change to fit with your image to display well. 

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.