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

    I’d like to display my events sorted in categories.
    So planted a page-tree as you recommended like this:
    calendar
    --topic 1
    ----2008
    -----event 1
    -----event 2
    --topic 2
    ----2008
    -----event 11
    -----event 12

    Now I created a page with those calls
    <div id="ee_miniCalendarContainer"> 
        [+miniCalPlaceholder+] 
    </div> 
    <div id="ee_listDetailsContainer"> 
        [+listDetailsPlaceholder+] 
        [+missingEventsMessagePlaceholder+] 
    </div>
    <div>
    <h3>LAG Lippe-Issel-Niederrhein e.V. <br />
    </h3>
    <br />
    [!EasyEvents_ListMini? &nodes=`65`!]
    </div>
    <br />
    <div>
    <h3>Ortsfeste</h3><br />
    [!EasyEvents_ListMini? &nodes=`68`!]
    


    It shows the list above the headlines and it shows all the event. I’ve tried this:
    <div id="ee_miniCalendarContainer">
    [+miniCalPlaceholder+] 
    </div>
    <div>
    <h3>LAG Lippe-Issel-Niederrhein e.V. <br />
    </h3>
    <div id="ee_listDetailsContainer">
    [+listDetailsPlaceholder+] 
    [+missingEventsMessagePlaceholder+] 
    </div>
    <br />
    [!EasyEvents_ListMini? &nodes=`65`!]
    </div>
    <br />
    <div>
    <h3>Ortsfeste</h3>
    [!EasyEvents_ListMini? &nodes=`68`!]
    </div>
    <div id="ee_listDetailsContainer">
    [+listDetailsPlaceholder+] 
    [+missingEventsMessagePlaceholder+] 
    </div>

    and it shows the complete list beneath both headlines

    Next problem:
    If I click on an event link or a day link, the details won’t be displayed. The links are like this:
    http://domain.de/Kalender/Termine-LAG_Lippe-Issel-Niederrhein/2008/diddeldit_72.html?ee_id=72
    

    I’m not quite sure, if my AJAX: EasyEvents is wrong:
    [[!EasyEvents_AJAX? &configSelect=`de`!]] 

    cache: not active
    template: content only
    show in menu: off
    hollidriöööö
    Olaf
      • 7127
      • 28 Posts
      Next Problem,

      I want to change the am/pm to "Uhr". Already changed to german date format. If I put it in the config ->
      $_templates['listItem'] = <<<STOP
      <div class="easyEventsList_item">
          <div class="easyEventsList_time">[+eventTime+] Uhr</div>
          <div class="easyEventsList_title">[+title+]</div>
          <div class="easyEventsList_description">[+description+]</div>
      </div><!--end easyEventsList_item-->
      STOP;


      The Uhr remains even when I hide the time.
      Any ideas?

      greetings Olaf
        • 19741
        • 90 Posts
        Try
        $_misc['timeFormat'] = 'H:i \\U\h\r';

        in your german config-File and take back your changes in template section.
          Bye,
          Mithrandir
          • 13577
          • 302 Posts
          @derluecke

          Having multiple placeholders of the same name on a single page will throw things off for sure. You didn’t put ID’s in your structure for reference, so I’m going to assume it was something like this:
          calendar (60)
          --topic 1 (65)
          ----2008
          -----event 1
          -----event 2
          --topic 2 (68)
          ----2008
          -----event 11
          -----event 12

          I’ve never tried to do multiple instances of EE on the same page. It’s probably not possible the way it’s set up. The intent with the "mulitple categories" (topic 1 and topic 2 for example) - was that on a higher level page (example 60) you could include everything relevant below it (both topics). But on more specific content pages (like topic 1, ID 65), you could limit it to just the relevant events.

          Let me give you an example of how we use it so you’ll see what I mean. On our home page, we use events from loads of categories:
          http://vet.osu.edu"" target="_blank" rel="nofollow">vet.osu.edu

          Then on our alumni page, we limit the events shown to be only those relevant to Alumni:
          http://vet.osu.edu/3187.htm"" target="_blank" rel="nofollow">Alumni events page

          So it’s flexible that way. But all on the same page. Sorry. That would require some serious code rework.
            Standard Disclaimer
            I could be totally wrong.
            • 19741
            • 90 Posts
            Hallo jaredc,

            if you search for
            WHERE tv.name = ’EasyEvents_Start’
            (and activate the hidden results) google shows a lot of error-pages with invalid sql-statements. I don’t know why google "wants" to open the ajax-page.

            Do you know how to solve this problem?
              Bye,
              Mithrandir
              • 12390
              • 39 Posts
              I’m trying to get this to work, but when I go to create a new event the start/end date buttons don’t work, I get errors like:

              missing ; before statement

              var calEasyEvents%5FStart = new calenda...r/media/"; calEasyEvents%5FStart.year_sc


              Any thoughts?

              Edit: It seems changing the template variables to not have an underscore has fixed it, odd.
                • 12390
                • 39 Posts
                Now that I’ve got it working (yay!), does anyone know how instead of the calender output text as the date numbers (1, 2, 3.. 30, 31 etc etc), I could output images instead? I believe it uses the variable $calDigit but I’m not sure how I would go about doing that. My idea was to define each day from 1 to 31 in the config file somehow, like you do with the month names for example.

                Edit: Actually I could edit the caldigit so it wraps around an image tag, doh!
                  • 16892
                  • 107 Posts
                  I need to sort EE events by date using Ditto, but the EE date TV format is not unixtime. How can I get Ditto to sort by date?
                    • 17657
                    • 6 Posts
                    First of all, thanks jaredc for this great snippet.

                    I’ve browsed through the whole thread and seen several questions how to get back to the "coming events" start view without reloading the complete page. Unfortunately, no answer was given yet and I’d like to ask again if there is a solution to this problem or if this wish will come true in a next Easy Events release? Or is there a possibility to display today’s and coming events with the help of a separate placeholder (or just another div tag like ee_listDetailsContainer) so to have always the coming event view and the detailed view on the same page? That would do it for me, although a "back to start" AJAX button would be much better.

                    Thanks for your help, folks!
                      • 13577
                      • 302 Posts
                      Sorry. No. There is no way to get the default calendar without reloading the page again. I’ll add a feature request here... where hopefully I’ll see it when I (or some enterprising go-getter) sets to update the thing.

                      Feature Request
                      Add ability to get default calendar without reloading page.
                        Standard Disclaimer
                        I could be totally wrong.