Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 0 Ответов
  • 2706 Просмотров
*

mbit

  • Осваиваюсь на форуме
  • 11
  • 0 / 0
Опишу суть потом вопрос
Есть шаблон на Joomla 2.5  http://templates-store.ru/catalog/template/38307
А вот сайт http://nesco.co.il

в левой части вкладка обратной связи сообщества http://community.nesco.co.il
в связи с тем что это сообщество закрывается  нужно поставить другую вкладку.

Но вот тут проблема не могу найти код этого виджета
вот привел код файла /index.php этого шаблона (ниже)
Пытался найти поиском по всем файлам (так как не я устанавливал этот виджет)

Выделил пустыми строками новый виджет (на сайте это видно)



есть ли возможности для поиска этого участка кода?

код виджета который нужно убрать с сайта
Код
<script type="text/javascript" charset="utf-8">
var proto = (document.location.protocol=='https:')?'https:':'http:';
var host = proto+'//widget.copiny.com';
document.write(unescape("%3Cscript src='" + host + "/static/js/widget.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript" charset="utf-8">
        var copinyWidgetOptions = {
position: 'left',
        type: 'problem',
color:   '#ff8400',
        border:   '#ffffff',
round:    '1',
title:   "\u041e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c",
        cache:   "9ca936d041c7637244c3fb8ef4a8ea6c\/9ca936d041c7637244c3fb8ef4a8ea6c\/ejOwVXUxULV0BZFOhqouhqoWBmC2AZhtBGa7IIm4aYMpQ7CQEUQIzDYHs50B",
        community:5219
};
initCopinyWidget(copinyWidgetOptions);
CopinyWidget.showTab();
</script>

/index.php

Код
<?php
/**
 * @version          $Id: index.php 20196 2011-01-09 02:40:25Z ian $
 * @package          Joomla.Site
 * @subpackage        tpl_beez2
 * @copyright        Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license          GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
defined('_JEXEC') or die;

$path = $this->baseurl.'/templates/'.$this->template;

JHTML::_('behavior.framework', true);

// get params

$logo        = $this->params->get('logo');
$app        = JFactory::getApplication();
$templateparams    = $app->getTemplate(true)->params;

if (isset($_GET['view'])) {$opt_content = $_GET['view'];} else {$opt_content="no_content";}
if (isset($_GET['layout'])) {$Edit = $_GET['layout'];} else {$Edit="no_edit";}
if (isset($_GET['option'])) {$option = $_GET['option'];}

$menus      = &JSite::getMenu();
$menu      = $menus->getActive();
$pageclass   = "";

if (is_object( $menu )) :
$params1 =  $menu->params;
$pageclass = $params1->get( 'pageclass_sfx' );
endif;
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $path ?>/css/position.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $path ?>/css/layout.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $path ?>/css/print.css" type="text/css" media="Print" />
<link rel="stylesheet" href="<?php echo $path ?>/css/personal.css" type="text/css" />

<link href='http://fonts.googleapis.com/css?family=Lato&amp;v2' rel='stylesheet' type='text/css'>
<!--[if lt IE 9]>
<style>
input.button,  button.button, .box-bg, .border, .word input,
.nivoSlider .nivo-controlNav, .maxiFancybackground, ul.maximenuCK li a.maximenuCK,
ul.maximenuCK li a.maximenuCK span, ul.maximenuCK li div.floatCK,  #content .search ,.registration,
.reset, .remind, .inputbox, .contact, .categories-list, .moduletable,  .button, div.floatCK, ul.maximenuCK li.level0 li a, #maximenuCK, 
button.validate, .item-page,  #content, .button, button, .readmore, .registration a,
.readon-art,  .readon, a.readon-news, a.readon-solution , .readon-welcome, a.readon-strategies, a.readon-leadership, a.readon-researches ,
.readon-services, .img-indent, .letter
  {
 behavior:url(<?php echo $path ?>/PIE.php);
}
</style>
<![endif]-->
<!--[if lt IE 7]>
    <div style=' clear: both; text-align:center; position: relative;'>
        <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.theie6countdown.com/images/upgrade.jpg" border="0" &nbsp;alt="" /></a>
    </div>
<![endif]-->
<script type="text/javascript" src="<?php echo $path ?>/javascript/html5.js"></script>
<?php $menu = & JSite::getMenu(); if ($menu->getActive()!= $menu->getDefault()): ?>
<script type="text/javascript" src="<?php echo $path ?>/javascript/jquery-1.4.2.min.js"></script>
<?php endif;?>
<script type="text/javascript" src="<?php echo $path ?>/javascript/cufon-yui.js"></script>
<script type="text/javascript" src="<?php echo $path ?>/javascript/cufon-replace.js"></script>
<script type="text/javascript" src="/templates/theme783/javascript/Myriad-pro.js"></script>
<script type="text/javascript" src="<?php echo $path ?>/javascript/jquery.easing.1.3.js"></script>
<script type="text/javascript">
  var $j = jQuery.noConflict();
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<?php
$menu = & JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {
    $numb_page="first ";
  }
else {
    $numb_page="all ";
  }
?>
<body class="<?php echo ''.$numb_page.''.$pageclass ?>">
<div id="all">




  <script type="text/javascript" src="//assets.zendesk.com/external/zenbox/v2.6/zenbox.js"></script>
<style type="text/css" media="screen, projection">
  @import url(//assets.zendesk.com/external/zenbox/v2.6/zenbox.css);
</style>
<script type="text/javascript">
  if (typeof(Zenbox)!== "undefined") {
    Zenbox.init({
      dropboxID:   "20194376",
      url:         "https://nesco.zendesk.com",
      tabTooltip:  "Поддержка",
      tabImageURL: "https://assets.zendesk.com/external/zenbox/images/tab_ru_support.png",
      tabColor:    "#FF8400",
      tabPosition: "Left"
    });
  }
</script>




    <div id="header">
      <div class="header-bg">
        <div class="main">
          <div class="container">
            <div class="logoheader">
              <h1 id="logo">
              <?php if ($logo): ?>
              <a href="<?php echo $this->baseurl?>" title="<?php echo htmlspecialchars($templateparams->get('sitetitle'));?>"><img src="<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($logo); ?>"  alt="<?php echo htmlspecialchars($templateparams->get('sitetitle'));?>" /></a>
              <?php endif;?>
              <?php if (!$logo ):
              echo htmlspecialchars($templateparams->get('sitetitle'));
              endif; ?>
              </h1>
            </div>
            <div class="navigation">
              <jdoc:include type="modules" name="user-1" />
            </div>
            <div class="clear1"></div>
          </div>
        </div>
      </div>
   
      <?php if($Edit != 'edit' && $option!='com_search') : ?>
      <div class="slider"><jdoc:include type="modules" name="user-2" style="xhtml"/></div>
      <?php endif; ?> 
   
    </div>   
    <!-- end header -->
   
    <div id="content">
   
      <div class="main">
        <div class="wrapper">
          <?php if($this->countModules('right') && $Edit != 'edit') : ?>
          <div id="sidebar-2" class="right">
            <jdoc:include type="modules" name="right" style="xhtml" />
          </div>
          <?php endif; ?>
          <?php if($this->countModules('left') && $Edit != 'edit') : ?>
          <div id="sidebar" class="left">
            <jdoc:include type="modules" name="left" style="xhtml" />
          </div>
          <?php endif; ?>
         
            <jdoc:include type="message" />
            <?php if(($opt_content != 'article' || $numb_page!='first ')  && $Edit != 'edit' && $option!='com_search') : ?>
              <jdoc:include type="modules" name="user-5"  style="xhtml" />
            <?php endif; ?>
            <jdoc:include type="component" />
            <jdoc:include type="modules" name="user-6" style="xhtml" />
          </div>
        </div>
      </div>
     
      <?php if($this->countModules('user-3') && ($opt_content != 'article')  && $Edit != 'edit' && $option!='com_search'): ?>
      <div class="top-columns">
        <div class="main">
         
          <div class="wrapper">
            <jdoc:include type="modules" name="user-3" style="xhtml" />
          </div>
         
        </div>
      </div>
      <?php endif; ?>
     
      <div id="services">
        <div class="main">
          <div class="wrapper"><jdoc:include type="modules" name="user-4" style="xhtml" /></div>
        </div>
      </div>
    </div>
   
  <div class="footer">
    <div id="footer">
   
              <p>
        <table border="0" style="margin: auto;">
        <tbody>
        <tr>
        <td><img src="images/logo22.png" alt="" /></td>
        <td> &nbsp; <a href="http://nesco.co.il/index.php/poryadok">Порядок оплаты товаров и услуг</a>.</td>
         
        <td>&nbsp; &nbsp;  &nbsp;  &nbsp;  <a href="http://nesco.co.il/index.php/news/124-user-agreement">Пользовательское соглашение</a>. <a href="http://nesco.co.il/index.php/usloviya">Условия работы</a>.</td>
        <td><p> &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp; &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   <a href="http://www.facebook.com/pages/Nesco/121704771184313"><img src="images/facebook.png" alt="" /></a> <a href="https://twitter.com/#!/academynesco"><img src="images/twitter.png" alt="" /></a> <a href="http://vk.com/nesco_network"><img src="images/vkontakte.png" alt="" /></a></p>
</td>
                   
        </tr>
         
         

        </tbody>
        </table>
<table border="0" style="margin: auto;">
                <tr>
                  <td>
                <!-- begin WebMoney Transfer : attestation label -->
<a href="https://passport.webmoney.ru/asp/certview.asp?wmid=051023862900" target=_blank><IMG SRC="http://www.webmoney.ru/img/icons/88x31_wm_v_blue_on_white_ru.png" title="Здесь находится аттестат нашего WM идентификатора 051023862900" border="0"><br><font size=1>Проверить аттестат</font></a>
                  </td>
                  <td><a href="http://webmoney.ru/" target=_blank><IMG SRC="/images/88x31_wm_blue_on_white_ru.png" title="Сайт Webmoney" border="0"><br><font size=1>Сайт Webmoney</font></a>              </td>
  </tr> </table>
               
               
<!-- end WebMoney Transfer : attestation label -->
        <!-- AddThis Button BEGIN -->

        </p>
           
   
     
      <!--{%FOOTER_LINK} -->
    </div>
  <!-- end footer -->
 
  </div>
</div>
<script type="text/javascript"> Cufon.now(); </script>

<!-- Start of HubSpot Logging Code  -->
<script type="text/javascript" language="javascript">
var hs_portalid=171734;
var hs_salog_version = "2.00";
var hs_ppa = "nescoco.app12.hubspot.com";
document.write(unescape("%3Cscript src='" + document.location.protocol + "//" + hs_ppa + "/salog.js.aspx' type='text/javascript'%3E%3C/script%3E"));
</script>
<!-- End of HubSpot Logging Code -->
 
</body>
</html>
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Картинка в шаблоне

Автор Alkor94

Ответов: 13
Просмотров: 3110
Последний ответ 23.05.2018, 03:04:28
от Alkor94
Добавить позицию модуля в шаблоне traction

Автор amaddeus

Ответов: 1
Просмотров: 2039
Последний ответ 27.04.2017, 22:23:31
от darkghost
Не работает mega menu в шаблоне sj_jare

Автор premisse

Ответов: 5
Просмотров: 4244
Последний ответ 28.02.2017, 21:35:24
от ddenov
Save failed в шаблоне YOO Nano3

Автор svarg

Ответов: 8
Просмотров: 4017
Последний ответ 06.01.2017, 18:34:00
от mogylshik
Решено: Социальные иконки в шаблоне Yoo Radiance

Автор Virocracy

Ответов: 7
Просмотров: 5464
Последний ответ 26.07.2016, 18:03:04
от OFFlineby