What's New
Viewing 11 posts - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic.
Hi, i have installed Form Builder Pro module, and i want to design a page with Advanced Custom Content module.
I create a row with 2 columns, and in one column i select the Plain text element. Then i insert the shortcode {gformbuilderpro:1} of the form in the Content text box, but the form doesn’t appear.
Instead, if i insert the shortcode in the cms page text content box directly, it does appear.
How can i insert the form whit the Advanced Custom Content?
Thanks,
hi dear,
This is a massage from “form bulder” developer
can you tell us where can we imsert this code?
Hello, you using 3rd module “Advanced Custom Content module”, if you want to using short code in to your module, please contact developer of module “Advanced Custom Content module” to add this integrate code before render content.
integrate code :
if(Module::isInstalled('gformbuilderpro') && Module::isEnabled('gformbuilderpro'))
{
// overide cms content
$cmshtml = $this->cms->content;
$formObj = Module::getInstanceByName('gformbuilderpro');
$this->cms->content = $formObj->getFormByShortCode($cmshtml);
//# overide cms content
}
“$this->cms->content;” is content before render HTML.
Tell us if it work for you. Best regards!
Hi,
Please modify the \modules\steasycontent\steasycontent.php file, replace the line
return $this->fetch($tpl, $this->stGetCacheId($cache_id));
With the following code and clear the Smarty cache.
$rs = $this->fetch($tpl, $this->stGetCacheId($cache_id));
if(Module::isInstalled('gformbuilderpro') && Module::isEnabled('gformbuilderpro'))
{
$formObj = Module::getInstanceByName('gformbuilderpro');
$rs = $formObj->getFormByShortCode($rs);
}
return $rs;
See the enclosed screenshot.
Best regards.
Hi,
Please modify the \modules\steasycontent\steasycontent.php file, replace the line
return $this->fetch($tpl, $this->stGetCacheId($cache_id));
With the following code and clear the Smarty cache.$rs = $this->fetch($tpl, $this->stGetCacheId($cache_id)); if(Module::isInstalled('gformbuilderpro') && Module::isEnabled('gformbuilderpro')) { $formObj = Module::getInstanceByName('gformbuilderpro'); $rs = $formObj->getFormByShortCode($rs); } return $rs;
See the enclosed screenshot.
Best regards.
hi yobo
it doesent work!
You must be logged in to reply to this topic.