sigil88
11/21/2016 - 1:41 PM

joomla module params etc

joomla module params etc

$app = JFactory::getApplication();
$params = $app->getParams();


// get params / protected from inside joomla module:

<?php defined('_JEXEC') or die;

$modparams = json_decode($module->params);

// print_r($module);

	if ($modparams->bootstrap_size) : ?>

		<div class="col-md-<?php echo "{$modparams->bootstrap_size}"; ?>">

	<?php else : ?>

		<div class="col-md-6">

	<?php endif;