tomekSz
13-09-2012, 23:36
Witam,
Mam problem polegający na tym, że nie działa mi na stronie żadna aktywna zawartośc, typu slidery itp. Stronę zbudowałem sam, więc być może o czymś zapomniałem...
Czy możecie mi w tym jakoś pomóc?
Nie wiem co ewentualnie może być Wam potrzebne, aby zdiagnozowac problem, więc podaję na początek kod pliku index.php ( pewnie w nim jakis problem, lub braki ):
<?php
defined('_JEXEC') or die;
jimport('joomla.filesystem.file');
JHtml::_('behavior.framework', true);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template; ?>/css/default.css" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Cantora+One' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="naglowek">
<div id="logo">
<jdoc:include type="modules" name="logo" style="xhtml" /> </div>
<div id="pos1">
<jdoc:include type="modules" name="pos1" style="xhtml" /> </div>
<div id="pos2">
<jdoc:include type="modules" name="pos2" style="xhtml" /> </div>
<div id="mainmenu">
<jdoc:include type="modules" name="mainmenu" style="xhtml" /> </div>
</div>
<div id="breadcroumbs">
<jdoc:include type="modules" name="breadcroumbs" style="xhtml" /> </div>
<?php if($this->countModules('user1')):?>
<div id="reklamowe">
<div id="user1">
<jdoc:include type="modules" name="user1" style="xhtml" /> </div>
<div id="user2">
<jdoc:include type="modules" name="user2" style="xhtml" /> </div>
<div id="user3">
<jdoc:include type="modules" name="user3" style="xhtml" /> </div>
<div id="user4">
<jdoc:include type="modules" name="user4" style="xhtml" /> </div>
</div>
<?php endif; ?>
<div id="contentarea">
<?php if($this->countModules('leftcolumn')):?>
<div id="leftcolumn">
<jdoc:include type="modules" name="leftcolumn" style="xhtml" /> </div>
<?php endif; ?>
<div id="wholecontent">
<div id="contentmodulestop">
<jdoc:include type="modules" name="contentmodulestop" style="xhtml" />
</div>
<div id="content">
<jdoc:include type="component" />
</div>
<div id="contentmodulesbottom">
<jdoc:include type="modules" name="contentmodulesbottom" style="xhtml" /> </div>
<div id="rightcolumn">
<jdoc:include type="modules" name="rightcolumn" style="xhtml" /> </div>
</div>
</div>
<div id="producenci">
<jdoc:include type="modules" name="producenci" style="xhtml" /> </div>
<div id="adres">
<jdoc:include type="modules" name="adres" style="xhtml" /> </div>
<div id="stopka">
<div id="minifooter">
<jdoc:include type="modules" name="minifooter" style="xhtml" /> </div>
<div id="footer">
<jdoc:include type="modules" name="footer" style="xhtml" /> </div>
<div id="promofooter">
<jdoc:include type="modules" name="promofooter" style="xhtml" /> </div>
</div>
<jdoc:include type="modules" name="debug" />
</div>
</body>
</html>
Mam problem polegający na tym, że nie działa mi na stronie żadna aktywna zawartośc, typu slidery itp. Stronę zbudowałem sam, więc być może o czymś zapomniałem...
Czy możecie mi w tym jakoś pomóc?
Nie wiem co ewentualnie może być Wam potrzebne, aby zdiagnozowac problem, więc podaję na początek kod pliku index.php ( pewnie w nim jakis problem, lub braki ):
<?php
defined('_JEXEC') or die;
jimport('joomla.filesystem.file');
JHtml::_('behavior.framework', true);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template; ?>/css/default.css" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Cantora+One' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="naglowek">
<div id="logo">
<jdoc:include type="modules" name="logo" style="xhtml" /> </div>
<div id="pos1">
<jdoc:include type="modules" name="pos1" style="xhtml" /> </div>
<div id="pos2">
<jdoc:include type="modules" name="pos2" style="xhtml" /> </div>
<div id="mainmenu">
<jdoc:include type="modules" name="mainmenu" style="xhtml" /> </div>
</div>
<div id="breadcroumbs">
<jdoc:include type="modules" name="breadcroumbs" style="xhtml" /> </div>
<?php if($this->countModules('user1')):?>
<div id="reklamowe">
<div id="user1">
<jdoc:include type="modules" name="user1" style="xhtml" /> </div>
<div id="user2">
<jdoc:include type="modules" name="user2" style="xhtml" /> </div>
<div id="user3">
<jdoc:include type="modules" name="user3" style="xhtml" /> </div>
<div id="user4">
<jdoc:include type="modules" name="user4" style="xhtml" /> </div>
</div>
<?php endif; ?>
<div id="contentarea">
<?php if($this->countModules('leftcolumn')):?>
<div id="leftcolumn">
<jdoc:include type="modules" name="leftcolumn" style="xhtml" /> </div>
<?php endif; ?>
<div id="wholecontent">
<div id="contentmodulestop">
<jdoc:include type="modules" name="contentmodulestop" style="xhtml" />
</div>
<div id="content">
<jdoc:include type="component" />
</div>
<div id="contentmodulesbottom">
<jdoc:include type="modules" name="contentmodulesbottom" style="xhtml" /> </div>
<div id="rightcolumn">
<jdoc:include type="modules" name="rightcolumn" style="xhtml" /> </div>
</div>
</div>
<div id="producenci">
<jdoc:include type="modules" name="producenci" style="xhtml" /> </div>
<div id="adres">
<jdoc:include type="modules" name="adres" style="xhtml" /> </div>
<div id="stopka">
<div id="minifooter">
<jdoc:include type="modules" name="minifooter" style="xhtml" /> </div>
<div id="footer">
<jdoc:include type="modules" name="footer" style="xhtml" /> </div>
<div id="promofooter">
<jdoc:include type="modules" name="promofooter" style="xhtml" /> </div>
</div>
<jdoc:include type="modules" name="debug" />
</div>
</body>
</html>