Новости Joomla

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

Как убрать вот эти теги:

  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />

и изменить тег <title> ?
« Последнее редактирование: 26.10.2009, 19:45:56 от PaLyCH »
*

SmokerMan

  • Гуру
  • 5293
  • 720 / 26
Re: Как убрать в 1,5 Джумле мета теги ?
« Ответ #1 : 19.01.2009, 19:43:00 »
Файл libraries\joomla\document\html\renderer\head.php

Закомментировать строку #83:
Код
$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
« Последнее редактирование: 29.01.2009, 07:31:45 от Greycat »
*

MoonRainbow

  • Осваиваюсь на форуме
  • 26
  • 5 / 0
http://www.wzcreativetechnology.com/joomla/joomla-tips-and-tricks/73-how-to-remove-meta-tag-qgeneratorq-in-joomla.html
Код
How to remove meta tag "generator" in Joomla  

On a page that is generated by Joomla, by default you will always see a meta tag like following

<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />

How can you remove it generator meta tag from Joomla 1.5?

There are two ways you can do it.

The easy way is go to Extensions >> Template Manager open your default template and click on "Edit HTML" add following one line of code anywhere between <head>  and </head>

<?php $this->setGenerator('Your own words or leave it empty'); ?>

Done
 
The second way will completely remove the generator meta tag from Joomla
Open /libraries/joomla/document/html/renderer/head.php with your favor editor
search for "generator" (around line 83-84).
add // to the beginning of the line

$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
becomes
//$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

Save and Done
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Отличия Joomla 1.5 от Joomla 1.0?

Автор Karyuudo

Ответов: 44
Просмотров: 59713
Последний ответ 25.12.2019, 13:44:11
от beliyadm
Удаление url(ссылок) из Joomla

Автор simon.temp

Ответов: 20
Просмотров: 4505
Последний ответ 13.05.2019, 22:32:00
от ChaosHead
Неправильное отображение на сайте Joomla формы обратной связи из битрикс24

Автор vasil71

Ответов: 1
Просмотров: 2716
Последний ответ 04.04.2019, 11:05:29
от Technic
Обновление сайта на Joomla 1.5.26

Автор ALexVKH

Ответов: 4
Просмотров: 4021
Последний ответ 26.03.2018, 14:54:02
от SeBun
Как написать код на Java и вставить его в Joomla-сайт?

Автор geodx

Ответов: 9
Просмотров: 4587
Последний ответ 27.02.2018, 16:15:59
от effrit