I am getting know where very fast with adding another tab to the three that are already there. I cannot work out how it was done, so to be honest I have left it and started to fill my database with product. I will have to find another template as nobody is answering the questions on how to add a fourth or even a fifth tab to this template (I cannot see in this thread). If however 'Silver' I can work it out I will get back to you.
Learning Fast.
Eden Craft Supplies
Tabbed Products Pro works if installed correctly.
As far as adding tabs in:
find:Code:/includes/templates/responsive_sheffield_blue/templates/tpl_product_info_display.php
for every new tab add:PHP Code:
<nav>
<ul>
<li><a href="#section-1" class="icon-description"><span><?php echo HEADER_TITLE_DESCRIPTION; ?></span></a></li>
<li><a href="#section-2" class="icon-details"><span><?php echo HEADER_TITLE_DETAILS; ?></span></a></li>
<li><a href="#section-3" class="icon-reviews"><span><?php echo HEADER_TITLE_REVIEWS; ?></span></a></li>
</ul>
</nav>
befor the </ul> tag, #section-4 should increase for every new tab, #section-5, #section-6 and so onCode:<li><a href="#section-4" class=""><span><?php echo 'My New Tab'; ?></span></a></li>
thin find:
for every tab created above a section needs to be created:PHP Code:
<section id="section-3">
<!-- added for dgReview on product page -->
<?php require($template->get_template_dir('tpl_dgReview.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_dgReview.php');?>
<!-- added for dgReview on product page -->
</section>
before the 2 </div> tags, section-4 should increase for every new tab, section-5, section-6 and so onPHP Code:
<section id="section-4">
<?php echo 'Contents of My New Tab 4'; ?>
</section>
rbarbour:
Just wanted you to know that I received my answer from you on the Descriptions, Details, and Reviews tabs and everything is now fine and I thank you. The above explanation should help abd34 with adding tabs that he has been looking for, for so long. So thanks for that also.
My appreciation for all your help,
Silver
I am experimenting in the Details tab.
I am adding Materials & Dimensions. This is what I have so far:
I have made a new sql for it I enter the information into the new Materials & Dimensions in the database itself and I can't get it to echo it out on the page.Code:<?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_materials == 1 and $products_materials != '') or ($flag_show_product_info_dimensions == 1 and $products_dimensions != '') or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?> <ul id="productDetailsList" class="floatingBox back"> <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_materials == 1 and $products_materials !='') ? '<li>' . TEXT_PRODUCT_MATERIALS . $products_materials . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_dimensions == 1 and $products_dimensions !='') ? '<li>' . TEXT_PRODUCT_DIMENSIONS . $products_dimensions . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
Hi,
I have installed this fantastic template alon with "fast and easy checkout", but I have a couple of issues.
I am using v154 along with fec, the problems are;
1/title bar, the pages don't drop down when you hover over them
2/the catagories don't expand out to show sub catagories
3/i would like to change the colour but cant see the where in the css file where to go
I have read most of this thread (76 pages but cant see a reply)
here is my web page; http://www.brocante-de-france.com/in..._page=about_us
please help
Regards Paul
Hi,
I have installed this fantastic template alon with "fast and easy checkout", but I have a couple of issues.
I am using v154 along with fec, the problems are;
1/title bar, the pages don't drop down when you hover over them
2/the catagories don't expand out to show sub catagories
3/i would like to change the colour but cant see the where in the css file where to go
I have read most of this thread (76 pages but cant see a reply)
here is my web page; http://www.brocante-de-france.com/in..._page=about_us
please help
Regards Paul
Bookmarks