We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41824
    • 19 Posts
    Ok, maybe I’m a total dunce here, but how do you change the theme if you duplicate the default theme and modify it? Is there a parameter to the snippet call? If so, it’s not listed on the wiki. I’ve put my info into the XML file, but I don’t see how that gives me the choice as to what theme I want to use.

    (I don’t mean to sound like a jerk, this looks like a great extension.)


    Yes, it is a proven fact that I am a dunce. I’m sorry, I feel like a total idiot now.

    Modules > Manage Modules > Configuration (tab) > Theme(s) Section > Select Theme
      • 41824
      • 19 Posts
      First off, I have to thank charless for this. This is the first modx calendar I’ve played with, but seems like one of the only ones that displays upcoming events in list form - I don’t want a full calendar. I’ve been modifying this all day and have it working like I want it. I’ve even added functionality to use a separate template for the first list item (ie. class="first").

      However, does anyone have any ideas on how I can get two instances of this to work on a single page? It will only use the parameters of the last call on the page for all page calls.

      Any help would be greatly appreciated. Thanks!
        • 2618
        • 18 Posts
        Ola!

        First of all.. This is an amazing module! The only thing I want to change is the language of the Months. Does anyone knows how I can do this?

        Thanks!
          • 25803 ☆ A M B ☆
          • 721 Posts
          Quote from: charless at Jun 25, 2010, 10:36 AM

          Quote from: rx2 at Jun 25, 2010, 10:22 AM

          My Categories and Configuration tabs are empty.

          MODx: 1.0.4
          MySQL 5.0.90-community
          PHP: 5.2.12

          Same result on another server:

          MODx: 1.0.4
          MySQL 5.0.67-community
          PHP: 5.2.9


          and just confirming you’re using version mxCalendar 0.0.6-rc1. This is usually caused when the tpl file node containers (div) where not closed properly causing the nesting to be off for the tabs.

          please confirm your version of mxCalendar and also open the file /assets/modules/mxCalendar/mxCalendar.tpl.php and validate the version information there is "Version: 0.0.6" on line 5.

          If that is the same in the meantime you can change the order of the tabs in the mxCalendar.tpl.php file moving lines 103 - 110 to just above the "//-- end tab-pane" code line 130.

          cheers


          Thanks. I had the correct version. Moving that chunk of code did the trick.
            • 25803 ☆ A M B ☆
            • 721 Posts
            I’m having trouble with building a new Theme.
            I made a new folder, copied everything from the default folder to the new folder and modified the theme.xml file to create a different name, to pick up my css file as well as include a blurb that is different than the one in the original theme.xml file.

            I can see my new theme in the drop down and select and sure enough I see the custom message I’ve input in between the <themdescription> elements.

            However, it is still taking views from the default folder. Is there something we have to do to get a new theme to take views from its own folder?
              • 34084 ☆ A M B ☆
              • 756 Posts
              Quote from: the_piper at Jun 28, 2010, 04:44 AM

              However, does anyone have any ideas on how I can get two instances of this to work on a single page? It will only use the parameters of the last call on the page for all page calls.

              Yes, this is a known item. The root cause is how the place holders are handled and I’m working on solving that so that a single page can have multiple instances of the mxcalendar running.

              Sorry there is not a quick fix for all of them. If your just using the Event List view let me know and we can get a custom solution in place for you.

              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
                Quote from: baadje at Jun 28, 2010, 05:03 AM

                Ola!

                First of all.. This is an amazing module! The only thing I want to change is the language of the Months. Does anyone knows how I can do this?

                Thanks!

                I have a partial patch for the event list format view in place and hope to have this release in the next couple of days with some additional enhancements as well.

                Please send me a PM if you need this sooner.

                ~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
                  Quote from: baadje at Jun 28, 2010, 05:03 AM

                  Ola!

                  First of all.. This is an amazing module! The only thing I want to change is the language of the Months. Does anyone knows how I can do this?

                  Thanks!

                  baadje - have you tried using the setlocal() function http://php.net/manual/en/function.setlocale.php? Try adding your proper local in the snippet code prior to line 119.
                    Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                    Visit CharlesMx.com for latest news and status updates.
                    • 34084 ☆ A M B ☆
                    • 756 Posts
                    Quote from: rx2 at Jun 29, 2010, 02:00 PM

                    I’m having trouble with building a new Theme.
                    I made a new folder, copied everything from the default folder to the new folder and modified the theme.xml file to create a different name, to pick up my css file as well as include a blurb that is different than the one in the original theme.xml file.

                    I can see my new theme in the drop down and select and sure enough I see the custom message I’ve input in between the <themdescription> elements.

                    However, it is still taking views from the default folder. Is there something we have to do to get a new theme to take views from its own folder?

                    If you have created you own theme then you should be able to select that in the Module Configuration tab. Once you save it and refresh your mxCalendar page you should see your new theme. Also double check to make sure you passing in any other theme over-ride(s) through the snippet call.

                    If you still have issues please send me a PM.

                    ~cheers
                      Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                      Visit CharlesMx.com for latest news and status updates.
                      • 21122
                      • 153 Posts
                      Hi there,

                      This module seems to have cropped up just as I need a good one for MODx. Charles, thanks so much for your work, I’d like to make some sort of donation to you when I have it up and running.

                      I’ve been following the instructions on the Google wiki, and all seemed to be going OK (I got it installed) until I tried adding a test event. Essentially, I added the event, and when I clicked the confirm button, I was just directed to a blank screen. Not sure what went wrong there. I’m trying to display a list of upcoming events at the moment, and am using the parameter mxcType=`list`. Not sure if this is the right one. Its not displaying anything right now, but I figured that might be because I’m not able to add any events!

                      Hope you can help, and thanks again for building this. (I’m on 1.0.4 by the way)

                      Cheers