File manager - Edit - /home/jardides/www/Jardi-design/j37/modules/mod_pagebuilderck/mod_pagebuilderck.php
Back
<?php /** * @copyright Copyright (C) 2015 Cédric KEIFLIN alias ced1870 * http://www.template-creator.com * http://www.joomlack.fr * @license GNU/GPL * */ defined('_JEXEC') or die; // get the html code of the page $modulecontent = $params->get('pagedition'); // pass through the content plugins if ($params->get('preparecontent', '0')) { JPluginHelper::importPlugin('content'); $modulecontent = JHtml::_('content.prepare', $modulecontent, '', 'mod_pagebuilderck.content'); } $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx')); // frontend medias $doc = JFactory::getDocument(); $doc->addScript(JUri::root(true) . '/media/jui/js/jquery.min.js'); $doc->addStyleSheet(JUri::root(true) . '/components/com_pagebuilderck/assets/pagebuilderck.css'); $doc->addStyleSheet(JUri::root(true) . '/components/com_pagebuilderck/assets/font-awesome.min.css'); $doc->addScript(JUri::root(true) . '/components/com_pagebuilderck/assets/jquery-uick.js'); $doc->addScript(JUri::root(true) . '/components/com_pagebuilderck/assets/pagebuilderck.js'); // get the page model include_once JPATH_ROOT . '/components/com_pagebuilderck/models/page.php'; $model = JModelLegacy::getInstance('Page', 'PagebuilderckModel'); // parse the html code through the model page $model->parseHtml($modulecontent); require JModuleHelper::getLayoutPath('mod_pagebuilderck', $params->get('layout', 'default'));
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings