Hallo zusammen,
ich bin neu im Thema Typolight und auch PHP und habe eine bestehende Webpage zu betreuen.
Nun wollte ich eine Fusszeile einfügen als News ticker scheitere aber kläglich daran.
Ich bin mir sicher dass ich im Template etwas fasch machen hoffentlich kann mir jemand helfen.
Hier der inhalt meines Template.
Code:
<?php echo $this->doctype; ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $this->language; ?>">
<head>
<base href="<?php echo $this->base; ?>" />
<title><?php echo $this->mainTitle; ?> - <?php echo $this->pageTitle; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->charset; ?>" />
<meta name="description" content="<?php echo $this->description; ?>" />
<meta name="keywords" content="<?php echo $this->keywords; ?>" />
<?php echo $this->robots; ?>
<?php echo $this->framework; ?>
<link rel="stylesheet" href="plugins/slimbox/css/slimbox.css" type="text/css" media="screen" />
<link rel="stylesheet" href="plugins/tablesort/css/tablesort.css" type="text/css" media="screen" />
<link rel="stylesheet" href="plugins/dpsyntax/dpsyntax.css" type="text/css" media="screen" />
<!--[if IE]><link rel="stylesheet" href="plugins/dpsyntax/iefixes.css" type="text/css" media="screen" /><![endif]-->
<?php echo $this->stylesheets; ?>
<!--[if IE]><link rel="stylesheet" href="tl_files/iefixes.css" type="text/css" media="screen" /><![endif]-->
<script type="text/javascript" src="plugins/mootools/mootools.js"></script>
<script type="text/javascript" src="plugins/tablesort/js/tablesort.js"></script>
<script type="text/javascript" src="plugins/slimbox/js/slimbox.js"></script>
<script type="text/javascript" src="plugins/ufo/ufo.js"></script>
<?php echo $this->head; ?>
<BODY <?php echo $this->onload; ?>; id="top" bgColor=#ffffff leftMargin=0
background=./tl_files/media/hg.gif topMargin=0 onload="preloadImages('http://www.bestform.ch/media/');" marginheight="0"
marginwidth="0"> <!-- HAUPTMENU -->
<TABLE height=60 cellSpacing=0 cellPadding=0 width=795 border=0>
<TR height=60>
<TD width=38 height=60></TD>
<TD width=132><IMG height=60 src="tl_files/media/bestform.gif" width=132 border=0></TD>
<TD width=624>
<!-- Head Navigation Start //-->
<?php echo $this->getCustomSection('main_nav'); ?>
<!-- Head Navigation End //-->
</TD>
</TR>
</TABLE>
<!-- /HAUPTMENU -->
<TABLE cellSpacing=0 cellPadding=0 width=795 border=0>
<TBODY>
<TR vAlign=top>
<TD width=38><IMG height=1
src="tl_files/media/trans.gif" width=38
border=0></TD>
<TD width=132><IMG height=40
src="tl_files/media/trans.gif" width=132
border=0>
<!-- NAVIGATION -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<!-- Menu Navigation Start //-->
<?php echo $this->getCustomSection('menu_nav'); ?>
<!-- Menu Navigation End //-->
</TD>
</TR>
<TR>
<TD>
<!-- Menu Navigation Start //-->
<?php echo $this->getCustomSection('address'); ?>
<!-- Menu Navigation End //-->
</TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width=1><IMG height=1
src="trans.gif" width=1
border=0></TD>
<TD width="630">
<!-- Head Picture Start //-->
<?php echo $this->getCustomSection('site_pic'); ?>
<!-- Head Picture End //-->
<TABLE width="624" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD colSpan=3><IMG height=40
src="trans.gif" width=1
border=0></TD></TR>
<TR>
<TD width=78>Â*</TD>
<TD>
<!-- Main Content Start //-->
<div id="container">
<?php if ($this->left): ?>
<div id="left">
<div class="inside">
<?php echo $this->left; ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->right): ?>
<div id="right">
<div class="inside">
<?php echo $this->right; ?>
</div>
</div>
<?php endif; ?>
<div id="main">
<div class="inside">
<?php echo $this->main; ?>
</div>
<?php echo $this->getCustomSections('main'); ?>
<div id="clear"></div>
</div>
</div>
<!-- Main Content End //-->
</TD>
<TD width=78>Â*</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</BODY></HTML>
Um das ganze noch etwas schöner zu machen soll dies noch in einem Rahmen sein.
Wer kann mir dabei helfen.
Gruss
Roland
Lesezeichen