The following steps need to be performed in order to setup an application.
- Go to your hosting provider and create a new domain
- Create a hosting package for that new domain
- Use the CPanel to create the
conforza
database. Note that if your hosting provider is GoDaddy, the database cannot be created via script as it will generate errors saying the database name has to be unique
- Run the following database installation scripts in this order. These scripts create the core tables for the
conforza
database
conforza_core_app_components.sql
conforza_core_ui.sql
conforza_core_security.sql
conforza_core_navigation.sql
conforza_core_release_management.sql
conforza_core_qa.sql
conforza_core_social.sql
conforza_core_lookup.sql
- Run the following database installation scripts to create the core relationship tables for the
conforza
database
conforza_core_relationships.sql
- Copy the appropriate include files and php, css, and js directories from an existing application directory to the new one (
public_html
)you just created when you setup the domain
- Make sure that you have the following files in your php directory:
include_head.php, get_application_id.php, get_page_layout.php,get_media_size.php, get_menu.php
and index.php
- Add a new application record in the
obj_application
table
- Add a new menu record in the
obj_menu
table
- Add a new relationship record in the
rel_application_menu
table, this record logically links the new menu you just defined to the new application. At this point although your new menu is linked to the new application, it doesn't have anything in it. Let's add some menu items in the next step.
- Create some records in the
obj_menu_item
table to specify your menu options for your new application.
- Tie the menu items you just created to the new menu via the
rel_menu_menu_item
table
- Add a new user by registering them via the page at https://fouronfour.us/php/get_registration.php. Alternatively, if you don't want to create a new user, choose one from the table and note down the numeric value of the
id_user
field for that user as you will need it when you link the user to the new application
- Link the new user to the new application by adding a relationship record in table
rel_application_user
- Open up the
obj_access_role
table and see if you need to add any additional access roles to this application beyond what is already defined, if so then add a new record and define the appropriate role
- Link the required access roles to the new application by entering records into the relationship table
rel_application_access_role
- Open up the
obj_entity
table and see if you need to add any additional logical entities to this application beyond what is already defined, if so then add a new record and define the appropriate entity in the table
- Link the required logical entities to the new application by entering records into the relationship table
rel_application_access_role_entity_action
. For this table you will need to add a record for each action that this entity supports, for example, create, read, update, delete
- In the same relationship table specify whether the roles you are using will have permissions and access granted via
ALLOW
or have access explicitly not be granted via the DENY
option
- Now that you have created users, roles and privileges, you can assign particular roles to the new users. To do this add an entry in the logical relationship table called
rel_application_user_access_role
- Now that access roles have been specified, you can wrap functional access to the new menu's menu items by creating records in the
rel_access_role_menu_item
table
- Create a logo for your new application
- Add a record to the
obj_logo
table and reference your new logo image that you just created
- Link your new logo to the application by entering a new record in the
rel_application_logo
table
- You can repeat the steps above if you want to have a carousel as part of your new application. Create the carousel, add it to table
obj_carousel
and then link it via table rel_application_carousel
Four on Four (Production) ver. 4.22.1SoCal's best house, trance and EDM mixes by DJ AlexanderConnect with us on our other social channels