Dynamik по поводу верхней части я не напрягаюсь, сложно не будет, проблема с включение модулей,
скрин до добавления модулей через ДВ
код страницы
[more]<?php
/**
* @Template Name:
* @Version: 1.8
* @Package: A Joomla 1.0.X template
* @Copyright: (C) 2006 by Brian Diaz Media 65
* @License:
http://www.m65.net/ **/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO ); echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css";?>" rel="stylesheet" type="text/css" media="all" />
<link rel="shortcut icon" href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/favicon.ico"; ?>" />
<!-- This so you can see the css styles in DW you can delete file once editing Template is complete-->
<link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (3D1-028-RGB-1024.psd) -->
<table id="________01" width="1000" height="751" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="3" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="111" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="114" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="46" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="40" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="7" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="96" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="110" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="130" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="98" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="12" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="233" height="1" alt=""></td>
</tr>
<tr>
<td colspan="5">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logo.gif" width="314" height="137" alt=""></td>
<td colspan="7">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>header.gif" width="686" height="137" alt=""></td>
</tr>
<tr>
<td colspan="12">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>freebar.gif" width="1000" height="51" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>news.gif" width="114" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>company.gif" width="114" height="42" alt=""></td>
<td colspan="3">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>calls.gif" width="93" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>contact.gif" width="96" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>3D1-028-RGB-10243D1-028-RGB.gif" width="110" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>connect.gif" width="130" height="42" alt=""></td>
<td colspan="2">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>client.gif" width="110" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>space.gif" width="233" height="42" alt=""></td>
</tr>
<tr>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>3D1-028-RGB-10243D1-028--13.gif" width="3" height="520" alt=""></td>
<td colspan="3"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>left.gif" width="271" height="520" alt="" /></td>
<td colspan="6"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>center.gif" width="481" height="520" alt="" /></td>
<td colspan="2">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>right.gif" width="245" height="520" alt=""></td>
</tr>
</table>
<!-- End ImageReady Slices --></body>
</html>[/more]
и терь скрин уже с модулями, которые я вставляю через ДВ
и код тоже
[more]<?php
/**
* @Template Name:
* @Version: 1.8
* @Package: A Joomla 1.0.X template
* @Copyright: (C) 2006 by Brian Diaz Media 65
* @License:
http://www.m65.net/ **/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO ); echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css";?>" rel="stylesheet" type="text/css" media="all" />
<link rel="shortcut icon" href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/favicon.ico"; ?>" />
<!-- This so you can see the css styles in DW you can delete file once editing Template is complete-->
<link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (3D1-028-RGB-1024.psd) -->
<table id="________01" width="1000" height="751" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="3" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="111" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="114" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="46" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="40" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="7" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="96" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="110" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="130" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="98" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="12" height="1" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>razdel.gif" width="233" height="1" alt=""></td>
</tr>
<tr>
<td colspan="5">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logo.gif" width="314" height="137" alt=""></td>
<td colspan="7">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>header.gif" width="686" height="137" alt=""></td>
</tr>
<tr>
<td colspan="12">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>freebar.gif" width="1000" height="51" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>news.gif" width="114" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>company.gif" width="114" height="42" alt=""></td>
<td colspan="3">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>calls.gif" width="93" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>contact.gif" width="96" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>3D1-028-RGB-10243D1-028-RGB.gif" width="110" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>connect.gif" width="130" height="42" alt=""></td>
<td colspan="2">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>client.gif" width="110" height="42" alt=""></td>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>space.gif" width="233" height="42" alt="">
<form action="index.php" method="post">
<div align="center">
<input class="inputbox" type="text" name="searchword" size="15" value="<?php echo _SEARCH_BOX; ?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" />
<input type="hidden" name="option" value="search" />
</div>
</form>
</td>
</tr>
<tr>
<td>
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>3D1-028-RGB-10243D1-028--13.gif" width="3" height="520" alt=""></td>
<td colspan="3"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>left.gif" width="271" height="520" alt="" />
<?php mosLoadModules ( 'left' ); ?></td>
<td colspan="6"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>center.gif" width="481" height="520" alt="" />
<?php mosMainBody(); ?></td>
<td colspan="2">
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>right.gif" width="245" height="520" alt="">
<?php mosLoadModules ( 'right' ); ?></td>
</tr>
</table>
<!-- End ImageReady Slices --></body>
</html>[/more]
http://rapidshare.com/files/106588703/v7.zip.html - архив это шаблона с включёнными модулями
зеркало Добавлено: у меня никак не получается это всё заставить вместе работать, надеюсь теперь понятно в чём именно моя проблема