Posted: November 5, 2012 at 8:25 pm
Hello, |
|
|
Hi, I had a look at the fibre arts site and couldn’t see any issues on the faces or regional calendars. Can you provide a location for the error and/or some more details please? |
Sure. At fiberartscenter.com, when the page loads I get the following JavaScript Error in my Firebug console: |
|
One other quirk…. |
|
|
Hi, Ok well the issue is likely due to the fact that the script is enclosed in < p> tags. In fact there is a lot of open ended tags in the code (they should be closed with a tag). Try editing your page to surround the calendar shortcode in raw tags e.g. [raw][ESPRESSO_CALENDAR][/raw] We generally only support the current and previous versions of a browser, however, fixing the above issue may resolve that issue for the users of older versions of chrome. I tested your site on my Android phone (HTC Desire) and it worked very well. It sounds like an issue with your phone itself/the phones browser. |
Thanks for looking into this. I am checking with the theme developer about the fact that some of the shortcodes aren’t closing the p tags, but the weird thing is that when I checked the code, the closing p tags were missing three times but mysteriously showed up the fourth time I checked, without making any changes. WTF? [ESPRESSO_CALENDAR] on the page, but when I updated the page and viewed it again, the calendar showed up again. |
|
So, back to the original error message dayCntpos is null…. Do you think this has something to do with the css from themeroller theme, for the Current Day….I just noticed that the current day isn’t highlighted on the calendar, even though it was set to a certain bg color when I made the theme on themeroller… I will look into this and get back to you. |
|
|
Hey, I think whats best here is to start testing – change theme to TwentyEleven, see if it is still causing the issues. Turn the Themeroller off/change theme. The raw tags issue was weird, maybe a cache issue, as normally if the raw tags wont work you will just see the calendar with [raw] written next to it. There is no settings to change the colour of the current days background, unless you have modified the code, only all events or specific categories. |
So the issue is with Themeroller. When I use the Legacy style sheets, there are no JS errors (in Twenty Eleven or my current theme). When I use the Themeroller styles (either the standard ones included with EE, or my custom theme) the dayCntPos error shows up (in Twenty Eleven and my current theme). What I was wondering was this: the background color of the current day is not showing up in my calendar when I load my custom themeroller style. It did once, then I felt it was too dark, so I edited it (via Themeroller site), re-uploaded it to my server, then the day’s background never showed up again. The default styles show the current day as a pale yellow. In themeroller it’s considered the “highlight” style. I am no developer, as I said before, but it seems to me that the dayCntPos being null and the current day background not showing up has to be related. I just don’t know how to fix it. I apologize for bugging you with this, I’m sure it’s not a big deal compared to other issues customers are having, and I appreciate your help. Just FYI, fixed the bug in the shortcodes with the open tags. Thanks for bringing that to my attention. |
|
Hi mdowell, I’m sorry for the delay on this reply. The JavaScript error with the dayCntPos being null is a known issue that’s been turned over to the dev team to investigate further. |
|
The support post ‘Error in Calendar dayCntPos’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.