View Single Post
  #13  
Old 09-24-2012, 08:54 AM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: Is it possible to have your own tabs

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!
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote