Please open your web project in your browser. You get the "K8 Web Kit" page with menu and login form. The menu contains the following items:
- K8 Web Kit / <myproject>
- Register / My data
Home: K8 Web Kit / <myproject>
This is the main page of your website. Here you get the heighest attention. In our example the login / logout dialog is displayed. To change this part search in this file for: $page=="home".
The datadefID=1, "Persons List", is displayed. This is an easy master data example without a table in the database and without right check.
Change the datadefID in the url: "index.php?page=masterdata&datadefID=2". Now the "Item master data" is displayed. This datadefinition depends on the table "k8components" and the right check is enabled. You have to login 1st; than your data is displayed.
Register / My Data
To use the data access rights you have first to register and to login. After registration and login you can upload a profile picture and add other user as friends.
Please register with a new user, for example: demo
this menu is only displayed, when an admin (password=admin) is logged in. In the admin/user list all registered user are displayed.
this are the main folders in your project:
put your style sheets here
put your images here
all uploads are saved here
declare your datadefinition here
define your selects here
- add your project files here
this are the main files in your project:
check it out: index.php
The header of the page, banner and menu, contains "_header.php". In the "ul", class "navbar-nav" the menu items are listed. Here you can modify your menu.