PDA

Zobacz pełną wersję : Problem z templatkami joomla 1.6 na serverze ovh.pl



JohnMartell
24-03-2011, 13:04
Witam,
Mam problem z templatkami w joomla 1.6 na serverze ovh.pl, dodałem kilka przez ftp i nie widzi ich panelu administratora. W czym może tkwić problem? wgrałem templatki joomla 1.5 i 1.6 oba nie działają.

Z góry dzięki za pomoc

nikszal
24-03-2011, 13:32
dodałem kilka przez ftp i nie widzi ich panelu administratora. W czym może tkwić problem?

W Joomla 1.6 szablony się instaluje (niezależnie od hostingu).

JohnMartell
24-03-2011, 14:48
@niszkal - rzeczywiście zadziałało ale pojawił się błąd "Fatal error: Call to a member function getCfg() on a non-object in "

czy jest to związane z tym, że szblon jest pod joomlę 1.5 ? i czy wystarczy przerobić tylko index aby templatka działa ?


<?php
// no direct access
defined( '_JEXEC' ) or die;
?>
$app = JFactory::getApplication();
$live_site = $app->getCfg('live_site');
$template_path = $this->baseurl . '/templates/' . $this->template;
$show_flashheader = ($this->params->get("showFlashheader", 1) == 0)?"false":"true";
$show_logo = ($this->params->get("showLogo", 1) == 0)?"false":"true";
$show_date = ($this->params->get("showDate", 1) == 0)?"false":"true";
$show_breadcrumbs = ($this->params->get("showBreadcrumbs", 1) == 0)?"false":"true";
?>
<!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; ?>" >
<head>
<jdoc:include type="head" />

<link rel="shortcut icon" href="<?php echo $this->baseurl; ?>/images/favicon.ico" />
<link href="<?php echo $this->baseurl ?>/templates/system/css/system.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl ?>/templates/system/css/general.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/template_css.css" rel="stylesheet" type="text/css" />

<!--[if lte IE 6]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" />
<![endif]-->

co trzeba zminić??

nikszal
24-03-2011, 15:16
Nie tylko trzeba przerobić index.php ale i template_details.xml

Tutaj masz trochę info
http://forum.joomla.pl/showthread.php?50076-Szablon-instalacja-i-aktualizacja