/ Published in: eZ Publish
Expand |
Embed | Plain Text
// Enable ajax in layout.ini.append.php <?php /* #?ini charset="utf-8"? [ajax] PageLayout=ajax_pagelayout.tpl UseAccessPass=false */ ?> // ../templates/ajax_pagelayout.tpl <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{$site.http_equiv.Content-language|wash}" xml:lang="{$site.http_equiv.Content-language|wash}"> <head> </head> <body> {$module_result.content} </body> </html> // Link to the ajaxview in a template: <a href={concat('/layout/set/ajax/contact/node/',$node.node_id)|ezurl} class="lightbox">Ajaxlink</a>
You need to login to post a comment.
