Diem plugins syndication


Displays the days in from a month in a list along with events attached to them

dmWidgetEventCalendarPlugin displays the days in from the current month in a list.
You can attach events to each day and they will be displayed on the calendar.
Events can be populated into the calendar from a model's records if the model implements
the provided interface.


  • In a console, from your project root dir, run:
git clone git://github.com/antitoxic/dmWidgetEventCalendarPlugin.git plugins/dmWidgetEventCalendarPlugin  
  • In config/ProjectConfiguration.class.php, add dmWidgetEventCalendarPlugin to the list of enabled plugins:
class ProjectConfiguration extends dmProjectConfiguration
  public function setup()  
      // your enabled plugins  
  • In a console, from your project root dir, run:
php symfony dm:setup  


Download it

Run in project's directory:

git clone git://github.com/antitoxic/dmWidgetEventCalendarPlugin.git plugins/dmWidgetEventCalendarPlugin  

Enable it

Edit ProjectConfiguration

class ProjectConfiguration extends dmProjectConfiguration  
    public function setup()  

            // your enabled plugins  

Just clear the cache

Run in project's directory:

php symfony cc  

Style the calendar

Include the plugin assets in your apps/front/config/view.yml file:

  - dmWidgetEventCalendarPlugin.view  

Don't forget to publish the plugins' assets:

php symfony dm:publish-assets  

What is provided?

It includes:

  • Event Calendar widget under the Schedule widget category.
  • event_calendar service. Universally reach it via dmContext::getInstance()->getServiceContainer()->getService('event_calendar')
  • Offers dmHtmlCalendarEventInterface that your model should implement in
    order to be valid Event for the calendar.
    Only the following methods should be defined:

    • renderEvent ($day, $isFirstEvent=true) Used to output the event
    • getAdditionalDayClasses You can simply define empty method. Returns
      the classes that will be appended to day markup element
    • getAdditionalDayAttributes You can simply define empty method.
      Returns the attributes that will be appended to day markup element
    • getCalendarDate Returns the date of the event
    • getCalendarDateColumnName STATIC If the CalendarQuery method
      return Doctrine_Query object you can leave this an empty method. be Return the name of the column in the database that represent the date
    • getCalendarQuery ($startDate, $endDate) STATIC You can simply
      define empty method. Otherwise it should be a Doctrine_Query instance.

Widget options

  • showWeekDays Whether to display the names of the week days. Defaults to true.
  • numberPadDays Whether to display days from the following/next month
    that complete the last/first week
  • weekNameFormat Format of the week day names. Either 'EE'(Single letter)
    | 'EEE'(Abbreviated) | 'EEE'(Full name)
  • weekDayStart Which is the first day of the week. Defaults to 'sun'
  • Sunday. One of 'sun','mon','tue','wed','thu','fri','sat' OR 0,1,2,3,4,5,6
  • model Model that implements dmHtmlCalendarEventInterface interface.
    The model's table will be queried to retrieve events from the current month.
  • culture Calendar culture

Example Model class implementation

Here is the minimum if you want Events to be populated into the calendar from a model's records:

class Appointment extends BaseAppointment implements dmHtmlCalendarEventInterface  

    public function getAdditionalDayAttributes()  

    public function getAdditionalDayClasses()  

    public function renderEvent( $day , $isFirstEvent = true )  
        return $day.' '.$this->getClient();  

    public function getCalendarDate()  
        return $this->getScheduledOn();  

    public static function getCalendarDateColumnName()  
        return 'scheduled_on';  
    public static function getCalendarQuery($startDate, $endDate) {  


  • MichaelHahJuly 12, 2017 9:16 AM

    wh0cd315965 [url=http://ashwagandha.reisen/]best ashwagandha brand[/url] [url=http://himplasia.reisen/]himplasia[/url] [url=http://pristiq.reisen/]pristiq[/url] [url=http://imdur.world/]imdur[/url]

  • StewartUlcerAugust 26, 2017 8:11 AM

    wh0cd235645 [url=http://genericlipitor365.us.com/]generic lipitor[/url] [url=http://zithromax247.us.com/]order zithromax online[/url] [url=http://metformin500mgtablets.us.org/]order metformin online[/url]

  • AlfredterSeptember 13, 2017 3:34 AM

    [url=http://divo.tomsk.ru/divo_forum/memberlist.php?mode=viewprofile&u=445140]Cialis From Canada[/url] [url=http://bbs.9rt.com/home.php?mod=space&uid=265723]Buy Cialis Online[/url] [url=http://arhongbao8.com/home.php?mod=space&uid=3392]cialis[/url] [url=http://bbs.hds360.com/home.php?mod=space&uid=51624]online cialis prescription[/url] [url=http://zhshgy.org/bbs/home.php?mod=space&uid=938286]buy cialis online[/url]

  • MichaelHahSeptember 13, 2017 8:05 PM

    [url=http://buystrattera.reisen/]buy strattera[/url]

  • AlfredterSeptember 15, 2017 4:23 AM

    [url=http://www.ejia7.com/home.php?mod=space&uid=275838]cialis from canada[/url]

  • JohnhantySeptember 16, 2017 2:45 AM

    [url=https://paydayloans.us.org/]payday loans[/url]

  • JamesgandySeptember 19, 2017 12:39 AM

    [url=https://paydayloans.us.org/]loans for bad credit[/url]

  • JamesgandySeptember 22, 2017 10:20 PM

    [url=https://essaywritingservices.us.com/]australian essay writing service[/url] [url=https://essayonline.us.com/]https://WriteMyEssay.us.com/[/url]

  • JamesgandySeptember 24, 2017 6:10 AM

    [url=https://freesexchat.us.com/]free sex chat[/url]

  • JamesgandySeptember 28, 2017 5:26 AM

    for more <a href=https://onlineloans.us.com/>easy payday loans online</a> payday loans online [url=https://onlineloans.us.com/]payday loan online[/url]

  • JamesgandyOctober 12, 2017 8:18 AM

    no credit check payday loans online <a href=https://paydayloansonline.us.com/>payday loans online california</a> payday loans online [url=https://paydayloansonline.us.com/]payday loans online[/url]

  • Buy Essays Cheap October 15, 2017 6:00 AM

    website to write essays <a href=https://writemyessay.us.com>HTTPS://WRITEMYESSAY.US.COM/</a> Read This [url=https://writemyessay.us.com]write an essay[/url]

  • JamesgandyOctober 16, 2017 10:01 PM

    online essays <a href=https://essayonline.us.com>write my essay online</a> homework online [url=https://essayonline.us.com]online essay writing[/url]

  • Payday Loan Online October 17, 2017 3:49 PM

    payday loans online <a href=https://onlineloans.us.com/>payday loan direct lender</a> online loan [url=https://onlineloans.us.com/]online loans[/url]

  • JamesgandyOctober 17, 2017 11:12 PM

    chat sex <a href=https://freesexchat.us.com>slut chat</a> live sex chat [url=https://freesexchat.us.com]sex chat free[/url]

  • JamesgandyOctober 31, 2017 9:10 PM

    buy essays online <a href=https://essayonline.us.com>write my essay online</a> HTTPS://WRITEMYESSAY.US.COM/ [url=https://essayonline.us.com]paper writing services[/url]

  • JamesgandyNovember 1, 2017 3:00 PM

    help me essay <a href=https://collegeessay.us.com>college essay prompts</a> persuasive essay help [url=https://collegeessay.us.com]help writing a narrative essay[/url]

  • Paydayloan November 3, 2017 4:02 AM

    quick personal loans online <a href=https://quickloans.us.com>quick loans online</a> quick personal loans bad credit [url=https://quickloans.us.com]fast loans lenders[/url]

  • Online Payday Loans November 5, 2017 7:53 PM

    short term loans no credit checks <a href=https://shorttermloans.us.com>ez cash loans</a> short loans [url=https://shorttermloans.us.com]payday loans columbus ohio[/url]

  • Essay Buy November 8, 2017 10:21 AM

    buy essays online <a href=https://buyessays.us.com>order essay paper</a> writing essays help [url=https://buyessays.us.com]order essay now[/url]

  • JamesgandyNovember 13, 2017 1:39 PM

    college essay help <a href=https://collegeessay.us.com>college admission essay help</a> i need help writing my essay [url=https://collegeessay.us.com]online essay writing help[/url]

  • JamesgandyNovember 14, 2017 12:39 AM

    bad credit personal loans online <a href=https://badcreditpersonalloans.us.com>bad credit personal loans guaranteed</a> payday loans bad credit dallas [url=https://badcreditpersonalloans.us.com]personal loans bad credit ok[/url]

  • JamesgandyNovember 14, 2017 7:50 PM

    short term loans direct lenders <a href="https://directlendersonlineloans.bid">easy approval payday loans</a> direct lenders online loans [url=https://directlendersonlineloans.bid]payday loans online direct lenders[/url] research paper proposal <a href="https://researchpaperproposal.stream">write my paper</a> research paper proposal [url=https://researchpaperproposal.stream]research paper proposal[/url] custom dissertation writing <a href="https://howtowriteatermpaper.science">write my paper for me</a> how to write a term paper [url=https://howtowriteatermpaper.science]write my paper for me[/url]

  • JamesgandyNovember 15, 2017 8:58 PM

    essay online buy <a href=https://buyessay.us.com>online essay writing help</a> website writes essays for you [url=https://buyessay.us.com]buy essays online[/url]

  • Money Loan December 15, 2017 6:44 PM

    loan <a href="https://loan.us.org">loan</a> loans online [url=https://loan.us.org]loans[/url]

  • Online Paper Writer December 16, 2017 2:49 AM

    write research paper <a href="https://argumentativeessay.us.com">argument essays</a> argument essays [url=https://argumentativeessay.us.com]argumentative essay[/url]

  • JamesgandyDecember 16, 2017 5:51 AM

    college essay help <a href="https://schoolpapers.trade">school papers</a> school papers [url=https://schoolpapers.trade]school papers[/url] payday loans for bad credit <a href="https://paydaybadcreditloan.bid">payday loans bad credit</a> payday loans bad credit [url=https://paydaybadcreditloan.bid]payday bad credit loan[/url] payday advance online <a href="https://advancepaydayloans.cricket">bad credit payday loans</a> online payday loans [url=https://advancepaydayloans.cricket]small online payday loans[/url] college entrance essays <a href="https://schoolpapers.cricket">school papers</a> research papers [url=https://schoolpapers.cricket]argumentative essay[/url]

  • JamesgandyDecember 17, 2017 5:46 PM

    free sex cam chat <a href="https://freesexcamchat.cricket">free sex chat cams</a> adult cam [url=https://freesexcamchat.cricket]free adult chat[/url] best payday loans online <a href="https://bestpaydayloans.stream">fast payday loans</a> payday advance online [url=https://bestpaydayloans.stream]best payday loans online[/url] need help writing essay <a href="https://researchessay.bid">online essay</a> research essay [url=https://researchessay.bid]research papers[/url]

Add a comment

Impossible to fetch issues for this plugin.
Impossible to get this plugin changelog.

dmWidgetEventCalendarPlugin, created on May 26, 2011 by antitoxic, used by 36 projects

Fork Diem on GitHub