znalazłem szablon który przypadł mi do gustu (http://demo.themexpert.com/index.php?show=gravity)
mozna go pobrać stąd (http://www.joomla24.com/option,com_remository/Itemid,4/func,fileinfo/id,4723.html)
Pobrałem, zainstalowałem, chce go włączyć a tu błąd
Cytat
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in c:\usr\krasnal\www\joomla\templates\tx_gravity\lib\php\tx.template.helper.php on line 12
Dany plik (tx.template.helper.php) pierwsze 40 linijek z 334:
<?php // no direct access //include TXParameters Helper class. include_once(LIB_PATH.'php/tx.param.helper.php'); class TXTemplateHelper extends TXParametersHelper{ var $_tpl = null; var $template = ''; public $doc; //Active parameters set function __construct($template){ parent::__construct(); $this->_tpl = $template; $this->template = $template->template; $this->doc= &JFactory::getDocument(); // ie browser if (array_key_exists('HTTP_USER_AGENT', $_SERVER) && preg_match('/(MSIE\\s?([\\d\\.]+))/', $_SERVER['HTTP_USER_AGENT'], $matches)) { } } /*public function &getInstance(){ static $instance; if($instance == NULL){ $instance = new TXTemplateHelper(); } return $instance; }*/
Proszę o pomoc : )