* @copyright 2007-2015 PrestaShop SA * @license http:* International Registered Trademark & Property of PrestaShop SA */ class CmsController extends CmsControllerCore { /* * module: jscomposer * date: 2015-12-13 23:41:45 * version: 4.3.19 */ public function display() { if((bool)Module::isEnabled('jscomposer')) { if(isset($this->cms->content)){ $this->cms->content = JsComposer::do_shortcode( $this->cms->content ); if(vc_mode() === 'page_editable'){ $this->cms->content = call_user_func(JsComposer::$front_editor_actions['vc_content'],$this->cms->content); } } } if((bool)Module::isEnabled('smartshortcode')) { if(isset($this->cms->content)){ $smartshortcode = Module::getInstanceByName('smartshortcode'); $this->cms->content = $smartshortcode->parse( $this->cms->content ); } } return parent::display(); } }