Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/www/plugins/system/bluetheme/assets/shortcode/ |
Upload File : |
<?php
defined('_JEXEC') or die;
add_shortcode('moduleid_desi', 'moduleidDesignShortcode');
function moduleidDesignShortcode($atts,$content=null){
extract(shortcode_atts(array(
"id" => '0',
"showtitle"=>0,
"moduleclass"=>"",
"template"=>"module",
"hclass"=>"",
"state"=>"1"
), $atts));
if (!$state) return true;
if($id==0 || $id=='') return false;
$st = new BluethemePlugin();
$module = $st->loadModuleId($id);
$params = json_decode($module->params);
$req = BluethemePlugin::addTemplate($template);
if($req["check"]){
require $req["src"];
}
}
?>