We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44649
    • 68 Posts
    Hi,

    I'm using the mxCalendar which is all working awesomely, but in the chunk template "tplDay" I'm wanting to add the category to the top td

    <td id="[[+dayOfMonthID]][[+category]]" class="[[+class]]">
        <!-- day of month label -->
        <div class="datestamp">[[+dayOfMonth]]</div>
        <!-- event listing container -->
        <div id="" class="event">
            [[+events]]    
        </div>
    </td>


    I've tried adding [[+category]] to try and pull the event type category through, but I'm guessing that is not a valid 'tag', could anyone point me to a list of valid [[+ ]] 'tags', or even a documentation on what [[+ ]] 'tags' are, as I can't find anything on them, or even know what to search for!

    Cheers [ed. note: natedin last edited this post 13 years, 2 months ago.]
      • 44649
      • 68 Posts
      If anyone could point me to just the correct name, or modx docs for the [[+ ]] tags I'm sure I'll be able to work it out from there! At the moment I still can't find anything on them!
        • 44649
        • 68 Posts
        Word I was looking for is placeholders
        http://rtfm.modx.com/display/ADDON/mxCalendar.Placeholders
          • 8274 ☆ A M B ☆
          • 222 Posts
          So is this working for you now?