For the the JoomlArt JA AGRIVITA Template in Advanced Custom Module Type Hero:style-2: how to open the link in a new browser tab
As it now functions: the link opens the hero page in the same browser tab page (overwrites the actual page)
ACM Hero style 2 link
Hi,
In ACM Hero Style there are two links, one opens video and one shows more information. Which link do you want to click to open a new tab?
- Edited
Hi,
Open the t4section.php file in the "[root]/template/ja_agrivita/html/layouts/chromes/" folder and replace below code.
// Mod Action
$moduleAction = '';
if($params->get('section-link')) {
$moduleAction = '<div class="bottom-actions"><a class="section-actions btn btn-'.$params->get('type-btn').'" href="'.$params->get('link-btn').'">'.$params->get('title-btn').'</a></div>';
}
by
// Mod Action
$moduleAction = '';
if($params->get('section-link')) {
$moduleAction = '<div class="bottom-actions"><a class="section-actions btn btn-'.$params->get('type-btn').'" href="'.$params->get('link-btn').'" target="_blank">'.$params->get('title-btn').'</a></div>';
}
Save and reload your website.
Thanks alot
saguaros locked the discussion.