Coming soon - how to add your own page to your app
Posted: 2013-07-10 15:02
Ever wonder how to add in your own page which is not generated by AppGini but you want the same controlled user access (name/password). Want it to pull data from your mysql database? Want to have it show up in the menus and as a clickable block on the home page? Want it to be just an info page pulling details from the database but do not need it to allow updating of data. (A read only type of situation).
I will post my notes later on how I do this. As an example I have a page which shows minimum contact information for a group. It only shows name, email, phone # and a picture. This page can be seen by all members of all groups with proper access (I do take a shortcut on this) but not be accessed by anyone without a proper user/pass. I also have it write into a separate table who looked at it and when for tracking purposes.
I will put up my notes on what to add to a page to get it to only allow proper user access, how to add to menu and home page (hooks here we come) etc. I will not be telling how to write the code but only what you need to do to make sure it is within the AppGini generated system as a page.
Look for this in about a week.
I will post my notes later on how I do this. As an example I have a page which shows minimum contact information for a group. It only shows name, email, phone # and a picture. This page can be seen by all members of all groups with proper access (I do take a shortcut on this) but not be accessed by anyone without a proper user/pass. I also have it write into a separate table who looked at it and when for tracking purposes.
I will put up my notes on what to add to a page to get it to only allow proper user access, how to add to menu and home page (hooks here we come) etc. I will not be telling how to write the code but only what you need to do to make sure it is within the AppGini generated system as a page.
Look for this in about a week.