Is there a way to force the Menu Tabs PHPRunner 4.1 in Template Paris to not go all the way across the screen on the List Page. In 4.0 Layout 2 I was able to limit the Width of the Menu Table to 75% which neatly stacked my Menu buttons in 3 rows.
Ideally I would like create a new List template (Paris) for the Menu Tabs to not go all the way across the page, but always be something like 3 rows of 5 or to be able to define how many tabs should be displayed in each row.
Thanks
Patrick
The list template layout 2 phprunner 4.0 CreateMenu
if CreateMenu##
<table class="main_table" cellspacing="0" cellpadding="0" width=75%>
<tr><td>
<div id="menu-4">
<ul>
foreach @BUILDER.Tables as @t filter @t.bMenuItem order @t.nMenuOrder##
if GroupSecurity##{if $allow_##@t.strShortTableName##}##endif##
##if @t.bList##
<li><a href="##@t.strShortTableName##_list.##@ext##"
elseif @t.bAdd##
<li><a href="##@t.strShortTableName##_add.##@ext##"
elseif @t.nType==titREPORT##
<li><a href="##@t.strShortTableName##_report.##@ext##"
elseif @t.nType==titCHART##
<li><a href="##@t.strShortTableName##_chart.##@ext##"
endif##
if @t.strDataSourceTable==@TABLE.strDataSourceTable## id="current-4" ##endif##>##@t.strCaption h##</a></li>
if GroupSecurity##{/if}##endif##
endfor##
</ul>
</div>
</td></tr></table>
endif##
#####################################
In list template Paris PhpRunner 4.1 How to update this so I can display a predetermined number of Tabs buttons per row. I do not want it to be a percent of the main list table.
if CreateMenu##
<table class=main_table_border cellspacing="0" cellpadding="0" border=0>
<tr>
<td class=body2 width=10px>Â </td>
foreach @BUILDER.Tables as @t filter @t.bMenuItem order @t.nMenuOrder##
if GroupSecurity##{if $allow_##@t.strShortTableName##}##endif##
<td width=1px class=border_menu></td>
<td class=border_menu>Â </td>
<td class=border_menu width=1px></td>
<td class=body2 width=11px></td>
if GroupSecurity##{/if}##endif##
endfor##
</tr>
<tr>
<td class=body2 width=10px>Â </td>
foreach @BUILDER.Tables as @t filter @t.bMenuItem order @t.nMenuOrder##
if GroupSecurity##{if $allow_##@t.strShortTableName##}##endif##
##if @t.bList##
<td width=1px class=border_menu_left></td>
<td class=td_border_menu##if @t.strDataSourceTable!=@TABLE.strDataSourceTable##2##endif##>
<a class=menu_db href="##@t.strShortTableName##_list.##@ext##">##@t.strCaption h##</a></td>
<td class=body2 colspan=2>
<img src="include/img/menu_blue_##if @t.strDataSourceTable!=@TABLE.strDataSourceTable##un##endif##select.gif" border=0></td>
##elseif @t.bAdd##
<td width=1px class=border_menu_left></td>
<td class=td_border_menu##if @t.strDataSourceTable!=@TABLE.strDataSourceTable##2##endif##>
<a class=menu_db href="##@t.strShortTableName##_add.##@ext##">##@t.strCaption h##</a></td>
<td class=body2 colspan=2>
<img src="include/img/menu_blue_##if @t.strDataSourceTable!=@TABLE.strDataSourceTable##un##endif##select.gif" border=0></td>
##elseif @t.nType==titREPORT##
<td width=1px class=border_menu_left></td>
<td class=td_border_menu##if @t.strDataSourceTable!=@TABLE.strDataSourceTable##2##endif##>
<a class=menu_db href="##@t.strShortTableName##_report.##@ext##">##@t.strCaption h##</a></td>
<td class=body2 colspan=2>
<img src="include/img/menu_blue_##if @t.strDataSourceTable!=@TABLE.strDataSourceTable##un##endif##select.gif" border=0></td>
##elseif @t.nType==titCHART##
<td width=1px class=border_menu_left></td>
<td class=td_border_menu##if @t.strDataSourceTable!=@TABLE.strDataSourceTable##2##endif##>
<a class=menu_db href="##@t.strShortTableName##_chart.##@ext##">##@t.strCaption h##</a></td>
<td class=body2 colspan=2>
<img src="include/img/menu_blue_##if @t.strDataSourceTable!=@TABLE.strDataSourceTable##un##endif##select.gif" border=0></td>
##endif##
if GroupSecurity##{/if}##endif##
endfor##
</tr></table>
endif