-
Create the database using latest data dump called
tobwis_production_2015-10-05_8-04 PM.sql
as stated in https://trello.com/c/miRexqN3/30-related-toolkits-8-8 -
Change to the database using
use tobwis;
-
Add
tobwis.mypad.in
to the entries incore_sites
table -
Add the test users using the sql in
project/tobwis-at-dev.sql
usingsource /home/ghost/tempBucket/tobwis/tobwis-at-dev.sql;
-
Import the database in the mysql command using
source /home/ghost/tempBucket/tobwis/tobwis_production_2015-10-05_8-04 PM.sql;
-
Don't forget to enable
Toolkits
module from the admin. This is deliverable from Mission #1. -
Update the dummy title using a trigger
-
First add a dummy field to the database. Add a field call
dummy_title
of typeText
to thetoolkit
page type. -
Populate the database for existing records using the following query
UPDATE tobwis_pages_toolkit
SET tobwis_pages_toolkit.dummy_title = NULL
UPDATE tobwis_pages_toolkit
INNER JOIN tobwis_pages ON (tobwis_pages_toolkit.id = tobwis_pages.entry_id AND tobwis_pages.type_id=4)
SET tobwis_pages_toolkit.dummy_title = tobwis_pages.title
- The
update_page_fields
event in/system/cms/modules/pages/events.php
takes care of auto updating the fields every time the page gets created or updated.
Welcome Message
- Create a messages stream.
- Create a sample entry for the initial welcome message for the user
- Included code in the dashboard view to show the WYSIWIG for the message
Featured Toolkits
- Add
Featured
choice field to the Toolkit page type - Displayed the featured toolkits in the admin dashboard.
- TO DO: Move the CSS from
dashboard.php
to some nice theme
- TO DO: Move the CSS from
- DONE: Add
Sort Order
integer field to the Toolkit page type. This will be hidden from the user. - Made Featured toolkits sortable
- DONE: Update
sort_order
in the database - TO DO: Organize CSS out of
dashboard.php
- DONE: Update
- Feedback: +
- Create menu bar for toolkit images
- css3 - Black transparent overlay on image hover with only CSS? - Stack Overflow
- javascript - Overlay thumbnail with remove image button? - Stack Overflow
- html - How can i overlay an 10x10px image on top of another image? - Stack Overflow
- jquery - How do I overlay an icon/image onto another image on form submission? - Stack Overflow
- jQuery UI sortable - sorting images - Stack Overflow
- Sorting images using Drag and Drop method
Updates
-
Create the
updates
stream -
Add
Is Spotlight
field to theupdates
stream -
Make chris aware that the edit modal controller for the stream update has been put in to the news module. It is hacky!
-
The updates displayed are limited to 10 and are sorted by created date
-
The updates can be edited directly from the dashboard - DONE
- TO DO: The confirmation alert doesn't show up for the edits to updates made from the modal. Need to fix!
-
Spotlight
- Completed which update needs to be shown in the spotlight
- Move all other updates to Spotlight is "No" when one update gets triggered - This has been done via an
events
hack on the streamsevents.php
- Move all other updates to Spotlight is "No" when one update gets triggered - This has been done via an
- Completed which update needs to be shown in the spotlight
-
Files Module Improvement
- Navigating to a file module should redirect to a download page
- Wait for a few seconds to make the Google Analytics Call
- Redirect to download file
The files to be modified is: /system/cms/modules/files/controllers/files_front.php
sudo apt-get install apache2
sudo apt-get install libapache2-mod-rpaf
- Call - 18-Nov-2015
-
- Use bootstrap 4 (jquery 1.11)
- Implementing the designs
- Create a new theme
- JS and CSS loaded in a user friendly way
-
##Theme Update
- Included Bootstrap v4.0 alpha from https://github.com/Ternoc/bootstrap-compiled-v4.0.0-alpha
Sources: