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

    I have been struggling to get CALx working on a site I am currently building in MODx version 0.9.6.3.

    I have done EXACTLY as specified in the English instructions found here: http://modxcms.com/forums/index.php?topic=17105.0

    My snippet call is as follows:

    [[CALx? &getFolder=`10` &idDocYear=`ìnt` &idDocMonthEvents=`int` &dayStart=`int` &inactDay=`int` &lang=`string` &useTV=`true` &dateStartTVName=`CALx1` &dateEndTVName=`CALx2` &popupType=`int` &popupSize=`int` &toolTipPosition=`string` &showOtherMonth=`string` &chunkCSSName=`CALx` &getTypeProcess=`createCal`]]

    I created an Events container to hold specific events, and placed a sample event in there. I also set a start and end date on the TVs for that event.

    When I view the page on which the Calendar should display, all i get is the following statement:

    "The parameter &idMultiEvent is obligatory."

    If someone can please help me out that would be greatly appreciated as I am at a total loss at this point.

    Thanks much.
      • 26310
      • 130 Posts
      I get the same problem and I have searched and searched to no avail in looking for an answer.
        I twitch because I care....and drink too much coffee.
        • Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 26310
          • 130 Posts
          So I noticed in my snippet that it wasn’t even checking for the &idMultiEvent

          The code was this:

          				if(isset($popupSize)){$objCALx->popupSize=$popupSize;}else{$objCALx->popupSize='300';}
          				if(isset($toolTipPosition)){$objCALx->toolTipPosition=$toolTipPosition;}else{$objCALx->toolTipPosition='CENTER';}
          				if(isset($popupType)){$objCALx->popupType=$popupType;}else{$objCALx->popupType='2';}
          				if(isset($idDocYear)){$objCALx->idDocYear=$idDocYear;}
          				if(isset($idDocMonthEvents)){$objCALx->idDocMonthEvents=$idDocMonthEvents;}


          and I just added...

                                          if(isset($idMultiEvent)){$objCALx->idMultiEvent=$idMultiEvent;} 


          That seemed to have cleared everything up and I’m finally able to see a calendar and click on events!
            I twitch because I care....and drink too much coffee.