Hi there. I have a website that's made with Smarty Template (Core PHP + MySQL) and has an MVC folder style. It's pretty easy and has a lot of existing modules, functions and features. I need someone to help me add some new Admin features asap. I already have an amazing Admin and it should be very easy to add these features (I would do them myself, but I'm busy working on other parts of the website).
Some of the features I need help making:
Note: When I say "module" below I basically mean a new controller, model and view file that creates a new feature we can put anywhere in the website.
1) Add a new Types Admin Module/Page (so the Admin can add new "Types" to a simple table). Then we have a form page that I want you to add a Dropdown to, so we can list these Types (in a select dropdown) as a choice the User can select (when filling out a form we already have).
2) Add a 2nd Types feature (similar to the above feature) for a similar table, so we can put another Dropdown with different values on a different form page (similar to the above).
3) Add a new Notifications Admin Module/Page, which allows the Admin to add "Notifications" to a red Notifications bar I've already added at the top of the Admin area.
For this feature, we'll have a way for the Admins to check "done" for each Notification (on a View All Notifications page - which the getList function in the controller can create/populate), so it makes the Notifications disappear from the red bar once they've done or addressed the issue.
So, we will need to let Admins go to the View All Notifcations page where they can either "edit" a Notification (and set the done value to 1) OR simply click a "Done" button that'll be on each row (without even needing to go into the Edit Notification page). I actually already have some similar AJAX functions that do this built into other features, so it'll be easy to copy one and use for this feature.
Note: Updating a Notification as "done" simple will set a done field from 0 to 1. And, we'll make the red Notifications bar ONLY display notifications with a done value of 0. This can be similar to our default getList function, like getNotifications() with a where condition that looks for done = 0.
4) Add a feature to the Edit User Account (Admin feature), which lets the Admin add multiple Org IDs to an input field that saves a string of Org IDs [1,2,3,4,5].
We have 2 columns in our Users table that save a string of values like [1,2,3,4,5], which represents Organization IDs and SubOrg IDs.
So, I basically need 2 features that insert the OrgID values as a string into each field (ie input on the Edit User Account page). I already have a dropdown in the Edit User with the Orgs, but I think you may need to list them out as checkboxes so the Admin can simply check (or uncheck) the ones they want to save.
Orgs will be easy because there aren't many, but SubOrgs will be a little trickier because there can be many SubOrgs under each Org, so I think the best way may be to just list out ALL the Sub Orgs and then list their Parent Org Name above them (as groups of checkboxes).
I need these features done asap because I'm lauching a project Monday. Thanks!