We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34084 ☆ A M B ☆
    • 756 Posts
    Quote from: Plankton at Apr 20, 2010, 03:39 PM

    charless, I have one more question to you...

    I can see ’Mini-Calendar Width’ field in the Configuration window. What is this field intended for? Is there some way to display a Mini-Calendar view and how?

    Thanks!

    sorry, it’s in the road-map but currently isn’t being used - sorry it should be disabled and have the note explaining that; I’ll either make it active or update the form and tooltip
      Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
      Visit CharlesMx.com for latest news and status updates.
      • 16702 ☆ A M B ☆
      • 536 Posts
      Quote from: charless at Apr 20, 2010, 11:09 AM

      @Kristalin -
      did you log-out of the manager and back in? if not try that and then select the "mxcalendar" module from the menu tab; if that still doesn’t work can you verify that the tables were created on mysql?

      let me know what you get then

      after update new files i get new error:
      MODx encountered the following error while attempting to parse the requested resource:
      « Execution of a query to the database failed - Table 'admin_gimnazia.kivi_mxcalendar_events' doesn't exist »
            SQL: SELECT *,E.id as eid,E.category as catID, C.name as category, (SELECT DATEDIFF(E.enddate, E.startdate)) as DurationDays, (SELECT TIMEDIFF(E.endtime, E.starttime)) as DurationTime FROM `admin_gimnazia`.`kivi_mxcalendar_events` as E LEFT JOIN `admin_gimnazia`.`kivi_mxcalendar_categories` as C ON E.category = C.id WHERE startdate >= '2010-04-21' or `lastrepeat` >= '2010-04-21' or enddate < '2010-04-21' and E.active=1 ORDER BY startdate LIMIT 0,5 
            [Copy SQL to ClipBoard]

        palma non sine pulvere
        • 34084 ☆ A M B ☆
        • 756 Posts
        Quote from: Kristalin at Apr 20, 2010, 07:52 PM

        Quote from: charless at Apr 20, 2010, 11:09 AM

        @Kristalin -
        did you log-out of the manager and back in? if not try that and then select the "mxcalendar" module from the menu tab; if that still doesn’t work can you verify that the tables were created on mysql?

        let me know what you get then

        after update new files i get new error:
        MODx encountered the following error while attempting to parse the requested resource:
        « Execution of a query to the database failed - Table 'admin_gimnazia.kivi_mxcalendar_events' doesn't exist »
              SQL: SELECT *,E.id as eid,E.category as catID, C.name as category, (SELECT DATEDIFF(E.enddate, E.startdate)) as DurationDays, (SELECT TIMEDIFF(E.endtime, E.starttime)) as DurationTime FROM `admin_gimnazia`.`kivi_mxcalendar_events` as E LEFT JOIN `admin_gimnazia`.`kivi_mxcalendar_categories` as C ON E.category = C.id WHERE startdate >= '2010-04-21' or `lastrepeat` >= '2010-04-21' or enddate < '2010-04-21' and E.active=1 ORDER BY startdate LIMIT 0,5 
              [Copy SQL to ClipBoard]



        looks like the table name it’s looking for doesn’t exist, have you looked at the "System Events" log in the manager reports? If there are errors on install with the tables it will write to the system event log.

        check your database and make sure that you have four tables with "_mxcalendar" in the name.

        cheers
          Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
          Visit CharlesMx.com for latest news and status updates.
          • 16702 ☆ A M B ☆
          • 536 Posts
          Quote from: charless at Apr 20, 2010, 10:18 PM



          looks like the table name it’s looking for doesn’t exist, have you looked at the "System Events" log in the manager reports? If there are errors on install with the tables it will write to the system event log.

          check your database and make sure that you have four tables with "_mxcalendar" in the name.

          cheers

          "System Events" - No records found.
          in database i have no tables with "_mxcalendar"
            palma non sine pulvere
            • 34084 ☆ A M B ☆
            • 756 Posts
            Quote from: TomMLS at Apr 20, 2010, 01:26 PM

            Quote from: Plankton at Apr 20, 2010, 01:24 PM

            Thanks a lot! Another issue is that only Event title with URL can be displayed in the ’list’ mode in 0.0.5. I remember that ’location’ was also displayed in 0.0.4. Could you please advice how to orginize the list view in this way?
            ----------------
            <Date>
            Event Title
            Description: <content field>
            Location: <location>
            ----------------

            Yes...I agree...this is quite a logical way to present an events list, particularly if one does not have a lot of calendar items.

            Thank you, Tom

            @Plankton, Tom-

            Sorry, I totally overlooked this, but it’s aready supported. All you need to do is update the theme file "event.list.event.html" and add in the the assigned two placeholders ( mxcEventListItemLocation, mxcEventListItemDescription )

            Example added these to the theme file as lines 7 & 8, move current 7 to line 9:
            <p>[+mxcEventListItemLocation+]</p>
            <p>[+mxcEventListItemDescription+]</p>
            


            so the end resulting event.list.event.html file would look like the following:
                <div  id="[+mxcEventListItemId+]" class="[+mxcEventListItemClass+]">
                    <div class="date">
                        <div class="month"><p>[+mxcEventListItemMonth+]</p></div>
                        <p style="font-size: 70%;">[+mxcEventListItemStartDateTime+][+mxcEventListItemDateTimeSeperator+][+mxcEventListItemEndDateTime+]</p>
                    </div>
                    <h6 style="font-size: 100%;">[+mxcEventListItemTitle+]</h6>
                    <p>[+mxcEventListItemLocation+]</p>
                    <p>[+mxcEventListItemDescription+]</p>
                </div>
            
              Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
              Visit CharlesMx.com for latest news and status updates.
              • 34084 ☆ A M B ☆
              • 756 Posts
              placeholders general note:

              release 0.0.5b.x exposes all possible parameters, but the default theme file may not contain that placeholder thus excluding it from the display. Please check the wiki list of placeholders for the view your on and check the list to see if it there. If it’s in the list, but not displayed it’s one of two things a) it’s changed in the manager mxCalendar configuration or snippet parameter b) it’s not included in the default theme file

              hope that helps as there are many more possible layouts now since I’m exposing as much about each display possible and allowing the theme to control what’s being displayed.

              if all else just ping me and I’ll help out.

              cheers
                Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                Visit CharlesMx.com for latest news and status updates.
                • 34084 ☆ A M B ☆
                • 756 Posts
                Retraction: Event List Descript placeholder "mxcEventListItemDescription" was not being set in the class file, so I’ve updated that along with sever different things in a new release 0.0.5b.4 for download.

                Here are the release notes:

                Release Notes: 0.0.5b.4 - Apr 20, 2010
                * Updated FileList:
                |- mxCalendar.class.php
                |- mxCalendar.tpl.php
                |- Release_Notes.txt
                |- includes/calendar.inc.php
                |- includes/install/mxCalendar.mysql.install.inc
                |- includes/install/0.0.5b.4.upgrade.mysql
                |- lang/english.lang
                |- snippets/mxCalendar.modules.txt
                |- snippets/mxCalendar.snippet.txt
                |- themes/default/theme.xml
                |- themes/default/css/*

                Change Log (not all inclusive):
                - fixed empty value for mxcEventListItemLabelLocation placeholder on event list
                - update to theme setup
                - manager tab changes (added: location label events list, moved: rearranged some fields to correct section)
                - added new entries in language file to support new manager fields
                - database minor update to mxcalendar_config table

                http://code.google.com/p/mxcalendar/downloads/list
                  Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                  Visit CharlesMx.com for latest news and status updates.
                  • 16702 ☆ A M B ☆
                  • 536 Posts
                  Quote from: charless at Apr 21, 2010, 12:42 AM

                  Retraction: Event List Descript placeholder "mxcEventListItemDescription" was not being set in the class file, so I’ve updated that along with sever different things in a new release 0.0.5b.4 for download.

                  Here are the release notes:

                  Release Notes: 0.0.5b.4 - Apr 20, 2010
                  * Updated FileList:
                  |- mxCalendar.class.php
                  |- mxCalendar.tpl.php
                  |- Release_Notes.txt
                  |- includes/calendar.inc.php
                  |- includes/install/mxCalendar.mysql.install.inc
                  |- includes/install/0.0.5b.4.upgrade.mysql
                  |- lang/english.lang
                  |- snippets/mxCalendar.modules.txt
                  |- snippets/mxCalendar.snippet.txt
                  |- themes/default/theme.xml
                  |- themes/default/css/*

                  Change Log (not all inclusive):
                  - fixed empty value for mxcEventListItemLabelLocation placeholder on event list
                  - update to theme setup
                  - manager tab changes (added: location label events list, moved: rearranged some fields to correct section)
                  - added new entries in language file to support new manager fields
                  - database minor update to mxcalendar_config table

                  http://code.google.com/p/mxcalendar/downloads/list

                  after this release i have successful installation...

                  first:
                  Unable to save configuration file. Please make sure write permission is granted on the folder (/var/www/vhosts/domain.net/httpdocs/assets/modules/mxCalendar/config/)
                  need 777 permission

                  now i have another strange situation:
                  Categories and Configuration tabs is empty/blank

                  AND

                  when i add new events - nothing happens...white screen
                    palma non sine pulvere
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Fresh installation; working fine for me except that it broke my nice layout :’( Now I’ll have to quit being lazy and pretty it up again...one of these days.
                      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
                      • 34084 ☆ A M B ☆
                      • 756 Posts
                      Quote from: sottwell at Apr 21, 2010, 01:53 AM

                      Fresh installation; working fine for me except that it broke my nice layout :’( Now I’ll have to quit being lazy and pretty it up again...one of these days.

                      did you make changes to the theme files? if you used the FULL package it contains all files, but the upgrade download would only include the package files that have changed, thus potentially saving any additional rework.

                      -sorry for the extra effort

                      A quick duplicate of the default theme folder into a new folder say "sottwell" then updating the theme.xml file will keep that from happening in the future.

                      I did find one issue with the theme, so I need to make that update.

                      cheers
                        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                        Visit CharlesMx.com for latest news and status updates.