| Waiting for google calendar... |
To complete this example we need to add one additional template to generate the month headers. It is very similar to the main template in the first part of this example:
- <div id="{gCalMarkup _id}.monthTemplate.container">
- <table>
- <tbody id="{gCalMarkup _id}.monthTemplate">
- <tr>
- <td style="text-align:center; font-size:larger; color:white; background-color:#135CAE; border-bottom:1px solid black;" colspan="2">{gCalMarkup _eventMonthText} {gCalMarkup _eventYear}</td>
- </tr>
- </tbody>
- </table>
- </div>
The only differences between this template and the previous one (other than the actual markup content) are the ids on the <div> and <tbody> tags where "template is replaced with "monthTemplate". The required ids are "{gCalMarkup _id}.monthTemplate" and "{gCalMarkup _id}.monthTemplate.container".
gCalMarkup adds a copy of this template, with the markup selectors replaced with information from the event, before the first event and before any event where the month changes.
| {gCalMarkup _eventMonthText} {gCalMarkup _eventYear} |
| {gCalMarkup _eventMonth}/{gCalMarkup _eventDay} |
{gCalMarkup _eventTitle} |
|
|
Last Updated on Sunday, 25 October 2009 15:13 |
Symmetric Designs and gCalMarkup are not affiliated with or endorsed by the
Joomla Project or Open Source Matters. The Joomla logo is used under a
limited license granted by Open Source Matters, the trademark holder in
the United States and other countries. gCalMarkup is not supported
or warranted by the Joomla Project or Open Source Matters.