We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13320
    • 245 Posts
    Arf, i copy/paste the french’s link but it doesn’t work grin

    I change the name of the archive, and upload it again.

    It’s ok now smiley

    Sorry
      [b]D
      • 25307
      • 114 Posts
      link to new archive? maybe that could help..
        • 25307
        • 114 Posts
        ok, since using and slightly adjusting your snippet call I at least have an parse error - perhaps we’re one step closer to this thing working smiley

        here’s the error output..

        « MODx Parse Error »
        MODx encountered the following error while attempting to parse the requested resource:
        « Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’)’ at line 1 »
        SQL: UPDATE `obhba_modx`.modx_site_content SET `obhba_modx`.modx_site_content.content=’[[CALx? &getFolder=`37` &dayStart=`6` &lang=`english` &inactDay=`6` &useTV=`true` &dateStartTVName=`StartDate` &dateEndTVName=`EndDate` &popupType=`1` &popupSize=`400` &toolTipPosition=`ABOVE` &getTypeProcess=`showMultiEvent`]]’,`obhba_modx`.modx_site_content.template=’4’,`obhba_modx`.modx_site_content.pagetitle=’Events listing’,`obhba_modx`.modx_site_content.longtitle=’Events listing’,`obhba_modx`.modx_site_content.description=’Events listing’ WHERE (`obhba_modx`.modx_site_content.id=);

        thanks so much for the assistance with this.
          • 13320
          • 245 Posts
          Hi,

          Do you update CALx or new intall with 0.6 ?

          When CALx is intall for the first time, a file has been created in the CALx directory : ’multiEvents.txt’, with the id of the ’Events listing’,
          do you delete this file ?

          To do simple, delete this file ’multiEvents.txt’ and delete this (on the manager) who’s name is : ’Events listing’.

          CALx re-create the files.

          Excuse my basic english smiley

          Edit : Yes i do the test, the file ’multiEvents.txt’ is empty, write in the files the id of the document who name : ’Events listing’.
            [b]D
            • 7923
            • 4,213 Posts
            You have done nice progress with this snippet Jabberwock, thank you very much for your contributions! smiley


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 25307
              • 114 Posts
              Quote from: Jabberwock at Jul 30, 2007, 02:07 PM


              When CALx is intall for the first time, a file has been created in the CALx directory : ’multiEvents.txt’, with the id of the ’Events listing’,
              do you delete this file ?

              To do simple, delete this file ’multiEvents.txt’ and delete this (on the manager) who’s name is : ’Events listing’.


              I manually fixed permissions and added the id to the multiEvents.txt file, and it (finally) works! thanx again for all the hand-holding.. much much appreciated.
                • 13320
                • 245 Posts
                Quote from: doze at Jul 30, 2007, 05:07 PM

                You have done nice progress with this snippet Jabberwock, thank you very much for your contributions! smiley
                Thank you smiley

                I manually fixed permissions and added the id to the multiEvents.txt file, and it (finally) works! thanx again for all the hand-holding.. much much appreciated.
                Woot smiley, it’s a solution wink
                You’re welcome.
                  [b]D
                  • 13331
                  • 67 Posts
                  Problem with the tag itself showing now solved

                  Copied your post but now it doesn’t show the menu?

                  I’m a bit unaware of how I’m suppose to handle the calendar information.

                  Do I create a new document and make a tree like:

                  Calendar (5)
                  -> Event 1 (6)
                  -> Event 2 (7)
                  -> Event 3 (8)

                  And then refer to &getFolder=`5` ?

                  I’m really new to modx and i’m probably not suppose to be playing around with snippets in development but figured I migt as well learn it at some point smiley
                    • 13320
                    • 245 Posts
                    Heya,

                    If the calendar doesn’t show in the menu, there must be a problem with your html code, check your "<div>" for instance.
                    If you don’t manage to find the issue, you can post a fragment of your code here and I will take a look at it.

                    In order to use CALx you must create a tree exactly like the one your post, with a page for each event.

                    As your are not familiar with MODx and it’s snippets, i advise that you use pub dates instead of TV’s (Template variables) because there are easier to handle.

                    Do not forget to look at the first post of this thread (i tried hard to be as explicit as possible) but if some points remind unclear to you, do not hesitate to post your problems.

                    And, basically, MODx is playground and everyone is untitled to play with snippets, even snippets in developpement.
                      [b]D
                      • 28436
                      • 242 Posts
                      hey Jabberwock, dont stop moving!
                      And for keeping you moving, here a issue for you smiley

                      "event1" start_date 27-08-2007, end_date 03-09-2007 appear correctly in august and september.
                      But if exists one more event in september, eg "event2" 13-09 -- 15-09, the whole september is mark as "event1" and the day for "event2" are mark as multiple event.

                      dont feel bothers about that, no stress.

                      ciao, Stefan