--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-dev-general@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.
$query = $db->getQuery(true);
$query->select('`params`')
->from('#__extensions')
->where('element=\'com_aquaoferta\'');
$db->setQuery((string)$query);
$tempParams = $db->loadObject();
$params = new JRegistry;
$params->loadString($tempParams->params, 'JSON');
$this->items['params'] = $params;
That's all. Now I can use those configuration values in frontend view.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-dev-general@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.
I think$this->items['params'] = ComponentHelper::getParams('com_aquaoferta');will achieve the same result.Chris.
On 19 January 2018 at 00:03, oeN. oeN. <oen...@gmail.com> wrote:
I actually found simple solution to my problem.
That's all. Now I can use those configuration values in frontend view.
$query = $db->getQuery(true);
$query->select('`params`')
->from('#__extensions')
->where('element=\'com_aquaoferta\'');
$db->setQuery((string)$query);
$tempParams = $db->loadObject();
$params = new JRegistry;
$params->loadString($tempParams->params, 'JSON');
$this->items['params'] = $params;
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-de...@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.