Is there a way to external libraries in contao? I need to include "include('simple_html_dom.php');", for parsing html from page template. Is there any solution for doing parsing of html in page template, fe_page?
Is there a way to external libraries in contao? I need to include "include('simple_html_dom.php');", for parsing html from page template. Is there any solution for doing parsing of html in page template, fe_page?
Write an extension (system/modules/my_extension/) where you load your classes.
Use a hook to modify your FE output (maybe the modifyFrontendPage hook).
https://docs.contao.org/books/api/extensions/hooks/
Set up your hook within your extension.
Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
Amazon wishlist
Bookmarks