This topic is locked

Splitting the menus

7/16/2008 6:54:14 AM
PHPRunner General questions
T
thesofa author

Hi

I have an ever growing application with quite a few reports and even more graphs/charts.

I would like to split the menu that appears into three, so i have a separate menu for both report and graphs?

J
Jane 7/16/2008

Hi,
use Visual Editor to change menu appearance.

T
thesofa author 7/17/2008

As a spin off from this, please tell me again how to place a link back to the main menu from each page, I would like to have it on all pages so can I build it into a template or a header or footer?

J
Jane 7/17/2008

Hi,
what layout do you use?

T
thesofa author 7/17/2008

Hi

At the moment, Amsterdam.

When it's Spring again I'll bring again,

bitmaps from Amsterdam.........

Reckon I can forget the songwriting career, I shall stick to databases.

J
Jane 7/17/2008

Hi,
open C:/Program Files/PHPRunner4.2/templates/layouts/lheader.htm file, find following line:

##if !IsAdminTable(@TABLE) || !@BUILDER.m_bDynamicPermissions##



and add this code just before:

<tr onclick="window.location.href='##@t.strShortTableName##_list.##@ext##'" onmouseover="this.className = 'tablelinkssearch_hover';" onmouseout="this.className = 'tablelinkssearch';"><td>

if @t.strDataSourceTable==@TABLE.strDataSourceTable## <img src="include/img/arrow_menuL6_1.gif" border=0> ##else## <img src="include/img/arrow_menuL6_2.gif" border=0> ##endif##

</td>

<td><a href="menu.##@ext##">Menu</a></td>

</tr>