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

    I’ve noticed someone else on here had the same problem I had with respect to xmlreader. There were actually several package dependencies that mxCalendar required of PHP. Luckily, I do have access to my PHP install, but I found myself adding in the new dependency and then finding that another is required. It seems that mxCalendar does rely on some PHP libraries that are not installed by default in lite environments. Could you update the documentation to include these requirements? It would have been much quicker if I could look at the project site and see the requirements, then build them in all at once (because PHP can be a beast to build once, let alone several times).

    I also had the problem with the extra parenthesis mentioned above, I took care of it myself instead of downloading the new file because I have made a change to the class file. This was not a big deal, but with the other comment about repeat events adding the repeat code to the page, this was more of an issue. I see that you have applied an update to resolve this, and I resolved it before seeing the update by adding the following to CSS:

    p.repeat { visibility: hidden; display: none; }

    Will this cause any major problems? If I download the latest class file, I will have to reincorporate my own one-line change, which causes the events in monthly calendar view to have the "category" added to the class so that the event can be colored, per request of my girlfriend. You can see the output here: http://www.dellion.net/events.html, each event has the category appended to the class name for the event and the CSS styles the font-face appropriately. My implementation is a hack-job, as the styling should be embedded with the color choice (so we have to update the CSS manually); I tried adding it as a feature request, but I had trouble using the wiki board/bug tracker. I don’t mind re-adding the line that does this for major updates every once in awhile if something like this is planned for future enhancement.
      • 34084 ☆ A M B ☆
      • 756 Posts
      Quote from: dageyra at Aug 03, 2010, 01:41 PM

      Will this cause any major problems? If I download the latest class file, I will have to reincorporate my own one-line change, which causes the events in monthly calendar view to have the "category" added to the class so that the event can be colored, per request of my girlfriend. You can see the output here: http://www.dellion.net/events.html, each event has the category appended to the class name for the event and the CSS styles the font-face appropriately. My implementation is a hack-job, as the styling should be embedded with the color choice (so we have to update the CSS manually); I tried adding it as a feature request, but I had trouble using the wiki board/bug tracker. I don’t mind re-adding the line that does this for major updates every once in awhile if something like this is planned for future enhancement.

      dageyra -

      sorry that you ran into issues with dependencies during your installation and will get the documentation updated. could you provide me with the library items you had to specifically install?

      As to your note about the CSS edit to remove the repeat, you should be able to remove this with the updated version. In addition you should use the configuration settings, template override parameters, and the category manager to solve your need for category CSS display without making changes to the code. In my examples, screen captures, the color for category was managed directly in the mxCalendar Category tab by setting the CSS properties.

      Cheers
        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
        Visit CharlesMx.com for latest news and status updates.
        • 6335
        • 20 Posts
        Quote from: charless at Aug 04, 2010, 10:28 PM

        dageyra -

        sorry that you ran into issues with dependencies during your installation and will get the documentation updated. could you provide me with the library items you had to specifically install?

        As to your note about the CSS edit to remove the repeat, you should be able to remove this with the updated version. In addition you should use the configuration settings, template override parameters, and the category manager to solve your need for category CSS display without making changes to the code. In my examples, screen captures, the color for category was managed directly in the mxCalendar Category tab by setting the CSS properties.

        Cheers

        Thanks Charles, that’s just what I was looking to find out and I will go for the latest version when I have some more time and try to work out the calendar coloring as you suggest (which would be better to maintain, I just thought this was one of the future planned features).

        You had mentioned in a prior post some of the PHP libraries due to the use of PHP 4 versus 5. I know the XML was one of them, and there was another or two, but I don’t recall which specifically. The issue is as you mentioned, libraries that are enabled by default in PHP 5 but not in PHP 4, those are the ones I had to look for, which for me was just more of an annoyance as I enabled one, recompiled and then tested to find out what else was required. I’m thinking maybe calendar and possibly xmlreader, but I can’t say for certain (there may also be others that I had already enabled). Sorry I couldn’t be of more assistance in this regard, but I just wanted to let you know (again), this is probably the best and most useful MODx add-on I’ve ever used, let alone the best calendar system out there!