We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

rlargett on 04/08/08


Tagged

calendar ee ExpressionEngine


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

pagetoscreen


Expression Engine Full Calendar


Published in: HTML 


  1. {exp:repeet:get_ids weblog="calendar" parse="inward" calendar="yes"}
  2. {exp:repeet:calendar switch="calendarToday|calendarCell" weblog="calendar" entry_id="{repeet:entry_ids}" interval_field="repeat" include_field="include_dates" exclude_field="exclude_dates" show_future_entries="yes" show_expired="yes"}
  3.  
  4. <table class="calendarBG" cellpadding="0" border="0" cellspacing="0" summary="My Calendar" width="100%">
  5. <tr class="calendarHeader">
  6. <th class="calendarMonthLinks"><div class="float_left"><a href="{previous_path=events/index}">Prev</a></div></th>
  7. <th colspan="5" class="center"><h1>{date format="%F %Y"}</h1></th>
  8. <th class="calendarMonthLinks"><div class="float_right"><a href="{next_path=events/index}">Next</a></div></th>
  9. </tr>
  10. <tr>
  11. {calendar_heading}
  12. <td class="calendarDayHeading">{lang:weekday_short}</td>
  13. {/calendar_heading}
  14. </tr>
  15.  
  16. {calendar_rows }
  17. {row_start}<tr>{/row_start}
  18.  
  19. {if entries}
  20. <td class='{switch}'>
  21. <a href="{day_path=events/description}"><div class="day">{day_number}</div>
  22. {entries}
  23. <div class="title">{title}</div>
  24. {/entries}</a>
  25. </td>
  26. {/if}
  27.  
  28. {if not_entries}
  29. <td class='{switch}'><div class="day">{day_number}</div></td>
  30. {/if}
  31.  
  32. {if blank}
  33. <td class='calendarBlank'> </td>
  34. {/if}
  35.  
  36. {row_end}</tr>{/row_end}
  37. {/calendar_rows}
  38. </table>
  39. {/exp:repeet:calendar}
  40. {/exp:repeet:get_ids}
  41.  

Report this snippet 

You need to login to post a comment.