We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for churchevents 0.1-beta2 by jgulledge19.

    Brief Description:

    ChurchEvents is a package that is for MODx Revolution and it is a calendar that is designed specifically for churches.

    Usage
    To call the snippit place [[[[!churchevents]]]] in a chunk or resource. Or just create a new resource and select the ChurchEvents template.
    You must be logged into the manager to manage events, calendars and categories.

    Features

    • Multiple calendar views
    • Global categories, you can choose colors to identify each category
    • Repeating events, daily, weekly, monthly and about any combination of those.
      • 3109 ☆ A M B ☆
      • 894 Posts
      First of all thanks for working on this for the community.

      I just installed beta 2 and I have tried using both the snippet call method and the template method but neither seem to be working.

      Is there any special settings I must have enabled in order for this to work?

      Is it supposed to display as a component in the manager?

      Here are the links to both the snippet call and the theme.

      Thanks for your help.
        Benjamin Marte
        Interactive Media Developer
        Follow Me on Twitter | Visit my site | Learn MODX
        • 33983 ☆ A M B ☆
        • 181 Posts
        I had some issues with the Namespace being incorrect. So verify that the namesspace "churchevents" is correct. It should be {core_path}components/churchevents/. See this page: http://rtfm.modx.com/display/revolution20/Custom+Manager+Pages#CustomManagerPages-CreatingaNamespace for how to edit a namespace. Once that is correct you should be able to view the calendar. Let me know if you can’t see it.

        Once you have logged into the /manager you can add events, calendars and categories. Note you should add at least one calendar and category before you add any events. I need to figure out how to insert some calendars and categories on install to fix this issue.

        I will try to get detailed documentation posted this week.
          • 3109 ☆ A M B ☆
          • 894 Posts
          Awesome it’s working now I will test it out and post any bugs if any smiley

          Thanks.
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX
            • 12664
            • 11 Posts
            I installed, changed the namespaces, started making calendars and categories.

            I wasn’t able to create a category, it said there was an invalid email address, all though there is no request for one.
            Maybe it had something to do with putting in the wrong value for the color ? I tried "black" and "#000000" but it didn’t put anything out.

            Now I’m getting the next error (I don’t think it has something to do with the colors):

            Fatal error: Cannot redeclare english_time() (previously declared in /home/tramzwartfrom/tramzwart.kaskprojecten.be/core/components/churchevents/index.php:437) in /home/tramzwartfrom/tramzwart.kaskprojecten.be/core/components/churchevents/index.php on line 459

            You can view it live here: http://tramzwart.kaskprojecten.be/index.php?id=61

            SETUP: REVO 2.0.3 / SAFARI 5.0.2 / MAC OSX 10.6.4
              • 33983 ☆ A M B ☆
              • 181 Posts
              Did you modify the file: /tramzwart.kaskprojecten.be/core/components/churchevents/index.php? Or call on the snippet twice on the same page? I don’t see how else this error can come up.
                • 3109 ☆ A M B ☆
                • 894 Posts
                I don’t get the email error but I get this error

                
                Array ( [public_end] => Date is not formatted properly, please set to: MM/DD/YYYY )
                
                There are errors on the page, please revise.
                1Date is not formatted properly, please set to: MM/DD/YYYY
                
                


                What’s confusing is I am using the date picker and it is in fact the correct format.

                It’s looking good I will keep playing with it and post back my findings.
                  Benjamin Marte
                  Interactive Media Developer
                  Follow Me on Twitter | Visit my site | Learn MODX
                  • 10327
                  • 10 Posts
                  Nice efforts if you can get this stable. Would really be handy for the modx community since a snippet like this is very much needed.

                  Im getting the same email error as ididv had been.

                  Not quite sure how to add categories either.
                  I wish someone would help you with this project. Im too stupid to or I would help.
                    • 10327
                    • 10 Posts
                    FYI: I was able to add calendar once I applied that change posted above. But this is what I get when I try to add category.

                    EVents Array ( [title] => Required [description] => Required [request_notify] => Invalid e-mail )
                    There are errors on the page, please revise.

                    * Required
                    * 1Invalid e-mail

                    I have a working email in the calendar area that asks for it but no place for category, same with "required" things that report invalid in errors i pasted.

                    heads up
                      • 33983 ☆ A M B ☆
                      • 181 Posts
                      I am working on another release but this is a quick fix:

                      Replace the $option_array and $require_array in file /core/components/churchevents/views/managecategor.php, starting on line 64, with the following:
                      $option_array = array(//fields array 
                      	'church_ecategory_id' => 'numeric', 
                      	'name' => 'text',
                      	'background' => 'text',  
                      	'color' => 'text'
                      );
                      $require_array = array(
                      	'name', 'background', 'color'
                      );