Vielen Dank für eure Antworten.
Ich habe ein Template mit dem Titel ce_text_pflegegeld.html5 angelegt.
Im Template dann den Code angepasst - siehe nachfolgend.
Im Code des Template steht allerdings eine href Anweisung.
Code:
<!-- HINGEZUGEFÜGT --->
<a href="{{link_url::9}}"
<!--- ENDE HINGEZUGEFÜGT --->
<?php $this->extend('block_searchable'); ?>
<?php $this->block('content'); ?>
<?php if (!$this->addBefore): ?>
<?php echo $this->text; ?>
<?php endif; ?>
<?php if ($this->addImage): ?>
<figure class="image_container<?php echo $this->floatClass; ?>"<?php if ($this->margin): ?> style="<?php echo $this->margin; ?>"<?php endif; ?>>
<?php if ($this->href): ?>
<a href="<?php echo $this->href; ?>"<?php if ($this->linkTitle): ?> title="<?php echo $this->linkTitle; ?>"<?php endif; ?><?php echo $this->attributes; ?>>
<?php endif; ?>
<?php $this->insert('picture_default', $this->picture); ?>
<?php if ($this->href): ?>
</a>
<?php endif; ?>
<?php if ($this->caption): ?>
<figcaption class="caption"><?php echo $this->caption; ?></figcaption>
<?php endif; ?>
</figure>
<?php endif; ?>
<?php if ($this->addBefore): ?>
<?php echo $this->text; ?>
<?php endif; ?>
<?php $this->endblock(); ?>
<!--- HINGEZUGEFÜGT --->
</a>
<!--- ENDE HINGEZUGEFÜGT --->
Wenn ich das Template einbinde und fürs Web freigebe, dann finde ich keinen Link im Artikelelement.
Ich nehme an das liegt am Hinweis mit der zusätzlichen href Anweisung im Template.
Templates zu ändern ist ja nicht unbedingt eine gute Lösung.
Könnte ich meine Herausforderung auch lösen indem ich ein Update meiner Conta Installation von 3.4 auf x.x vornehme?
LG
Jochen
Lesezeichen