We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10313
    • 375 Posts
    Quote from: Jabberwock at Sep 04, 2008, 12:24 AM
    ..., if the unpublish date is past the event appear in CALx, but you can’t see the detail of the event.
    I force the published=1, for sure to see it.

    If you use TV’s, i can change this.
    Oh my God, sure. Now I understand it. Thank you for the short explanation. Indeed, I’m using TV only. Is it much work to recode so that published won’t be set to 1 any more?

    Martin
      • 13320
      • 245 Posts
      No; it’s easy.

      But, in your case, how a person can see the detail of the event if it’s not publish ?
        [b]D
        • 10313
        • 375 Posts
        It’s a simple trick: it does not work;) Since I recognized that published would always be set to 1, I deactivated the calendar. I set up that site at a time when I didn’t know MODx, Ditto and CALx very good. Meanwhile I have learnt much and know much things better and will be trying to get it running both together.
          • 13320
          • 245 Posts
          Ok, can you try this script smiley
            [b]D
            • 10313
            • 375 Posts
            Wow, that fast fast. As I’m on some kind of "vacation" for the weekend, I will not be able to test it before Monday. But I will do then and give feedback. Many thanks smiley

            Martin
              • 13320
              • 245 Posts
              ok,ok, you’re welcome smiley
                [b]D
                • 10313
                • 375 Posts
                Hi! Sorry for taking so much time. Your 0.8.2 version is very fine! The unpub_date is not reset any more when using TVs. Thank you very much.

                I noticed one thing: in version 0.6 wich I used first, the TVs had to be set to "Date Formatter" with unchanged format string. I found out that this not necessary any more. I am using Unixtime (for sorting the events with ditto) and CALx works quite fine. Did you change this?

                Greetings
                Martin
                  • 13320
                  • 245 Posts
                  Hi,

                  If it works, it’s cool.

                  I don’t change anything, are you sure ?
                    [b]D
                    • 4310
                    • 2,310 Posts
                    I’ve got CALx working showing the current month but can’t get the previous and next months to show, ie. 3 calendars in a row.
                    My call is :
                    [!CALx? &getFolder=`15` &idMultiEvent=`15` &lang=`english` &popupType=`2` &getTypeProcess=`createCal` &showOtherMonth=`both` &showPrevNextLink=`true`!]

                    I’m using V 0.8 any ideas?
                      • 13320
                      • 245 Posts
                      Hi,

                      The link on the top ?
                      or the link in the calendar ?
                        [b]D