Intelartifice
Member
Hello,
sorry for my stupid question. But I have not found or found the solution that must exist on the forum.
I'm trying to display an image through the calc element in a repeat group.
here my request:
$articleId = '{achat_goodies___article_raw}';
$myDb = JFactory::getDbo();
$myQuery = $myDb->getQuery(true);
$myQuery->select('d_signation')->from('goodies')->where('id = ' . $myDb->quote($articleId));
$myDb->setQuery($myQuery);
$path = $myDb->loadResult();
return '<img src="' . $path . '" alt =" " />';
Calc in repeat group is well checked ...
Someone could re/give me the way to ?
Thanks
sorry for my stupid question. But I have not found or found the solution that must exist on the forum.
I'm trying to display an image through the calc element in a repeat group.
here my request:
$articleId = '{achat_goodies___article_raw}';
$myDb = JFactory::getDbo();
$myQuery = $myDb->getQuery(true);
$myQuery->select('d_signation')->from('goodies')->where('id = ' . $myDb->quote($articleId));
$myDb->setQuery($myQuery);
$path = $myDb->loadResult();
return '<img src="' . $path . '" alt =" " />';
Calc in repeat group is well checked ...
Someone could re/give me the way to ?
Thanks