
- Спойлер
- <?php
/**
* @package yoo_infinite
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// include config
include_once(dirname(__FILE__).'/config.php');
// get warp
$warp = Warp::getInstance();
// load main template file, located in /layouts/template.php
echo $warp['template']->render('template');
Вы знаете пока ждал, сам разобрался, создал модуль с произвольным хтмл кодом и туда запихнул Ваш код предварительно отключив редактор. И все заработало Спасибо.