PDA

Zobacz pełną wersję : Dziwny problem z CK Forms - w złym miejscu dodaje <link rel



Mateluta
08-05-2011, 17:55
Witam serdecznie, zainstalowałem ostatnio CK Forms (wcześniej działało dobrze) i problem jest taki: po sprawdzeniu źródła strony w divie w którym znajduje się formularz pojawia się to:


<div class="form-pracuj">

<link rel="stylesheet" href="/templates/euco/css/template.css" type="text/css" />
<link rel="stylesheet" href="/components/com_ckforms/css/ckforms.css" type="text/css" />
<link rel="stylesheet" href="/components/com_ckforms/css/calendar.css" type="text/css" />
<link rel="stylesheet" href="/components/com_ckforms/css/tips.css" type="text/css" />
<link rel="stylesheet" href="/components/com_ckforms/js/theme/classic/formcheck.css" type="text/css" />
<link rel="stylesheet" href="/modules/mod_ckforms/css/ckforms.css" type="text/css" />

<script type="text/javascript" src="/media/system/js/mootools.js"></script>
<script type="text/javascript" src="/components/com_ckforms/js/calendar.js"></script>
<script type="text/javascript" src="/components/com_ckforms/js/ui.datepicker.packed.js"></script>
<script type="text/javascript" src="/components/com_ckforms/js/formcheck.js"></script>
Przecież to powinno pojawiać się w <head>! Nie moge znaleźć błędu... W pliku index.php niektóre fragmenty kody wygląają tak:


<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<?php echo '<?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="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<?php $document =& JFactory::getDocument();
$this->setGenerator('www.moja-strona.pl'); ?>
<head>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/scripts/jquery-1.5.2.js" type="text/javascript"></script>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/scripts/moj-skrypt.js" type="text/javascript"></script>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/template.css" type="text/css" />

</head>
A formularze zawsze wchodzą do tego kodu:

<?php if ($this->countModules( 'left' )) : ?>
<div id="srodkowa-kolumna">
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="center" style="xhtml" />
</div>
<?php endif; ?>Czy ktoś może widzi jakiś błąd? Z góry dziękuję!