We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29076
    • 615 Posts
    One more question: Is there a way to give different colors to events in different categories?

    Again, Thanks.  smiley
      I think, thererfor I am! But what I am, and why...?
      • 13577
      • 302 Posts

      Is there a way to give different colors to events in different categories?
      No. Sorry.
        Standard Disclaimer
        I could be totally wrong.
        • 24393
        • 83 Posts
        i was hoping to do the same thing.. would it be possible to include a placeholder based on the event’s template? then we could style events and even add chunks like this:

        <div class="easyEventsList_item [+template_name+]">
        {{ee_[+template_name+]}}
        ...
        </div>

        is this feasible?

        Quote from: jaredc at Apr 25, 2008, 07:43 AM


        Is there a way to give different colors to events in different categories?
        No. Sorry.
          stevesunderland.com
          GRAPHICS | INTERACTIVE | MARKETING
          xhtml + ajax + seo websites powered by modx
          • 25080
          • 175 Posts
          It’s not realy easy to use this snippet.

          i try to install, but nothing, only the admin part...
            • 13577
            • 302 Posts
            @rajfantastic
            That is an interesting idea. I won’t have time to pursue it soon however, so if someone beats me to it, that’s okay!

            @Rikle_s
            If the step by step instructions aren’t doing it for you, you’ll have to give us more to go on. Are you trying the latest version (which has no custom admin part)?
              Standard Disclaimer
              I could be totally wrong.
              • 25080
              • 175 Posts
              Easy Events 1.5
              is it the last ?

              I’m french, and the documentation is in english, si i think there is something that i don’t make...

              I retry this evening smiley
                • 12584
                • 208 Posts
                Help!!
                I have spent ages on this but must be missing something some where as my events just don’t show up, the calendar outputs ok and when I add events I then get the page forward and back icon appear but when clicked they don’t actually work so it seems to be seeing the events, the problem is If I add an event to the current month then it does not show up as a link, it seems like the snippet EasyEvents_ListMini could be my issue, I created it as per PDF instructions and filled in the default properties from the .txt file.

                My container page with the main call on is id 65 I have tried it as uncached cached etc, at the bottom of this and all the other pages the TV asking for the date show up and work perfect, my snippet call on this container page is
                [+miniCalPlaceholder+]
                [+listDetailsPlaceholder+] [+missingEventsMessagePlaceholder+]
                [!EasyEvents_ListMini? &nodes=`65`!]

                and the output can be seen here

                I have no idea what the AJAX:EasyEvents page is meant to output when viewed but right now this just gives me an SQL error as can be seen here

                I have been though the instructions and checked for typos but just cant work out where I am going wrong can anyone please point me in the right direction

                Ian
                  • 13577
                  • 302 Posts
                  Can you post your snippet call as well?

                  One problem that we’ve seen before that can cause this issue is if the dates on the events are out of order, like
                  Start: Jan 10, 2008
                  End: Jan 9, 2008

                  That will allow the forward, navigation to find events in the range but when each day is searched, it won’t find anything because the end date comes before the start date. So for good measure check that.

                  Regarding what the AJAX page should show-
                  It really isn’t designed to be accessed directly. So expect errors when you access it directly. This happens because it needs a node parameter. I should probably just have it return nothing before it assembles the query. I’ll add that to my list.

                  If that doesn’t help, PM me and we can look at it further.
                    Standard Disclaimer
                    I could be totally wrong.
                    • 12584
                    • 208 Posts
                    Many thanks for the reply,

                    Checked the dates on the docs were in the correct order and all appears fine there, ok on the Ajax page at least I know there hopefully nothing to worry about there.
                    My Snippet call is as follows:

                    [+miniCalPlaceholder+]
                    [+listDetailsPlaceholder+] [+missingEventsMessagePlaceholder+]
                    [!EasyEvents_ListMini? &nodes=`65`!]

                    Many thanks for the reply

                    Cheers
                      • 13577
                      • 302 Posts
                      @ian_m
                      There were two problems:

                      Incorrect naming of template
                      You had the template named
                      " MODxHostEasyEvents"
                      when it should have been
                      "MODxHostEasyEvents"

                      I’ve seen this issue before. It’s very hard to detect that there is a leading space in the incorrect version. It’s hard to find even when you know that it can cause problems. This is one of the first things I looked for and I still didn’t see it right away.

                      Broken cal nav due to lack of div containers
                      Your page content for the calendar was:
                      [+miniCalPlaceholder+]
                      [+listDetailsPlaceholder+] [+missingEventsMessagePlaceholder+]
                      [!EasyEvents_ListMini? &nodes=`N`!]
                      

                      But should have been (pg 4, documentation):
                      <div id="ee_miniCalendarContainer">
                          [+miniCalPlaceholder+]
                      </div>
                      <div id="ee_listDetailsContainer">
                          [+listDetailsPlaceholder+]
                          [+missingEventsMessagePlaceholder+]
                      </div>
                      [!EasyEvents_ListMini? &nodes=`N`!]
                      


                      The AJAX bits need the div containers in order to know where to dump new nav/calendar days. They can be renamed (but you’d need to rename them in the config too), but not eliminated - unless you don’t want the AJAX bit.

                      I’m posting this in the support thread as a way for others to troubleshoot. Hopefully your struggles can pay off for someone else!
                        Standard Disclaimer
                        I could be totally wrong.