global $_CB_database;
if ( ( ! file_exists( JPATH_SITE . '/libraries/CBLib/CBLib/Core/CBLib.php' ) ) || ( ! file_exists( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' ) ) ) {
echo 'CB not installed'; return;
}
include_once( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' );
cbimport( 'cb.html' );
$query = 'SELECT ' . $_CB_database->NameQuote( 'params' )
. "\n FROM " . $_CB_database->NameQuote( '#__comprofiler_plugin' )
. "\n WHERE " . $_CB_database->NameQuote( 'name' ) . " = 'jf_connecto_cb_20'";
$_CB_database->setQuery( $query );
$loadResult = $_CB_database->loadResult();
$call_my_param = json_decode($loadResult)->custom_theme_param_name;
echo $call_my_param;
Please Log in to join the conversation.
if ( ( ! file_exists( JPATH_SITE . '/libraries/CBLib/CBLib/Core/CBLib.php' ) ) || ( ! file_exists( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' ) ) ) {
echo 'CB not installed'; return;
}
include_once( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' );
cbimport( 'cb.html' );
cbimport( 'language.front' );
$_PLUGINS->loadPluginGroup( 'templates' );
$plugin = $_PLUGINS->getLoadedPlugin( 'templates', 'PLUGIN_ELEMENT_HERE' );
if ( ! $plugin) {
return;
}
$params = $_PLUGINS->getPluginParams( $plugin );
Please Log in to join the conversation.
Please Log in to join the conversation.