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

    Here : http://modxcms.com/forums/index.php?action=dlattach;topic=17105.0;attach=7761

    Is the last one.

    You must link the stylesheet yourself, in your template.
    you can link the file in the directory : snippet/CALx/style/square.css or copy/paste the example file in your main template.

    As you want.

    Some style of tool tip are in the stylesheet, i think it’s why the bubble are visible.
      [b]D
      • 16892
      • 107 Posts
      Ok. I have uploaded the file and pasted in the snippet. I added the the link to the stylesheet as well as putting two javascript calls in the head.

      Even so, the calendar is not styled.

      This is my CALX call:

      [!CALx? &getFolder=`3` &getTypeProcess=`createCal` &idMultiEvent=`5361` &dayStart=`6` &inactDay=`6` &lang=`english` &useTV=`true` &dateStartTVName=`StartTime` &dateEndTVName=`EndTime` &popupType=`1` &popupSize=`250` &toolTipPosition=`BELOW`!]
      
        • 13320
        • 245 Posts
        HI,

        Have you check your html source code ?
        Like this :
        <head>
        	<title>CALx - The agenda/calendar for MODx | CALx - The agenda/calendar for MODx</title>
        
        	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        	<link rel="stylesheet" href="/devcalx/assets/templates/default/site.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="/devcalx/assets/snippets/CALx/style/defaut_style.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="/devcalx/assets/snippets/CALx/style/black_and_white_uk.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="/devcalx/assets/snippets/CALx/style/square.css" type="text/css" media="screen" />
        
        <!--[if lte IE 6]>
        
          <style type="text/css" media="screen, tv, projection">
                body { behavior: url(assets/js/csshover.htc); } /* hover:anything support */
                #content { margin-left: 22px; } /* to avoid the BMH */
                a,  a:link { border-bottom-style: solid } /* becuase IE just doesn't dot */
          </style>
        
          <script type="text/javascript" src="assets/js/sleight.js"></script>
        
        <![endif]-->
        
                <script type="text/javascript">var MODX_MEDIA_PATH = "media";</script>
        </head>
        <body>
        


        May be the path isn’t good.

        If the calendar isn’t styled i seen one explaination : the definitions of css class are not found. :/
          [b]D
          • 16892
          • 107 Posts
          The problem I was having is that the MySQL version on the server where this particular installation is, is 4.0 and the CALx code uses date functions available starting in 4.1. I decided to be adventurous
          and re-write those particular functions and it kind of worked, but it broke CALx in other places. So, while I like CALx, I couldn’t use it for this particular installation
          and switched to EasyEvents. I have CALx on another installaion with MySQL version 5.0 and it works fine.
            • 13320
            • 245 Posts
            Hi,

            Ok smiley

            If i have a little of time, i re-write the fnction for 4.0 smiley
              [b]D
              • 16892
              • 107 Posts
              Well, the MySQL 4.0 is an anomaly on the servers where I do work, so it’s really not necessary for me, per se. It would be better to make sure that restriction is in the documentation.

              Thanks, I do like the script and it works fine on the other servers.
                • 10313
                • 375 Posts
                Hello,

                I’m still having problems (posted months ago) with understanding, why CALx sets published=1 for events it shows in the calendar. When I set a document/event to unpublished, I do not want the visitors to see that document/event. But CALx always sets published=1.

                Maybe I could go with it, if I only knew why CALx does this. But I can’t understand. Please help me.

                Martin
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Does your site configuration have documents being automatically published on creation?
                    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
                    • 13320
                    • 245 Posts
                    Quote from: FuryDE at Sep 03, 2008, 09:09 AM

                    Hello,

                    I’m still having problems (posted months ago) with understanding, why CALx sets published=1 for events it shows in the calendar. When I set a document/event to unpublished, I do not want the visitors to see that document/event. But CALx always sets published=1.

                    Maybe I could go with it, if I only knew why CALx does this. But I can’t understand. Please help me.

                    Martin

                    Hi,

                    All events are shown in CALx, include the unpublished documents.

                    Why ?

                    Because, when i create CALx I use only the publish/unpublish date to show the event, and the problem is, 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.
                      [b]D
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      Ah right; I’d forgotten about that! It’s been a while since I used this embarrassed
                        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