Support » Plugin: The Events Calendar » Calendar Widget

  • I’ve seen that there is already some dummy code for a calendar widget. I am highly interested in such an extension. Is this Widget still under development?

Viewing 1 replies (of 1 total)
  • idealien

    (@idealien)

    I don’t know if there is / isn’t, but I was able to generate one by re-purposing what is in the table.php file into a sidebar element. I included the display_day_title() and display_day() functions into it as well so to customize them (don’t include tooltip, replace link title with icon representation) but you could probably find ways to do so without it.

    Here is the CSS mods I applied that make it fit into the sidebar on a child theme for 2010:

    .widget-area .tec-calendar td { height: 50px; }
    .widget-area .tec-calendar th { background: #006600; }
    
    .widget-area table.tec-calendar { margin: 0; }
    .widget-area table.tec-calendar td { width: 15px; }
    .widget-area table.tec-calendar td .tec-event { padding: 6px 8px; }
    .widget-area table.tec-calendar .tec-tooltip { left: -14px; z-index: 50; }

Viewing 1 replies (of 1 total)
  • The topic ‘Calendar Widget’ is closed to new replies.