hi all,
I would like to add view links to my list of entries using modal following this FAQ:
https://www.chronoengine.com/faqs/56-cfv4/cfv4-other-faqs/2680-how-can-i-show-a-form-in-a-lightbox.html
in designer - custom element I have:
the view link is being displayed and opens the desired form
adding this at the top:
and adjusting the above snippet to
the view link is not being displayed any longer and the html shows:
but there is no error
if I now try adding the handler:
the html I get is:
but there is still no edit link and no error
does anybody have any ideas how to get this to work?
best regards
Gabriela
p.s.: error reporting (system) is enabled, debugger (CF5) is in place
I would like to add view links to my list of entries using modal following this FAQ:
https://www.chronoengine.com/faqs/56-cfv4/cfv4-other-faqs/2680-how-can-i-show-a-form-in-a-lightbox.html
in designer - custom element I have:
<div class='cf_eview'><a href='{$view_url}' >##VIEW##</a></div>
the view link is being displayed and opens the desired form
adding this at the top:
<?php JHTML::_('behavior.modal'); ?>
and adjusting the above snippet to
<div class='cf_eview'><a class='modal' href='{$view_url}' >##VIEW##</a></div>
the view link is not being displayed any longer and the html shows:
<a class="modal" href="../index.php?option=com_chronoforms5&chronoform=viewEntries&token=b9da4ad08cec99add138d1204746e14183e50045">View</a>
but there is no error
if I now try adding the handler:
<div class='cf_eview'><a class='modal' href='{$view_url}' rel='{handler: \"iframe\", size: {x: 600, y: 600}}'>##VIEW##</a></div>
the html I get is:
<a class="modal" rel="{handler: "iframe", size: {x: 600, y: 600}}" href="http://gabriela.family-huber.net/index.php?option=com_chronoforms5&chronoform=viewEntries&token=b9da4ad08cec99add138d1204746e14183e50045">View</a>
but there is still no edit link and no error
does anybody have any ideas how to get this to work?
best regards
Gabriela
p.s.: error reporting (system) is enabled, debugger (CF5) is in place