PDA

Zobacz pełną wersję : Dodanie skryptu do body



grezliq
28-07-2013, 20:38
Witam,

proszę o pomoc

chcę dodać skrypt do body, dokładniej przed </body>. W jakim pliku mogę to zrobić? jeżeli chodzi o index.php templatki to znajduje się w nim:
<?php
/*
* ------------------------------------------------------------------------
* JA Purity II template for Joomla 2.5
* ------------------------------------------------------------------------
* Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com - http://www.joomlancers.com
* ------------------------------------------------------------------------
*/
// no direct access
defined ( '_JEXEC' ) or die ( 'Restricted access' );


if (class_exists('T3Template')) {
$tmpl = T3Template::getInstance();
$tmpl->setTemplate($this);
$tmpl->render();
return;
} else {
//Need to install or enable JAT3 Plugin
echo JText::_('Missing jat3 framework plugin');
}

Winnetou
29-07-2013, 10:37
Od takich rzeczy są rozszerzenia. Np:
http://www.softdesign-studio.pl/cms-joomla/produkcja-tresci/flexi-custom-code