Swift - make Before text into a tab.

Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Swift - make Before text into a tab.

Post by norman »

You can put text that appears before the first {tab name}... into its own tab.

Edit layout Swift Tabbed Product Description and look for:

Code: Select all

	echo ($before != '' ? '<div id="tbbefore_<actinic:variable name="EncodedProductAnchor" />" class="tabberbefore">' . $before . '</div>' : '');
Replace it with:

Code: Select all

	// make any prefix text into a tab			
	if ($before != '' ) 
		{
		$tabcode = '&#123;Description#125;<h3>Product Description</h3>' . $tabcode;
		}
Norman
Post Reply