We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1330
    • 79 Posts
    I also set the cache duration to 3 seconds.
      • 1330
      • 79 Posts
      Now it isn’t displaying anything and has invalid code
      http://www.shawnmangeot.com/index.php?id=13
        • 13736
        • 345 Posts
        The calendar being displayed is determined by the address used. Talked about in this post (originally directed @le_block)
        http://modxcms.com/forums/index.php/topic,11681.msg182608.html#msg182608

        If you simply use the user’s email then it will display the default calendar for that user. Additional calendars get their own unique address ID which looks a bit like an email address.

        Also, did you specify a template chunk to use if there are no events found? If the problem is a lack of upcoming events then you should see that message.



          • 1330
          • 79 Posts
          Just to make sure. Do I put my email in the Snippet call and the html file or just one?
            • 13736
            • 345 Posts
            Should only be needed in the snippet call.

            The HTML file? What do you mean by that?
              • 1330
              • 79 Posts
              calendar-chunks.html
              But that is just the snippet call so nm.
              But what about all the other pieces in that file, was I suppose to do something with them?
                • 1330
                • 79 Posts
                Okay, wow yea I missed the part where you need to create the chunks.
                But it really looks kinda aweful.
                www.shawnmangeot.com/calendar.php

                it over expands and links change your web browser to google rather then having a pop up.
                  • 13736
                  • 345 Posts
                  The over expanding table can probably be fixed with your CSS.

                  As for the getting the links to open a popout, I’m not sure.  That’s actually on my list of things to figure out also.  Along with wrapping an <h3> or <div> tag around the date numbers so I can get it to become the cell header.


                    • 1330
                    • 79 Posts
                    Well it helps if you include the css file in a call lol. I added it and removed the ul/li and container and it works great now. Just need to make it open in a new window when you click on it.
                      • 1330
                      • 79 Posts
                      Now for some reason when I try to make the month font size 18pt and weight bold and the align center it doesn’t appear to be taking.

                                      #calendar #navigation .monthname {
                                          float: left;
                      					text-align: center;
                      					font-size: 18pt;
                      					font-weight: bold;
                                          margin: 0 15px;
                                          width: 300px;
                                          }