Aloha!
Kann mir jamend sagen, wie ich einen weiterlesen Link ans Ende des Teaser-Textes bekomme?
Vielen Dank
Preetz
Kann mir jamend sagen, wie ich einen weiterlesen Link ans Ende des Teaser-Textes bekomme?
Vielen Dank
Preetz
<?php echo $this->more ;?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Contao Open Source CMS">
<title><?php echo $this->title; ?></title>
<style type="text/css">
body { background-color:#ffffff;
margin-left:20px;
}
p,li,td,a { font-size:10pt;
font-family:Verdana,Arial,sans-serif;
color:#000000;
}
li {list-style-type:none;
list-style:none
}
</style>
<?php echo $this->head; ?>
</head>
<body>
<table class="wrapper" align="center" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td class="body">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<?php echo $this->body; ?>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table class="after" align="center" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</body>
</html><span class="more"><a href="{{event_url::<?php echo $event['id'];?>}}">weiterlesen ...</a></span>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Contao Open Source CMS">
<title><?php echo $this->title; ?></title>
<style type="text/css">
body { background-color:#ffffff;
margin-left:20px;
}
p,li,td,a { font-size:10pt;
font-family:Verdana,Arial,sans-serif;
color:#000000;
}
li {list-style-type:none;
list-style:none
}
</style>
<?php echo $this->head; ?>
</head>
<body>
<table class="wrapper" align="center" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td class="body">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<?php echo $this->body; ?>
</tbody>
<span class="more"><a href="{{news_url::<?php echo $news['id'];?>}}">weiterlesen ...</a></span>
</table>
</td>
</tr>
</tbody>
</table>
<table class="after" align="center" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</body>
</html><tr>
<td valign="top" class="<?php echo $this->class; ?>"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if(strlen($this->headline)):?>
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif;?>
<ul>
<?php foreach($this->news as $item): ?>
<li>
<?php echo $this->parseDate($GLOBALS['TL_CONFIG']['dateFormat'],$item['time']);?> - <b><a href="{{news_url::<?php echo $item['id'];?>}}"><?php echo $item['headline'];?></a></b>
<?php if(strlen($item['teaser'])):?><p><?php echo $item['teaser'];?></p><?php endif;?> <?php echo $this->body; ?> <span class="more"><a href="{{news_url::<?php echo $news['id'];?>}}">weiterlesen ...</a></span>
</ul>
</li>
<?php endforeach;?>
</td>
</tr>
Kommentar