agoat/contao-customcontentelements-bundle

How to have page field url ?

Opened this issue · 1 comments

JLBA commented

Hi,
In ce_standard template, I don't find the right syntax to add a page field url in <a href="">... . I tried with :
<?php echo $this->mylink; ?>
<?php echo $this->mylink['href']; ?>
<?php echo $this->mylink['sources']['src']; ?>
But href is still empty...
Please, help.
Thanks

JLBA commented

I found a solution with alias.
...
But what if I need the entire url ?