Jump to content
Sign in to follow this  
exclusivering

Как из шаблона удалить внешние ссылки

Recommended Posts

Здраствуйте!.

Установил шаблон black_justin.

В низу появились две внешних ссылки.

Не могу найти где они прописаны чтоб удалить.

Помогите пожалуйста.

Заранее спасибо за ответы.

 

Сайт: http://exclusive-ring.ru

Share this post


Link to post
Share on other sites

ссылки были "занесены" вместе счетчиком Яндекс Метрика в footer.tpl  там и ищите

<div id="autor">
... тут ссылки
</div>
  • +1 1

Share this post


Link to post
Share on other sites

 

ссылки были "занесены" вместе счетчиком Яндекс Метрика в footer.tpl  там и ищите

<div id="autor">
... тут ссылки
</div>

 

Все облазил) нету, с опен 2 дня как знаком,прости если вопрос глупый)

 

</div></div>

<div id="footer">

<div class="footer">

  <div class="column">

    <h3><?php echo $text_information; ?></h3>

    <ul>

      <?php foreach ($informations as $information) { ?>

      <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>

      <?php } ?>

    </ul>

  </div>

  <div class="column">

    <h3><?php echo $text_service; ?></h3>

    <ul>

      <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>

      <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>

      <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>

    </ul>

  </div>

  <div class="column">

    <h3><?php echo $text_extra; ?></h3>

    <ul>

      <li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>

      <li><a href="<?php echo $voucher; ?>"><?php echo $text_voucher; ?></a></li>

      <li><a href="<?php echo $affiliate; ?>"><?php echo $text_affiliate; ?></a></li>

      <li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>

    </ul>

  </div>

  <div class="column">

    <h3><?php echo $text_account; ?></h3>

    <ul>

      <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>

      <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>

      <li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>

      <li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>

    </ul>

  </div>

</div>

</div>

<!--

OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.

Please donate via PayPal to donate@opencart.com

//-->

<div id="powered"><span><!-- Yandex.Metrika informer -->

<a href="http://metrika.yandex.ru/stat/?id=22986280&from=informer"

target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/22986280/3_0_FFF720FF_FFD700FF_0_pageviews"

style="width:88px; height:31px; border:0;" alt="" title="" onclick="try{Ya.Metrika.informer({i:this,id:22986280,lang:'ru'});return false}catch(e){}"/></a>

<!-- /Yandex.Metrika informer -->

<!-- Yandex.Metrika counter -->

<script type="text/javascript">

(function (d, w, c) {

    (w[c] = w[c] || []).push(function() {

        try {

            w.yaCounter22986280 = new Ya.Metrika({id:22986280,

                    clickmap:true,

                    trackLinks:true,

                    accurateTrackBounce:true});

        } catch(e) { }

    });

    var n = d.getElementsByTagName("script")[0],

        s = d.createElement("script"),

        f = function () { n.parentNode.insertBefore(s, n); };

    s.type = "text/javascript";

    s.async = true;

    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";

    if (w.opera == "[object Opera]") {

        d.addEventListener("DOMContentLoaded", f, false);

    } else { f(); }

})(document, window, "yandex_metrika_callbacks");

</script>

<noscript><div><img src="//mc.yandex.ru/watch/22986280" style="position:absolute; left:-9999px;" alt="" /></div></noscript>

<!-- /Yandex.Metrika counter --></span></span></div>

<!--

OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.

Please donate via PayPal to donate@opencart.com

//-->

</body></html>

Share this post


Link to post
Share on other sites

коды желательно под спойлер прятать, не плодите тут портянки )))
хотелось бы еще взглянуть на Ваш header.tpl

терзают смутные сомнения что код внесен туда автором шаблона(как я понимаю это его копирайт)

Share this post


Link to post
Share on other sites

хотя конечно самый простой вариант решения проблемы: 

поменять в файле стилей начиная со строки 958, существующий код  
 

#autor{
margin:0;
position: fixed;
bottom:0px;
left:0px;
clear:both;
color:#666;
font-family:Arial, Helvetica, sans-serif;
font-size:8px;
z-index:0;

}

на
 

#autor{
display: none
}

проблема будет решена))))

  • +1 1

Share this post


Link to post
Share on other sites

Вот header.tpl:

Как спойлер тут делать не разобрался,т.ч. опять портянка)

<?php if (isset($_SERVER['HTTP_USER_AGENT']) && !strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) echo '<?xml version="1.0" encoding="UTF-8"?>'. "\n"; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">

<head>

<title><?php echo $title; ?></title>

<base href="<?php echo $base; ?>" />

<?php if ($description) { ?>

<meta name="description" content="<?php echo $description; ?>" />

<?php } ?>

<?php if ($keywords) { ?>

<meta name="keywords" content="<?php echo $keywords; ?>" />

<?php } ?>

<?php if ($icon) { ?>

<link href="<?php echo $icon; ?>" rel="icon" />

<?php } ?>

<?php foreach ($links as $link) { ?>

<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />

<?php } ?>

<link rel="stylesheet" type="text/css" href="catalog/view/theme/black_justin/stylesheet/stylesheet.css" />

<?php foreach ($styles as $style) { ?>

<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />

<?php } ?>

<?php

$sys=base64_decode('PGRpdiBpZD0iYXV0b3IiPg0KCTxwPkRlc2lnbjogPGJyLz48YSBocmVmPSJodHRwOi8vd3d3Lm9ncm9kemVuaWEtb3NrYXIucGwvaW5kZXgucGhwP3JvdXRlPXByb2R1Y3QvY2F0ZWdvcnkmcGF0aD02MCIgdGl0bGU9Ikdyb3R5Ij5Hcm90eTwvYT48L3A+DQogICAgICAgIDxwPjxhIGhyZWY9Imh0dHA6Ly93d3cuZHN3d3cucGwvb2ZlcnRhL3R3b3J6ZW5pZS1zdHJvbi1pbnRlcm5ldG93eWNoLmh0bWwiIHRpdGxlPSJUd29yemVuaWUgc3Ryb24gaW50ZXJuZXRvd3ljaCI+VHdvcnplbmllIHN0cm9uIGludGVybmV0b3d5Y2g8L2E+PC9wPg0KPC9kaXY+');

?>

<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>

<script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>

<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />

<script type="text/javascript" src="catalog/view/javascript/jquery/ui/external/jquery.cookie.js"></script>

<script type="text/javascript" src="catalog/view/javascript/jquery/colorbox/jquery.colorbox.js"></script>

<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/colorbox/colorbox.css" media="screen" />

<script type="text/javascript" src="catalog/view/javascript/jquery/tabs.js"></script>

<script type="text/javascript" src="catalog/view/javascript/common.js"></script>

<?php foreach ($scripts as $script) { ?>

<script type="text/javascript" src="<?php echo $script; ?>"></script>

<?php } ?>

<!--[if IE 7]>

<link rel="stylesheet" type="text/css" href="catalog/view/theme/black_justin/stylesheet/ie7.css" />

<![endif]-->

<!--[if lt IE 7]>

<link rel="stylesheet" type="text/css" href="catalog/view/theme/black_justin/stylesheet/ie6.css" />

<script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>

<script type="text/javascript">

DD_belatedPNG.fix('#logo img');

</script>

<![endif]-->

<?php echo $google_analytics; ?>

</head>

<body>

<?php echo $sys; ?>

<div id="header">

<?php if ($logo) { ?>

<div id="logo"><a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a></div>

<?php } ?>

<?php echo $language; ?>

<?php echo $currency; ?>

<?php echo $cart; ?>

<div id="search">

<div class="button-search"></div>

<?php if ($filter_name) { ?>

<input type="text" name="filter_name" value="<?php echo $filter_name; ?>" />

<?php } else { ?>

<input type="text" name="filter_name" value="<?php echo $text_search; ?>" onclick="this.value = '';" onkeydown="this.style.color = '#000000';" />

<?php } ?>

</div>

<div id="welcome">

<?php if (!$logged) { ?>

<?php echo $text_welcome; ?>

<?php } else { ?>

<?php echo $text_logged; ?>

<?php } ?>

</div>

<div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist-total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>

</div>

<?php if ($categories) { ?>

<div id="menu">

<div class="menu">

<ul>

<?php foreach ($categories as $category) { ?>

<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>

<?php if ($category['children']) { ?>

<div>

<?php for ($i = 0; $i < count($category['children']) ;) { ?>

<ul>

<?php $j = $i + ceil(count($category['children']) / $category['column']); ?>

<?php for (; $i < $j; $i++) { ?>

<?php if (isset($category['children'][$i])) { ?>

<li><a href="<?php echo $category['children'][$i]['href']; ?>"><?php echo $category['children'][$i]['name']; ?></a></li>

<?php } ?>

<?php } ?>

</ul>

<?php } ?>

</div>

<?php } ?>

</li>

<?php } ?>

</ul>

</div>

</div>

<div id="container">

<?php } ?>

<div id="notification"></div>

<div id="mainsite">

Share this post


Link to post
Share on other sites
$sys=base64_decode('PGRpdiBpZD0iYXV0b3IiPg0KCTxwPkRlc2lnbjogPGJyLz48YSBocmVmPSJodHRwOi8vd3d3Lm9ncm9kemVuaWEtb3NrYXIucGwvaW5kZXgucGhwP3JvdXRlPXByb2R1Y3QvY2F0ZWdvcnkmcGF0aD02MCIgdGl0bGU9Ikdyb3R5Ij5Hcm90eTwvYT48L3A+DQogICAgICAgIDxwPjxhIGhyZWY9Imh0dHA6Ly93d3cuZHN3d3cucGwvb2ZlcnRhL3R3b3J6ZW5pZS1zdHJvbi1pbnRlcm5ldG93eWNoLmh0bWwiIHRpdGxlPSJUd29yemVuaWUgc3Ryb24gaW50ZXJuZXRvd3ljaCI+VHdvcnplbmllIHN0cm9uIGludGVybmV0b3d5Y2g8L2E+PC9wPg0KPC9kaXY+');?>

2013-11-15_193036.png

post-20793-0-45103700-1384522290_thumb.png

  • +1 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.