WP_Project_Management_Tool
WP_Project_Management_Tool
A web application using the WordPress CMS, written in HTML, CSS, PHP, Javascript and jQuery that allows users to manage projects/tasks, clients, employees, and timesheets. It’s as easy as installing a theme!
Initial Setup (after setting up your database and installing WordPress)
Upload the two folders in this repo’s /src folder to your server’s /wp-content. Activate the theme “ecs87 Skeleton”. Activate plugins: Category Order and Taxonomy Terms Order, CMB2 Field Type: Ajax Search, and Gravity Forms.
In the Dashboard (Settings)
- Go to Settings -> Permalinks -> Select “Post name” -> Click the “Save Changes” button
- Go to Settings -> General -> Find the “Anyone can register” checkbox and check it (Optional; do not do this if you want to only add users yourself)
- Go to Settings -> General -> Select “Subscriber” for the “New User Default Role”.
- Go to Settings -> Discussion -> Select: Allow people to post comments on new articles
- Go to Settings -> Discussion -> Select: Users must be reigstered and logged in to comment
- Go to Settings -> Discussion -> Uncheck: Comment author must fill out name and email
- Go to Settings -> Discussion -> Uncheck: Comment author must have a previously approved comment
- Go to Settings -> Discussion -> Uncheck: Anyone posts a comment
- Go to Settings -> Discussion -> Uncheck: A comment is held for moderation
In the Dashboard (Forms)
- Activate your license of Gravity Forms
- Go to Forms -> New Form/Add New -> Form Title -> “Timesheet” -> Click the Create Form Button
-
Add 6 fields:
- Date (Advanced Fields -> Date)
- Start Time (Advanced Fields -> Time)
- End Time (Advanced Fields -> Time)
- Client (Standard Fields -> Drop Down)
- Task Description (Standard Fields -> Paragraph Text)
- Worker Name (Standard Fields -> Single Line Text)
- I’ve added images to show what each of the field settings should be populated with (if you do not see images for an Appearance tab for that field it means that the defaults were used).
- Take note of ALL field ID numbers and your form ID number (refer to the image below to get these numbers; the red arrow is pointing to the form ID number and the orange arrow is pointing to the field ID number).
- Go to Forms -> select your “Timesheet” form -> Settings -> Confirmations -> I hope you took note of your form ID number!!! -> Confirmation Type: Text -> Message: [gravityform id=”your form ID # goes here” title=”false” description=”false”] (refer to the image below for clarification).
- OPTIONAL: Go to Forms -> select your “Timesheet” form -> Settings -> Notifications -> toggle the notification slider to OFF.
In the Dashboard (Appearance)
- Go to Appearance -> Customize -> Select the Logo & GForms Selection on the left sidebar.
- Add/Upload an image to use as your site logo.
- I hope you took note of your form ID and field ID numbers from the timesheet form! Enter in the respective IDs to their fields in this section under the site logo selector.
- Click the Save & Publish button.
In the Dashboard (Pages):
- Add pages with titles: Clients, Tasks Assigned To Me, Timesheet, and Timesheet Review.
- For the Clients page assign the “Clients Archive Page” template.
- For the Timesheet Review page assign the “Timesheet Admin Page” template.
- For the Timesheet page assign the “Timesheet Page” template.
- For the Timesheet page add this shortcode to the Visual/WYSIWYG editor:
[gravityform id="your_form_id_goes_here" title="false" description="false"]
- Go to Settings -> Reading -> Select “A static page (select below)” for the “Front page displays” section.
- For “Front page:” select the page “Tasks Assigned To Me”. Click the Save Changes button.
In the Dashboard (Appearance)
- Go to Appearance -> Menus -> create a new menu.
- For the Menu Name input “PM Menu”.
- Add the pages: Tasks Assigned To Me, Timesheet, Timesheet Review, and Clients.
- Select “Custom Links” from the left sidebar and input this url:
http://yourdomain.com/wp-login.php?action=logout
- For the Link Text input “Logout”.
- Under the Menu Settings assign the Display location to Project Management Nav.
- Click the Save Menu button.
Basic Usage (after initial setup)
All pages on the site will require that the user be logged in.
In the dashboard you can create clients for the client list by going to Tasks -> Client List. This is a category/taxonomy that is used to populate various client fields across the site.
Once a client is added you can then create tasks linked to that client that are assigned to users. Tasks contain a title, content, closed/completed status, a deadline date, which client it belongs to, files belonging to the task, users belonging to the task and comments/discussions belonging to that task.
Users are automatically emailed whenever they are added or removed from a task.
Users associated with a task as well as the task’s creator are also automatically emailed whenever a user posts in the comments/discussions for that task.
Users can keep track of their time via the…