HELP LINE

Please contact us any time if you need assistance on:

  • appRain installaton
  • Component, Plugin, Addon, Theme Configuration
  • Code Guide line
  • Documentation and Manual
  • Any appRain bug fixig

For any clarification email us now »

appRain CMF
info@apprain.com

Ticket

Parent Part Definition

Admin Panel Structure | Report this post | Back


A parent part create a new tab in admin pane. It works with Title, ACL, Sort Order and Drop Down menu, See a complete example of a <parent> with two drop down menu

<parent>
    <title>User Management</title>
    <action>/admin/manage</action>
    <submenu>
        <item>
            <title>Manage Administrators</title>
            <link>/admin/manage</link>
        </item>
        <item>
            <title>Manage Members</title>
            <link>/member/manage</link>
        </item>
    </submenu>
    <acl>
         <group>superadmin</group>
    </acl>
    <sort_order>7</sort_order>
    <icon>/themeroot/admin/images/icons/usermanagement.png</icon>
</parent>

Title

Title is the text that display in admin tab. We assign it in <title> tag.

Action

Action tag define the Default URL of the tab. This is a general page of this tab. We define it in <action>

Sub Menu

Sub Menu tag creates the drop down links that appear at the time we mouse over the Menu.

We add a set of link(<item>) in sub-menu tag. See following example:

<submenu>
    <item>
        <title>Manage Administrators</title>
        <link>/admin/manage</link>
    </item>
    <item>
        <title>Manage Members</title>
        <link>/member/manage</link>
    </item>
</submenu>

ACL

Here is a small part of control that work for Super Admin and User Admin Process. Basically appRain runs in two mode, Super Admin and User Admin.

When an admin Login in the panel normally that we call super admin mode. We use following URL for this login

www.example.com/admin/system

In User admin mode, a member can get an admin panel access. We use following URL to login as User Admin.

www.example.com/admin/login

The ACL tag define which user have access in that tab. We have to setting for that "superadmin","useradmin". See following example:

<acl>
    <group>superadmin</group>
    <group>useradmin</group>
</acl>

Sort Order

Sort order define the position of the menu in main nav. We add this value in following tag

<sort_order>7<sort_order>

Icon

This is an folder path of a image to display in left side of the menu.

<icon>/themeroot/admin/images/icons/usermanagement.png</icon>


Report this post

Highlighted News

Latest version of appRain (0.2.1) is ready for download. New module is developed to apply validation and easy JavaScript programming. Lots of fixes done and made it stable.