Hi!
I followed the installation instructions and got everything installed without error. When I go to my template and add [!mxcalendar?!] it kills the page render. The moment i remove the snippet call, my page renders normally. What could be causing this?
I’m a modX/PHP newb, so its very likely I am missing something...
Thanks for the help!
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
<h1>[+mxcEventDetailTitle+]</h2>
Quote from: 3dimentia at Jul 03, 2010, 11:05 PM
Hi!
I followed the installation instructions and got everything installed without error. When I go to my template and add [!mxcalendar?!] it kills the page render. The moment i remove the snippet call, my page renders normally. What could be causing this?
I’m a modX/PHP newb, so its very likely I am missing something...
Thanks for the help!
What does your snippet call look like in the page you are displaying the calendar?
It should have displayed the calendar with the configuration options with just the basic snippet call
[!mxcalendar?!]
cheers
Nevermind. It turns out the instructions that say to just add [[mxcalendar?]] are incorrect. I needed to add more options to get it to show anything. Thanks for the work! Looks like it will fit my needs.
Thanks.
I have created my own theme and have selected it and refreshed and I do see it. That was never an issue. The issues I’m having are:
- All the views that start with month. are not coming from the newly created and uploaded theme’s views folder but from the views folder in the default theme.
- All the views that start with event. are coming from the newly created and upload theme’s views folder as expected.
[li]In the event.detail.html view we have the following:
<h1>[+mxcEventDetailTitle+]</h2>
Now it’s easy to fix the mismatched tags <h1></h2> but even when fixed I’m not getting the event title showing up. It renders blank.[/li]
- I’ve input the GoogleMap Key (and am using the same key elsewhere on the site) but I get a broken graphic icon where the map should be. I had checked that I’m using 0.0.6-rc1 as instructed by checking that I had Version: 0.0.6" on line 5 of mxCalendar.tpl.php but in the source code for the map I see: // -- mxCalendar >=r0.0.5b.6.
In configuration, I can’t specify the Day of Month Class nor enable it. When I do, and click update, they are blank.- Is there anyway to display the day, such as Monday, in the event detail page?
- Is there anyway to display the full month name instead of the abbreviation?
- Is there any way to separate the time from the month? It seems to be bound togther in [+mxcEventDetailStartDateTime+]
&mxcEndDateFormat=`%I:%M%p`
[!mxcalendar? &mxcFullCalendarPgId=`47` &mxcEndDateFormat=`%I:%M%p`!]
[!mxcalendar? &mxcType=`list` &mxcFullCalendarPgId=`47` &mxcTplEventListItemWrap=`mxcevent` &mxcTplEventListWrapTitle=`Test-A` &mxcDefaultCatId=`3` &mxcDefaultCatIdLock=`1`!] [!mxcalendar? &mxcStartDate=`first day of current month` &mxcType=`list` &mxcFullCalendarPgId=`47` &mxcTplEventListItemWrap=`mxcevent` &mxcTplEventListWrapTitle=`Test-B` &mxcEventListTitleLink=`0`!]
richk - thanks first of all, and now for your questions.
Hi everyone. My first post on the modx community, although been using modx for about a year now.
Congratulations charless, excellent module with real potential, great work. This is what I’ve been looking for for ages. I’ve got a couple of questions if that’s ok. I recognise that this module is relatively new and being updated all the time...
1, Is there a way that template variables can be assigned to mxCalendar? I’m considering using this module to power the events calendar on a website that I’m currently building for a nightclub music venue, and extra custom fields / template variables when creating an event (such as an Entry Price, age restriction and an image) would be needed to be displayed along with the Event Title and Event Times that are already built into the package.
2, Is there a way with that the Event List view can be filtered by month? So that only events that take place in the same month appear together on the same page, so that the user doesn’t have to scroll through months and months of event listings on one page.
Many thanks
There is a new version of mxCalendar that fixes the Monthly view themes, sorry that was an update to the namespace that didn’t get updated correctly in past version.
As to the other questions about the date format you can use a new parameter or updated the value int he configuration tab to adjust the date format to a valid PHP strftime(). See the mxcStartDateFormat and mxcEndDateFormat parameters on the new version 0.0.6-rc2. The newest version should help solve all your issues.
*note: the google map is using API V3 which does not require any google map key and as long as you don’t have any conflicts in your JS you shouldn’t have any issues.
*Attached is an example of the mxcEndDateFormat format parameter display for the event detail view.
&mxcEndDateFormat=`%I:%M%p`
- if your using the AJAX mode you’ll want to make the snippet call update on the AJAX page snippet.
cheers
[!mxcalendar?&mxcMonthInnerContainerClass=`calendar`&mxcMonthInnerRowClass=`cday cempty`&mxcStartDateFormat=`%A %B %e, %Y - %l%P`!]
[+mxcEventDetailBackToCal+]
<div id="[+mxcEventDetailId+]" class="[+mxcEventDetailClass+]">
<h1>[+mxcEventDetailTitle+]</h2>
<p>[+mxcEventDetailLabelDateTime+]</p>
<p>[+mxcEventDetailStartDateTime+][+mxcEventDetailDateTimeSeperator+][+mxcEventDetailEndDateTime+]</p>
<p class="repeat">[+mxcEventDetailDateTimeReoccurrences+]</p>
<h2>[+mxcEventDetailLabelLocation+]</h2>
<p>
[+mxcEventDetailLocation+]
</p>
<p>[+mxcEventDetailDescription+]</p>
[+mxcEventDetailGoogleMap+]
</div>
[+mxcEventDetailBackToCal+]
<div id="[+mxcEventDetailId+]" class="[+mxcEventDetailClass+]">
<h4>[+mxcEventDetailTitle+]<br />
[+mxcEventDetailStartDateTime+]</h4>
<p>[+mxcEventDetailDescription+]</p>
<!-- <p class="repeat">[+mxcEventDetailDateTimeReoccurrences+]</p> -->
<p><strong>Date:</strong> [+mxcEventDetailStartDateTime+]<br /><strong>[+mxcEventDetailLabelLocation+]</strong> [+mxcEventDetailLocation+]</p>
[+mxcEventDetailGoogleMap+]
</div>
Hi Charles.. thanks so much for this needed calendar.
I’m having a weird problem, though:
If I’m logged in to the Manager and am previewing my site everything works fine.
However, when I log out, or not logged in to begin with I get this error when the moodalbox opens:
Oops.. there was a problem with your request
Please try again.
Click anywhere to close.
This comes from the moodalbox.v1.2.full.js but I have no idea what’s triggering it.
Any help is greatly appreciated as I’m wanting to put this calendar into a client site.