Home › Forums › Calendar Products › Events Calendar PRO › Problem with display of date picker in Calendar template
- This topic has 4 replies, 2 voices, and was last updated 12 years, 11 months ago by
Barry.
-
AuthorPosts
-
May 20, 2013 at 11:41 pm #49133
Annette
ParticipantHi, I have created a new template for my calendar but cannot get the date picker to display correctly in Calendar view.
The template .php file is the same for both List and Grid view so therefore uses the same CSS source files.
To try and identify the problem I dropped the date picker code into both views (List and Grid) just to see what happens – and it works fine in List view.
I have spent hours trying to find the glitsch in the Grid / Calendar view but not succeeded. If anyone can help me with this I’d be really really grateful!
http://www.leisurecourses.net/courses/month/May 21, 2013 at 7:13 am #49166Barry
MemberHi Annette!
If you view the source of the page you can see the markup for that area looks something like this: http://pastebin.com/S7GsVUeM (note the extra break and closing paragraph tags which, basically, should not be there).
That isn’t something our plugin adds so unless you have added those as part of your customizations (I’d guess not!) it is likely to be your theme which is ‘injecting’ them into the page and, unfortunately, is doing so inappropriately.
This happens with some themes because they re-order the stack of filters used to process content before it is displayed and with others because they add an extra layer of processing and it sometimes has this unfortunate effect.
A number of these themes have a kind of shortcode that looks like [raw] [/raw] and that can be used to wrap or mark areas that should be left unaffected by the extra processing – however this varies from theme to theme and the best thing here would be to check in with your theme vendor and seek their assistance.
May 21, 2013 at 7:15 am #49168Barry
Member… Just to add, one way to verify if this is caused by your theme would be to switch across to a default theme such as Twenty Twelve (within a staging or test environment for example).
May 21, 2013 at 8:52 am #49193Annette
ParticipantThis reply is private.
May 21, 2013 at 9:04 am #49194Barry
MemberOK – well great that the initial problem is solved. Just to keep things clean and tidy can I ask you to create a new thread for this new problem (and definitely link back to this thread if that helps to give some context)?
Otherwise things have a tendency to get a little confused, especially if someone else jumps in to the thread to discuss their own version of the original problem 🙂
-
AuthorPosts
- The topic ‘Problem with display of date picker in Calendar template’ is closed to new replies.
