Can't edit blocks when links applied - Concrete5.8
Permalink
I have a site that has been converted from an html site. When I insert the <a href> before the <div> the link works but the block cannot be edited, instead of a green outline there is a white one around the block.
<a href="menu.html">
<div class="home_tab">
<?php $a = new Area('hometab'); $a->display($c); ?>
</div></a>
What am I doing wrong?
<a href="menu.html">
<div class="home_tab">
<?php $a = new Area('hometab'); $a->display($c); ?>
</div></a>
What am I doing wrong?
They are tabs, the original design has rectangular blocks with text inside and the whole block is 'active'. In concrete5 I can just link the text and this works and the block is editable, but I would prefer this website to match the original.
You can use my safe html template - see the marketplace. That will prevent your link html from interfering with edit mode.
https://www.concrete5.org/marketplace/addons/safe-html/...
https://www.concrete5.org/marketplace/addons/safe-html/...
Thank you for that, I will try it out.
It looks like you're trying to create tabs?