Вот код для корректной работы вкладок (ограничивает/открывает доступ для групп пользователей), который нужно заменить в файле class.tx_titechcatalog_pi1.php, может кому пригодиться.
Код:
//GET TAB LISTING
$markerArray['###TAB_TAB###'] .='<div class="tabbing"><ul class="navTab">';
$results = $GLOBALS['TYPO3_DB']->exec_SELECTquery('tabtitle, tabcontent, fe_group, producttitle, uid,tabimage','tx_titechcatalog_tab','producttitle= '.$this->piVars['Pid'].' AND deleted = 0 and hidden = 0 ');
while($row_tab=$GLOBALS['TYPO3_DB']->sql_fetch_assoc($results))
{
if($row_tab['fe_group'] && !in_array($row_tab['fe_group'],$GLOBALS['TSFE']->fe_user->groupData[uid])) continue;
$markerArray['###TAB_TAB###'] .='<li><a title="'.$row_tab['tabtitle'].'" href="#'.$row_tab['tabtitle'].'">'.$row_tab['tabtitle'].'</a></li>';
}
$markerArray['###TAB_TAB###'] .='</ul>';
$results = $GLOBALS['TYPO3_DB']->exec_SELECTquery('tabtitle, fe_group, tabcontent, producttitle, uid,tabimage','tx_titechcatalog_tab','producttitle= '.$this->piVars['Pid'].' AND deleted = 0 and hidden = 0 ');
while($row_tab_des=$GLOBALS['TYPO3_DB']->sql_fetch_assoc($results))
{
if($row_tab_des['fe_group'] && !in_array($row_tab_des['fe_group'],$GLOBALS['TSFE']->fe_user->groupData[uid])) continue;
$markerArray['###TAB_TAB###'] .='<div id="'.$row_tab_des['tabtitle'].'" class="tx-tab-panel-item">';
if($row_tab_des['tabimage']!='')
{
$markerArray['###TAB_TAB###'] .='<img src="uploads/tx_titechcatalog/' .$row_tab_des['tabimage']. '" title="' . $row_tab_des['tabtitle'] . '" class="tabimage" > '.$this->pi_RTEcssText( $row_tab_des['tabcontent'] ).'</div>';
}
else
{
$markerArray['###TAB_TAB###'] .=''.$this->pi_RTEcssText( $row_tab_des['tabcontent'] ).'</div>';
}
}
$markerArray['###TAB_TAB###'] .= '</div></div>' ;
// JavaScript
$markerArray['###TAB_TAB###'] .= sprintf('
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<script type="text/javascript">
$("div.tabbing").each(function() {
$(this).find("> ul li:first").addClass("active");
$(this).find("> div:not(:first)").hide();
});
$("div.tabbing > ul li > a").click(function() {
$(this).parent().addClass("active").siblings("li").removeClass("active");
$(this).parents("div:first").find("> div").hide().eq($(this).parents("ul").find("li").index($(this).parent())).show();
return false;
});
</script>
');
return $markerArray;
}