I am building a note application for fun and to learn CakePHP ( see 
screenshot below). There are two things I would like to do:


<https://lh4.googleusercontent.com/-dqI4U4kH89Q/TgU7Syif2GI/AAAAAAAAaAs/HOfKie_EcD8/kuje_note_home.jpg>


   1. I would like to display the date as seen in the screenshot and 
   organize the notes (today, yesterday, 3 days ago, 1 week ago and 2 days, 3 
   months ago...). Is that easy to do? So far, I am using:
   
   <?php echo $time->relativeTime($note['Note']['created']); ?> //output: *15 
   hours, 20 minutes ago*
   
   2. I would like to create a rating system to make an important note more 
   noticeable (the red flag with star in screenshot). I am just copying the 
   Wunderlist.com rating system but without the prioritization (in Wunderlist, 
   it will move the task up if you rate it). I just don't know how to start so 
   any help would be welcome. 


Thanks!

Jeremie



-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to