With your great help/support, a while back I managed to add in some custom tabs in both the small tabbed area and the bottom tabbed area.
Thanks again!
My question now is how can I get one of those tabs to always show regardless of wether it is populated or not
(I have my own reasons for wanting this which I wont bore you with).
With this code below in my productdetails template, the tab only shows when there is content to populate it, but I am unsure of what PHP to change to always show the tab regardless? I'm guessing its something to do with <?php if (!empty, but no matter what i change I cant seem to get it working. :o(
I'm hoping this question is relevant to my custom tab and other tabs that only show hen populated (Like Categories, custom Tab, etc), so that it is relevant to other puremart users.
This is the 1st bit that creates the tab title;
<?php if (!empty($this->product->customfieldsSorted['faq'])) { ?>
<li><a href="javascript:void(0)" rel="#faq"><span>FAQ</span></a></li>
<?php } ?>
& this the 2nd bit;
<?php if (!empty($this->product->customfieldsSorted['faq'])) { ?>
<div id="faq" class="tabcontent" style="display:none;">
<?php $this->position='faq';
echo $this->loadTemplate('customfields'); ?>
<div class="clear"></div>
</div>
<?php } ?>
Thanks in advance