Monday, December 8, 2008

Final Project : Building Administration

There are a few issues with the top grey bar and there isn't content for all pages yet BUT if you want to log in use admin@admin.com:admin to get in to create your own user. I'll leave all users as you've created so you can check back if you like. Admin Section

Today was a good one.
1. Backup my latest stable version
2. Change the "office.php" files to "index.php"
3. Change the kast_agents table to kast_employees : When I changed this and the corresponding files and functions I overlooked one small variable definition on the controller and spent an hour looking for the invalid argument. Ugh! I think I got it this time... riiiight.
4. Create a kast_users table for the login I populated it with one user so I could log into the administration area but that entry didn't matter because the class10 social network login method that I was appropriating from user.class.php uses MD5 security. To get around it, I had to keep the registration viewable to unregistered people till I got one good entry into the table from the form which enters the password into the table with the same security it is looking to retrieve it with.
5. Create the login functionality from class10 social network. Successfully appropriated class10 social network login method. Eventually I split it up though so the registration is behind the login. This way only administrative users can make new memebers.
6. Added an administration section to the left navigation. Created pages for listing the administrators and registering new administrators. New administrators page is the part I broke out of the authenticate.php file so I could require loggedIn users
8. I really like the switch method so I've applied this method to the index page for at least the simple pages that just show information. You can see in the code for the left navigation that some of the links call for different action of the index file.

Next I think I'm going to try a tinyMCE page for testimonial or rentals page. By wednesday though I really need to focus on just property information which is the bulk of the front end information.

No comments: