PDA

Zobacz pełną wersję : Brak treści, brak menu, brak flasha...



curt
30-07-2009, 11:47
Witam,
wykonałem pierwszy szablon w joomla, później w nim coś sknociłem i przywróciłem jego pierwotną wersję, lecz teraz nie wyświetla mi się ani treść serwisu, ani linki w menu, ani logo we flashu. Może tylko mi? W obu przeglądarkach jest to samo, poniżej link do strony i kodu:
www.ksiadzmoskwa.yoyo.pl (http://www.ksiadzmoskwa.yoyo.pl)


<?php
/**
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="http://ksiadzmoskwa.yoyo.pl/templates/miskrosno/style.css" type="text/css">
<title>MIS Krosno</title>
</head>


<div class="linia">
<div id="h"></div>
</div>
<div class="linia">
<div id="flash">
<object style="float:left;" type="application/x-shockwave-flash" data="http://colder.pl/xml/gilek/top.swf"
width="923" height="233">
<param name="movie" value="http://colder.pl/xml/gilek/top.swf" />
</object>
</div>
</div>
<div class="mainbody">
<div id="menu"></div>
<div id="menu1"><jdoc:include type="modules" name="left" /></div>
<div id="content"><jdoc:include type="component" /></div>

</div>
<div class="linia">
<div id="footer"></div>
</div>

poradźcie coś bo ja już nie mam sił...

curt
30-07-2009, 12:02
zmieniłem nagłówek strony na



<?php
/**
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

defined('_JEXEC') or die('Restricted access');

$url = clone(JURI::getInstance());
$showRightColumn = $this->countModules('user1 or user2 or right or top');
$showRightColumn &= JRequest::getCmd('layout') != 'form';
$showRightColumn &= JRequest::getCmd('task') != 'edit'
?>
<xml version="1.0" encoding="utf-8">
<!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="polish" >
<head>
<link rel="stylesheet" href="http://ksiadzmoskwa.yoyo.pl/templates/miskrosno/style.css" type="text/css">
<title>MIS Krosno</title>
</head>
<body>


no i w IE jest super, a w FF rozsypał się szablon... dlaczego?