Home › Forums › Calendar Products › Community Events › Community Events not working with theme
- This topic has 10 replies, 2 voices, and was last updated 12 years, 10 months ago by
Barry.
-
AuthorPosts
-
May 20, 2013 at 1:23 pm #49075
jessebrede
ParticipantHey team,
Having some problems getting Community Events to work with our theme.
http://electricavenueatx.com/events/community/add – seems to be dying. I’m seeing errors in the javascript console. Activate the 2011 and the page works.May 20, 2013 at 1:36 pm #49076Barry
MemberHi!
Taking a look at the code in question (where the error – or at least one critical error – is arising) I can see this.
Note the closing and opening paragraph tags that have been injected inside that snippet of code – that’s likely to be the main problem here.
Some themes, possibly including yours, either re-order the stack of filters used to process content before it is displayed or else add on an extra layer of their own and this can have an unfortunate side effect in that paragraph and break tags are inserted in all the wrong places.
It could be worth checking in with your theme vendor and seeing what they recommend. Some themes for instance have special ‘shortcodes’ that look like this:
[raw] [/raw]
(It may be different in the case of your theme though) and these can be used to wrap up or mark areas that ought not to be affected by the extra processing. So, right now, I would suggest making your theme vendor the next port of call 🙂
May 20, 2013 at 2:04 pm #49082jessebrede
ParticipantInteresting, yeah, this theme seems highly incompatible with the event plugins.
May 20, 2013 at 2:06 pm #49083Barry
MemberThat’s a shame – what theme are you using?
May 20, 2013 at 2:38 pm #49088jessebrede
ParticipantMay 20, 2013 at 3:12 pm #49094Barry
MemberOK, unfortunately I have no knowledge of that particular theme. But perhaps the theme’s author can help here; ultimately paragraph and break tags should not be being inserted into the middle of Javascript code.
May 27, 2013 at 12:17 pm #49888Barry
MemberDid you get any further with this one/is there anything else we might be able to do to help?
May 28, 2013 at 1:46 pm #49989jessebrede
ParticipantI’m not sure if you ever went to the page. If I log out of the site, then the event submission form shows up. Any reason this happen this way?
May 28, 2013 at 2:00 pm #49993Barry
MemberIt should show up regardless of whether you are logged in or not – certainly when I visit I can see the same problem as before (where paragraph and break tags are “injected” inside some Javascript, causing a syntax error).
Was there any follow-up from the theme author/vendor?
May 28, 2013 at 2:08 pm #49995jessebrede
ParticipantNot yet. I’ll ask them again. Thanks, I think you can close this thread now. Thanks for your help.
J
May 28, 2013 at 4:41 pm #50028Barry
MemberGood stuff, thanks for the update 🙂
-
AuthorPosts
- The topic ‘Community Events not working with theme’ is closed to new replies.
