Hi everyone,
In my dma_eg, I got an hyperlink field and I would like the whole ce_eg can be clicable.
Here is my custom template :
PHP-Code:
div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<a href="mylinkfield_url">
<div class="left">
<?php echo $this->elements['logo_partenaire']; ?>
</div>
<div class='right'>
<h2><?php echo $this->elements['nom_partenaire']; ?></h2>
<p><?php echo $this->elements['description_partenaire']; ?></p>
</div>
</a>
</div>
My problem is I don't find the right syntax after <a href="… for it works.
Thanks for your help.
Lesezeichen