PDA

Zobacz pełną wersję : Dodanie pozycji "left"



swpawel
25-09-2012, 12:27
Witam, bardzo proszę o pomoc w dodaniu pozycji left w tym szablonie: http://www.joomlaxe.com/template/84-minimalist-joomla-15-template-from-kreatifit.html , probowalam juz robic według kilku instrukcji ale niestety jestem w tym ciemna i nie umiem, proszę o pomoc, mogę nawet zapłacic.

- - - Updated - - -

Podaje kod który jest w index.php


<?php
defined('_JEXEC') or die('Restricted access'); // no direct access
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'parameters.php';
$document = isset($this) ? $this : null;
$baseUrl = $this->baseurl;
$templateUrl = $this->baseurl . '/templates/' . $this->template;
kmxComponentWrapper($document);
?>
<!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="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" />
<!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]-->
<script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script>
</head>
<body>
<div class="PageBackgroundGradient"></div><div class="Main">
<div class="Page">
<div class="Page-tl"></div><div class="Page-tr"></div><div class="Page-bl"></div><div class="Page-br"></div><div class="Page-tc"></div><div class="Page-bc"></div><div class="Page-cl"></div><div class="Page-cr"></div><div class="Page-cc"></div><div class="Page-body">
<div class="Header">
<div class="Header-jpeg">
<h1 class="logo"><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a></h1>
</div><div class="search">
<jdoc:include type="modules" name="user4" />
</div></div><jdoc:include type="modules" name="user3" />
<jdoc:include type="modules" name="banner1" style="xhtml" />
<?php echo kmxPositions($document, array('top1', 'top2', 'top3'), 'kmblock'); ?>
<div class="contentLayout">
<div class="<?php echo kmxCountModules($document, 'right') ? 'content' : 'content-wide'; ?>">
<div id="pathway" class="wrap"><div class="inner"><jdoc:include type="module" name="breadcrumbs" /></div></div>
<?php if (kmxHasMessages()) : ?><div class="Post">
<div class="Post-body">
<div class="Post-inner">
<div class="PostContent">






<jdoc:include type="message" />


</div><div class="cleared"></div></div><?php endif; ?>
<jdoc:include type="component" />


<?php echo kmxModules($document, 'banner4', 'xhtml'); ?>


<?php echo kmxModules($document, 'banner5', 'xhtml'); ?>
</div><?php if (kmxCountModules($document, 'right')) : ?>
<div class="sidebar1"><?php echo kmxModules($document, 'right', 'kmblock'); ?>
<jdoc:include type="modules" name="user1" style="kmblock"/>
<jdoc:include type="modules" name="user2" style="kmblock"/>
</div><?php endif; ?>










</div>
<div class="cleared"></div>
<?php echo kmxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'kmblock'); ?>
<jdoc:include type="modules" name="banner6" style="xhtml" />
<div class="Footer">
<div class="Footer-inner">
<div class="Footer-text">
<?php if (kmxCountModules($document, 'copyright') == 0): ?>
<p>Copyright &copy; 2011</p>
<?php else: ?>
<?php echo kmxModules($document, 'copyright', 'xhtml'); ?>
<?php endif; ?>
</div></div>
<div class="Footer-background"></div>

pawelSafiStudio
25-09-2012, 12:32
Witaj,

http://docs.joomla.org/Module_positions

Chyba, że chodzi Ci o zbudowanie szablonu 3 kolumnowego. Bo dodanie pozycji left ma dwojakie znaczenie :) Jeśli chcesz stworzyć 3 kolumnową szatę to wymaga to trochę więcej pracy, jeśli autor szablonu tego nie przewidział.

Pozdrawiam.

swpawel
25-09-2012, 12:36
Chciałam aby w środku było aktualności i po dwóch stronach kolumny. Nie otwiera mi się ten dokument.

pawelSafiStudio
25-09-2012, 12:57
http://www.joomlaxe.com/template/84-minimalist-joomla-15-template-from-kreatifit.html?tp=1

ten szablon nie ma przewidzianych trzech kolumn, więc modyfikacje, o których mówisz będą wiązały się z większą pracą tj. poszerzenie całego szablonu i dodanie dodatkowej kolumny. Jeśli nie czujesz się w tym najlepiej to możesz dodać wątek do działu zleceń. Wówczas na pewno ktoś zmodyfikuje ten szablon dla Ciebie.