So wie Du schreibst, hast du also den Ordner "/templates/DEINTEMPLATE/html/com_search/search". Dort liegt eine "default_results.php". Ersetze da mal diesen Teil (der Originale sieht fast genauso aus):
Sind aber noch ein paar Teile aus einem Template von mir drin, die Du evtl nicht brauchst.
etwa ab Zeile 17
PHP-Code:
<?php if (count($this->results)) : ?>
<div class="results">
<h2 class="componentheading"><?php echo JText :: _('Search_result'); ?></h2>
<?php $start = $this->pagination->limitstart + 1; ?>
<ol class="list<?php echo $this->params->get('pageclass_sfx') ?>" start="<?php echo $start ?>">
<?php foreach ($this->results as $result) : ?>
<li>
<span class="small">
<?php if ($result->section) : ?>
<?php echo JText::_('Gefunden in') ?>: <b><?php echo $this->escape($result->section); ?></b><br />
<?php endif; ?>
<?php echo JText::_('Erstellt:') ?><?php echo $result->created; ?>
</span>
<?php if ($result->href) : ?>
<h4>
<a href="<?php echo JRoute :: _($result->href) ?>" <?php echo ($result->browsernav == 1) ? 'target="_blank"' : ''; ?> >
<?php echo (htmlspecialchars($result->title)); ?></a>
</h4>
<?php endif; ?>
<?php if (($result->text) && ($result->text != $result->title)) {?>
<span class="small_text">
<?php echo ($result->text);?>
</span><?php
} else echo '<br />';?>
<p class="clearHERE" style="display:none"> </p>
</li>
<?php endforeach; ?>
</ol>
<?php echo $this->pagination->getPagesLinks(); ?>
</div>
<?php endif; ?>
Lesezeichen