Новости Joomla

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

gerzin

  • Новичок
  • 5
  • 0 / 0
Найти документ по коду
« : 22.08.2013, 14:34:34 »
Добрый день, поиском пользовался но ничего не нашел.
Суть проблемы такова: нужно найти в каком документе спрятан код, весь шаблон перелопатил не могу найти.
Подскажите пожалуйста в каком документе он может находиться.
сайт http://venerabeauty.ru/

нужно убрать с шапки "курсы парикмахеров Зеленоград"
Цитировать
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="ru-ru" dir="ltr" xml:lang="ru-ru" xmlns="http://www.w3.org/1999/xhtml" slick-uniqueid="3">
<head>
<body id="page_bg">
<div id="header">
<div id="headerlogo">
<h1>
<a href="/joomla16">Курсы парикмахеров Зеленоград</a>
</h1>
</div>
</div>
<div id="wrapper">
<div id="footer">
</body>
</html>
*

Pazys

  • Завсегдатай
  • 1738
  • 241 / 4
  • <a>А где я ошибся-то?</b>
Re: Найти документ по коду
« Ответ #1 : 22.08.2013, 14:45:24 »
/joomla16/templates/siteground-j16-38/index.php - там ...
Ишак меня нюхал ...
Если помог - плюсуйте в карму.
*

gerzin

  • Новичок
  • 5
  • 0 / 0
Re: Найти документ по коду
« Ответ #2 : 22.08.2013, 14:52:17 »
в этом весь и парадокс, нет такой строчки в индексе
Цитировать
<?php
/**
 * @version      $Id: index.php $
 * @package      Joomla.Site
 * @copyright   Copyright (C) 2009 - 2012 SiteGround.com - All Rights Reserved.
 * @license      GNU General Public License version 3 or later; see LICENSE.txt
   
 *   This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
// No direct access.

defined('_JEXEC') or die;
JHTML::_('behavior.framework', true);
/* The following line gets the application object for things like displaying the site name */
$app = JFactory::getApplication();
$tplparams   = $app->getTemplate(true)->params;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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" />
   <!-- The following line loads the template CSS file located in the template folder. -->
   <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>

<body id="page_bg">
   <div id="header">
      <div id="headerlogo">
         <h1><a href="<?php echo $this->baseurl ?>"><?php echo $app->getCfg('sitename'); ?></a></h1>      
      </div>
   </div>
   <div id="wrapper">
      <div id="menusearch">
         <div id="sgmenu">
            <jdoc:include type="modules" name="menuload" />
         </div>
      </div>
      <div id="search">
         <jdoc:include type="modules" name="position-0" />
      </div>
      <div id="content_m">
         <?php if ($this->countModules( 'position-7 and position-4' )) : ?>
         <div class="maincol">             
         <?php elseif( $this->countModules( 'position-7' ) ) : ?>
         <div class="maincol_w_left">
         <?php elseif( $this->countModules( 'position-4' ) ) : ?>
         <div class="maincol_w_right">
         <?php else: ?>
         <div class="maincol_full">
         <?php endif; ?>
            <?php if( $this->countModules('position-7') ) : ?>
               <div class="leftcol">
                  <div class="innercol">
                     <jdoc:include type="modules" name="position-7" style="rounded"/>
                  </div>
               </div>
               <?php endif; ?>
                  <div class="cont">
                  
                     <?php if( $this->countModules('position-5') ) : ?>
                        <div class="leftcol" id="pos5">
                           <div class="innercol">
                              <jdoc:include type="modules" name="position-5" style="rounded"/>
                           </div>
                        </div>
                     <?php endif; ?>
                     
                     <?php if( $this->countModules('position-6') ) : ?>
                        <div class="leftcol" id="pos6">
                           <div class="innercol">
                              <jdoc:include type="modules" name="position-6" style="rounded"/>
                           </div>
                        </div>
                     <?php endif; ?>
                     
                     <?php if ($this->countModules( 'position-7 or position-4' )) : ?>
                        <div class="clr"></div>
                     <?php endif; ?>
                  
                     <jdoc:include type="component" />
                  </div>
            <?php if( $this->countModules('position-4') ) : ?>
            <div class="rightcol">
               <div class="innercol">
                  <jdoc:include type="modules" name="position-4" style="rounded"/>
               </div>
            </div>
            <?php endif; ?>
            <div class="clr"></div>
            
         </div>
         </div>   
         </div>
         <div id="footer">
            <p style="text-align:center;"><?php $sg = ''; include "templates.php"; ?></p>
         </div>   
         </div>
      
      </div>
   </div>
</body>
</html>
*

Pazys

  • Завсегдатай
  • 1738
  • 241 / 4
  • <a>А где я ошибся-то?</b>
Re: Найти документ по коду
« Ответ #3 : 22.08.2013, 15:04:26 »
<?php echo $app->getCfg('sitename'); ?> - в настройках Joomla у вас есть пункт "Имя сайта" ... либо меняйте имя, либо удаляйте этот код и пишите свои буквы


Вот подробнее:

<body id="page_bg">
   <div id="header">
      <div id="headerlogo">
         <h1><a href="<?php echo $this->baseurl ?>"><?php echo $app->getCfg('sitename'); ?></a></h1>     
      </div>
   </div>
   <div id="wrapper">
      <div id="menusearch">
Ишак меня нюхал ...
Если помог - плюсуйте в карму.
*

gerzin

  • Новичок
  • 5
  • 0 / 0
Re: Найти документ по коду
« Ответ #4 : 22.08.2013, 15:10:06 »
спасибо большое, тему можно удалять
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Не могу найти где расположен текстовое лого и слоган

Автор petsyann

Ответов: 3
Просмотров: 1874
Последний ответ 06.04.2016, 17:55:37
от Shustry
Не могу найти background в шаблоне sj_snap

Автор by_voland

Ответов: 3
Просмотров: 1236
Последний ответ 01.12.2014, 13:12:29
от Shustry
Не могу найти конфликт стилей пагинации

Автор weber70

Ответов: 1
Просмотров: 1243
Последний ответ 24.10.2014, 13:49:53
от weber70
Как в Joomla найти и отредактировать файл через текстовый редактор?

Автор AndreXpert

Ответов: 8
Просмотров: 1960
Последний ответ 04.08.2014, 17:33:41
от AndreXpert
Как найти и заменить favicon.ico в шаблоне ja-portfolio?

Автор igorsuccess

Ответов: 2
Просмотров: 1526
Последний ответ 29.06.2014, 12:57:51
от igorsuccess