/ Published in: eZ Publish
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// 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: