We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32025
    • 305 Posts
    I must be missing something. I installed MXCalendar through the Package Management Area. I followed the instructions on this page (http://charlesmx.com/mxcalendar-demo.html) to a tee. Well maybe my resource ID is wrong.

    I like the idea that when I click on an event, a pop up window opens up showing the detail. The problem is my pop-up window is blank.

    In my main "Events Calendar" display page (page id=4) I have this coding:
    <span class="calendarLeft">[[!mxcalendar?&displayType=`calendar`&ajaxResourceId=`10`&modalView=`true`]]</span>
    <span class="calendarRight">[[!mxcalendar?&displayType=`list`&isLocked=`true`]]</span>
    


    I created another calendar page (as the instruction suggest) and attached a completely blank template to this page. I call this page: "Calendar Extras"(page id=10). On this page this is the coding I have in the content area. I believe this is wrong! The instructions did not tell me to put anything on this page that I am aware of, but I got this from another post.:
    [[!mxcalendar@mx? &isLocked=`0` &modalView=`1`]]
    


    Please visit my website here: http://www.pinecovecampground.com/events.html If you click the even on April 1st, a blank page pops up. Also when you click the right and the left arrows a blank page pops up.

    I don't get the instructions that mention the: ajaxResourceId=`10` I am assuming the id=10 matches the same page that hold my calender. I do not see an ajaxResource in the snipplets or chunks. I just don't know what I am doing wrong. Also if it's not too much trouble the page that pops-up is very wide (over 1,000 px, would like to take down to 500, but that is not working either.
      Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
      • 32025
      • 305 Posts
      Got it. Both codes above are correct. And so is the ajaxResourceId=`10` which is the id of the blank page you create just for the pop-up.

      My problem was that I had to add the [[*content]] to the body of the blank template I created. Now the AJAX page which is "Calendar Extras" (page id=10) serves up the data correctly. As far as styling the pop-up page and re-sizing the popup (AJAX) window please look at this post: http://forums.modx.com/thread/83463/css-for-ajax-modal-view-window#dis-post-460452
        Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
      • Not sure if you got it corrected on your own, but I do see content in the modal view. Also in the case of the ajax resource (10 in your case) the following parameters are recommended.

        [[!mxcalendar?&ajaxResourceId=`39` &resourceId=`34]]


        Cheers
          Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
          Visit CharlesMx.com for latest news and status updates.