Title: iCal Sync | Description
Last modified: August 30, 2016

---

# iCal Sync | Description

 *  [Daniel W](https://wordpress.org/support/users/daniel-w-1/)
 * (@daniel-w-1)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/ical-sync-description/)
 * The iCal Sync is awesome!
 * Now the `DESCRIPTION` and `SUMMARY` for an event are the same.
 * Is it possible to use the comments from admin/manager as description?
 * [https://wordpress.org/plugins/shiftcontroller/](https://wordpress.org/plugins/shiftcontroller/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Daniel W](https://wordpress.org/support/users/daniel-w-1/)
 * (@daniel-w-1)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/ical-sync-description/#post-6607913)
 * Like this (mockup from a part of module > ical > models> ical.php )
 *     ```
       reset( $this->shifts );
       		foreach( $this->shifts as $sh ){
       			$views = array(
       				'location'	=> $sh->present_location(HC_PRESENTER::VIEW_RAW),
       				'user'		=> $sh->present_user(HC_PRESENTER::VIEW_RAW),
       				'notes'		=> $sh->present_notes(HC_PRESENTER::VIEW_RAW),
       				);
   
       			$event = new hc_vevent(); // initiate a new EVENT
       			$event->setProperty( 'uid', 'obj-' . $sh->id . '-' . $my_unique );
       			$event->setProperty( 'location', $views['location'] );
       			$event->setProperty( 'summary', $views['user'] . ' @ ' . $views['location']  );
       			$event->setProperty( 'description', $views['notes']  );
       ```
   
 * The imaginary rows are:
    `'notes' => $sh->present_notes(HC_PRESENTER::VIEW_RAW),`
   and `$event->setProperty( 'description', $views['notes'] );`
 *  [hitcode](https://wordpress.org/support/users/hitcode/)
 * (@hitcode)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/ical-sync-description/#post-6607915)
 * Hi Daniel,
    yes we’ve got this in the development plan, hope to get it done within
   weeks. It will be a bit more complicated that this code because the comments 
   option is packaged as a module which might be missing on a certain install (as
   it is with free versions).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘iCal Sync | Description’ is closed to new replies.

 * ![](https://ps.w.org/shiftcontroller/assets/icon-128x128.png?rev=1851172)
 * [ShiftController Employee Shift Scheduling](https://wordpress.org/plugins/shiftcontroller/)
 * [Support Threads](https://wordpress.org/support/plugin/shiftcontroller/)
 * [Active Topics](https://wordpress.org/support/plugin/shiftcontroller/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shiftcontroller/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shiftcontroller/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [hitcode](https://wordpress.org/support/users/hitcode/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/ical-sync-description/#post-6607915)
 * Status: not resolved