This topic is locked

How to add a page to the admin area?

1/13/2009 3:19:14 PM
PHPRunner General questions
hichem author

I would like to to add a page to the admin area next to the add/edit users (another tab on the madrid template).

How can I add a list view with this sql query?

select rpt_name, rpt_title, rpt_date, rpt_mdate, rpt_owner, rpt_status, rpt_type from webreports?

This would give the admin a nice and quick overview of the webreports and their audit trail.

Adding a report or list view is easy thanks to PHPR but I couldn't figure out how to add this to the admin area only
many thanks!

Hich

J
Jane 1/14/2009

Hi,
you can create custom view based on this table on the Datasource tables tab and then add link to this view on the Admin: Manage group memberand Admin: Manage group right pages on the Visual Editortab

hichem author 1/14/2009

Hi,

you can create custom view based on this table on the Datasource tables tab and then add link to this view on the Admin: Manage group memberand Admin: Manage group right pages on the Visual Editortab


Thanks Jane,

sorry for my ignorance but how do you add a link in the Visual Editor?

I have created a report and took the link from another list view then pasted it in the manage group menmber page but it doesn't seem to work.

I would like to add another tab and not only a link. Tabs seem to be added to the main menu but not to the admin area, would you please elaborate a bit more to explain how this tab can be added in the visual editor?
Here's below what I copied and pasted in teh admin list but didn't add the tab.

[codebox] {BEGIN webreport_link}

<div ve="noedit"><b class=xtop>

<b class="rb1 rb1_menu"></b><b class="rb2 rb2_menu"></b><b class="rb3 rb3_menu"></b><b class="rb4 rb4_menu"></b>

</b>

<div class="menuitem">

<span ve="edit">

<a href="webreport.php" class="menu_db2" >{mlang_message WEBREPORTS_SHORT}</a>

</span>

</div>

</div>

{END webreport_link}[/codebox]

Many thanks

Hich

J
Jane 1/15/2009

Hich,
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages.