## Getting Started with ApPHP AdminPanel (for version 1.0.0 or above)

1. Login and Logout. 1.1 Login. 1.2 Logout. 2. Administrator Account Management. 2.1 Changing Admin Account Settings. 2.2 Creating New Admin. 3. Panel Settings. 3.1 Changing Panel Settings. 4. Menu Management. 4.1 Menu Categories. 4.1.1 Creating Menu Category. 4.1.2 Editing Menu Category. 4.1.3 Deleting Menu Category. 4.2 Menu Options (links). 4.2.1 Creating Menu Option. 4.2.2 Editing Menu Option. 4.2.3 Deleting Menu Option. 5. Creating/Editing Pages. 5.1 Static Pages. 5.2 Dynamic Pages. 5.3 DataGrid Pages. 5.4 Creating_Empty_Link. 6. Backup and Restore. 6.1 Creating Backup. 6.2 Restore Backup.

## 1. Login and Logout.

In this section described how to perform login and logout from the Admin Panel.

[top]

### 1.1 Login.

To perform login into Admin Panel open your browser and type in Address Bar

    http://{www.mydomain.com}/index.php

or

    http://{www.mydomain.com}/{adminpanel_directory}/index.php

When login page will be loaded, enter admin username and password and then click on Login button. If you entered a valid information you will be logged and redirected to the inner part of the Admin Panel.

[top]

### 1.2 Logout.

To perform logout just click on Logout link at the top-rignt part of the screen or type in Address Bar of your browser

    http://{www.mydomain.com}/{adminpanel_directory}/logout.php

and then press Enter.

## 2. Administrator Account Management.

In this section described how to change settings in Administrator Account Management.

[top]

### 2.1 Changing Admin Account Settings.

To change Admin Account Settings - select from the left menu: Account Manager -> Admins. You will see Admins Manager page, where one record already exists. Click on Edit link from the left column and DataGrid will open this record in Edit Mode. Change the data according to your needs and then click on Update to save these changes.

[top]

### 2.2 Creating New Admin.

To add new administrator, open Admins Manager page (see 2.1) and click on +Add New link. Enter all needed data, including admin username and password and then click on Create.

## 3. Panel Settings.

In this section described how to change Panel Settings.

[top]

### 3.1 Changing Panel Settings.

To change Admin Panel Settings - select from the left menu: General -> Panel Settings. You will get Admin Panel Settings page with possibility to change some parameters.
The parameters, that may be changed:

- - Site Name - string
- - Site Address - string
- - Header (required) - text
- - CSS Style - color schema of AdminPanel
- - DataGrid CSS Style - CSS Template of DataGrids in AdminPanel
- - Menu Placement - left or top

Change the data you want to suit your needs and then click on Update to save the changes.

## 4. Menu Management.

In this section described how to manage the categories and menu options.

[top]

### 4.1 Menu Categories.

To start working with Menu Catagories - select from the left menu: General -> Menu Manager. You will get Menu Manager page, that allows you to manage menu categories.

[top]

#### 4.1.1 Creating Menu Category.

To add new Menu Category, open Menu Manager page (see 4.1) and click on +Add New link. Enter all needed data and then click on Create.

The data, that has to be entered:

- Menu Group Name (required) - Menu Category name, that will appear on Menu Panel
- Order Index (required) - sequence order of Menu Category
- Is Hidden - hide or show Menu Category in Menu Panel
- Is Removable - allow or not to remove this Menu Category from Menu Manager page
- Show In Menu - show or not this Menu Category in Menu Panel
- Show In Dashboard - show or not this Menu Category in Dashboard

[top]

#### 4.1.2 Editing Menu Category.

To edit existing Menu Category, open Menu Manager page (see 4.1) and click on Edit link in appropriate Category. Change all data you need and then click on Update.

[top]

#### 4.1.3 Deleting Menu Category.

To delete existing Menu Category, open Menu Manager page (see 4.1) and click on Delete link in appropriate Category. This operation will delete all Menu Options, pages and images, associated with this Category.

[top]

### 4.2 Menu Options (links).

To start working with Menu Options (links) - select from the left menu: General -> Menu Manager. Then click on Menu Options link in appropriate Category. You will open Menu Options Manager page, that allows you to manage menu Menu Options for selected Category.

[top]

#### 4.2.1 Creating Menu Options.

To add new Menu Option, open Menu Options Manager page (see 4.2) and click on +Add New link. Enter all needed data and then click on Create.

The data, that has to be entered:

- Menu Option Name (required) - Menu Option Name, that will appear on Menu Panel
- Page Name (required) - name of page, that will be created
- Order Index (required) - sequence order of Menu Option
- Is Removable - allow or not to remove this Menu Option from Menu Options Manager page
- Is Hidden - hide or show Menu Option in Menu Panel
- Show In Menu - show or not this Menu Option in Menu Panel
- Show In Dashboard - show or not this Menu Option in Dashboard
- Icon - upload icon image, to be used in Dashboard

[top]

#### 4.2.2 Editing Menu Option.

To edit existing Menu Option, open Menu Options Manager page (see 4.2) and click on Edit link in appropriate Option. Change all data you need and then click on Update.

[top]

#### 4.2.3 Deleting Menu Option.

To delete existing Menu Option, open Menu Options Manager page (see 4.2) and click on Delete link in appropriate Option. This operation will delete page and images, associated with this Menu Option.

## 5. Creating/Editing Pages.

In this section described how to create different types of pages.

[top]

### 5.1 Static Pages.

Static pages may be created while adding new Menu Option (see 4.2.1) by selecting Static Page option from the Page Type dropdown box. Here is some important data, that has to be entered:

- Menu Option Name (required) - Menu Option Name, that will appear on Menu Panel
- Page Name (required) - name of Static page, that will be used by system

Once created, static pages may be easily edited from the Pages Manager. To edit existing Static page click on Static Pages link from the Pages Manager menu. On the page, that will be opened, find appropriate record and click on Edit. After all changes will be finished, click on Update button to save them.
If you want to delete existing Static page - go to General -> Menu Manager -> [Menu Options] and click on Delete link of your page.

[top]

### 5.2 Dynamic Pages.

Dynamic pages may be created while adding new Menu Option (see 4.2.1) by selecting PHP Simple Page option from the Page Type dropdown box. Here is some important data, that has to be entered:

- Menu Option Name (required) - Menu Option Name, that will appear on Menu Panel
- Page Name (required) - name of Dynamic page, that will be used by system. For example: my_sites.php

Once created, Dynamic pages may be easily edited from the Pages Manager. To edit existing Dynamic page click on Dynamic Pages link from the Pages Manager menu. On the page, that will be opened, find appropriate record and click on Edit. After all changes will be finished, click on Update button to save them.
If you want to delete existing Dynamic page - go to General -> Menu Manager -> [Menu Options] and click on Delete link of your page.

[top]

### 5.3 DataGrid Pages.

DataGrid pages may be created while adding new Menu Option (see 4.2.1) by selecting PHP DataGrid Page option from the Page Type dropdown box. Here is some important data, that has to be entered:

- Menu Option Name (required) - Menu Option Name, that will appear on Menu Panel
- Page Name (required) - name of DataGrid page, that will be used by system. For example: users.php

After creating DataGrid page, you will be redirected to the DataGrid Wizard, which will help you to create Datagrid page "on fly" in easiest way.
Once created, DataGrid pages may be easily edited from the Pages Manager. To edit existing DataGrid page click on DataGrid Pages link from the Pages Manager menu. On the page, that will be opened, find appropriate record and click on Edit. After all changes will be finished, click on Update button to save them.
If you want to delete existing DataGrid page - go to General -> Menu Manager -> [Menu Options] and click on Delete link of your page.

[top]

### 5.4 Creating Empty Link.

If you want to create an empty link in one of menu categories delete existing DataGrid page - go to General -> Menu Manager -> [Menu Options] and click on Add New link. Then select for Page Type - "PHP simple page" and remove selection from "Create File?" checkbox. Just link will be created in appropriate menu category.

## 6. Backup and Restore.

In this section described how to create and restore backup.

[top]

### 6.1 Creating Backup.

ApPHP Admin Panel allow you easily create backup of your database. To do this go to Admin Tools -> Backup. On page that will be opened you will see a list of existing backups. If you want to add new backup click on BackUp button. After back file will be created it will appear in the list of existing backups.

[top]

### 6.2 Restore Backup.

To restore existing backup - go to Admin Tools -> Backup page and look on the list of existing backups. Select a backup you want to restore and click on [restore] link from the right side. After restore will be completed refresh the site or re-login.