Hey there, i've been renaming my product tabs by going into product_tabs.php and altering the echo name. Such as you see here:
However, to our great scripting gods, i ask, where the hell is TAB0 referenced to become "Description" automatically?!PHP Code:<div class="panel">
<h4><?php echo TAB0; ?></h4>
<?php echo stripslashes($product_info['products_description']); ?>
</div>
<?php if ($product_info['tab1'] > '') { ?>
<div class="panel">
<h4><?php echo FAQ; ?></h4>
<?php echo stripslashes($product_info['tab1']); ?>
</div>
<?php } ?>
<?php if ($product_info['tab2'] > '') { ?>
<div class="panel">
<h4><?php echo Instructions; ?></h4>
<?php echo stripslashes($product_info['tab2']); ?>
</div>
<?php } ?>
Is there some Tab renaming admin function i'm not aware of?
The next thing i want to do, is have a #instruction id="instruction" that brings up the instruction when it's called from the URL
Such as http://www.domain.com/cat/product-name.php#instructions
To bring up the instructions tab first.
Seems to be that i need to make the tab javascript class "active" - don't know how to do that.... anyone got some insight?
side note:
Once this is working, i want to create a simple instructions page that dynamically lists the products which have instruction pages based on: if ($product_info['tab1'] > '')
Generating the product name, with ...link.php#instruction





LinkBack URL
About LinkBacks











Bookmarks