Author Topic: remove contact us link on top of the menu  (Read 4565 times)

Offline chousg

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
remove contact us link on top of the menu
« on: July 09, 2014, 06:28:39 AM »
sir/madam

I like to remove this item "contact" from the menu item.
I follow this instruction (previous posting) and locate this content.tpl, however, the section is missing from my file:

/public_html/storefront/view/default/template/blocks/content.tpl
and remove line
Code: [Select]
<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>

Below is the content of my file, appreciate your help:
<div class="s_block">
   <div class="block_tl">
      <div class="block_tr">
         <div class="block_tc"><img src="<?php echo $this->templateResource('/image/information.png'); ?>" alt="" /><?php echo $heading_title; ?></div>
      </div>
   </div>
    <div class="block_cl">
       <div class="block_cr">
           <div class="block_cc">
               <div class="information"><ul>
                   <?php foreach ($contents as $content) { ?>
                   <li><a href="<?php echo $content['href']; ?>"><?php echo $content['title']; ?></a></li>
                   <?php } ?>
                   
                   
                   <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
                </ul></div>
            </div>
        </div>
    </div>
   <div class="block_bl">
      <div class="block_br">
         <div class="block_bc">&nbsp;</div>
      </div>
   </div>
</div>


Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: remove contact us link on top of the menu
« Reply #1 on: July 11, 2014, 12:57:35 PM »
Storefront menu is managed in admin. No need to look at the code
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: remove contact us link on top of the menu
« Reply #2 on: July 14, 2014, 05:54:16 AM »
I like to remove this item "contact" from the menu item.
I follow this instruction (previous posting) and locate this content.tpl, however, the section is missing from my file:

Hello. What template do you have and where you want to remove contact us (header, footer, menu)?

 

Powered by SMFPacks Social Login Mod