SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $viewer->assign('QUICK_PREVIEW_ENABLED', 'true');
  2.      
  3. $moduleModel = Vtiger_Module_Model::getInstance($moduleName);
  4. if($moduleModel->isQuickPreviewEnabled()){
  5.     $viewer->assign('QUICK_PREVIEW_ENABLED', 'true');
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top