Addison,
Thank you for the reply. Could you please clarify. Do I need a new
Code:
if (!empty($product_tabs))
line or do I use the last one in the page?
Code:
if (
!empty($active_modules['Customer_Reviews'])
&& (
$config['Customer_Reviews']['customer_reviews'] == 'Y'
|| $config['Customer_Reviews']['customer_voting'] == 'Y'
)
) {
$product_tabs[] = array(
'title' => func_get_langvar_by_name('lbl_customers_feedback'),
'tpl' => 'modules/Customer_Reviews/vote_reviews.tpl',
'anchor' => 'feedback'
);
}
if (
!empty($active_modules['Advanced_Customer_Reviews'])
) {
func_acr_add_product_tab($product_tabs);
}
$product_tabs[] = array(
'title' => 'Videos',
'tpl' => 'customer/main/tab_videos.tpl',
'anchor' => 'videos'
);
if (!empty($product_tabs)) {
$smarty->assign('product_tabs', $product_tabs);
if ($config['Appearance']['display_product_tabs'] == 'Y') {
$smarty->assign('show_as_tabs', true);
}
}
?>
Thanks!