|
|
Forums » List all forums » » Forum: Webmaster's Corner » » » Thread: Wordpress javascript problem with publishing |
| Posted by cosmikcarrot at Feb 11, 2012, 5:35:16 PM |
|
Wordpress javascript problem with publishing Can anybody explain to me how to publish my calendar in wordpress 3.3? At the moment I have got the calendar appearing in a page which is fine, apart from you cant click on the arrow to see the other months. On hovering over the arrows, I can that it is displaying "javascript:void (lcLoad("M0","03/01/12","441643","441643"))"> I've read that localendar uses a lower version of javascript, but can someone please tell me how to solve this problem? Thanks in advance! |
| Posted by support at Feb 12, 2012, 4:51:31 PM |
|
Re: Wordpress javascript problem with publishing Actually, I think we're using jQUery 1.7, which is fairly recent. Some Wordpress themes might use a lower version, or "knock out" some of our JS, which could be a problem too. Mind posting a link to you page? I should also mention that (once again) we are considering a a Wordpress plugin for localendar in light of recent interest. ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
| Posted by cosmikcarrot at Feb 12, 2012, 9:22:25 PM |
|
Re: Wordpress javascript problem with publishing Thanks for the reply. Here's the link to the page to view the arrows to the months that dont work - http://www.fmfrota.com/annual-leave-calendar If you could take a look please, and see what you think is at fault, that would be fantastic, thanks! |
| Posted by support at Feb 15, 2012, 12:47:42 AM |
|
Re: Wordpress javascript problem with publishing My quick look at the source on your page shows the theme (boldy?) you are using is using a very old version of jQuery: 1.3.8 We have only tested down to 1.4.1 (current version is 1.8). Our plugin is only targetting 1.4.1 and above too. And it looks like there are a few other widgets on the page that are failing b/c of the older version. ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
| Posted by cosmikcarrot at Feb 20, 2012, 9:52:06 PM |
|
Re: Wordpress javascript problem with publishing Thanks for your reply support. Can you tell me how I upgrade the jquery from 1.3.8 to 1.8.0.? Can you tell me of any wordpress themes that support localendar, as I've tried it on another wordpress theme with 1.7 on it, and it didn't work on that one either. Is the plugin for wordpress any closer to fruition this year? Thanks in advance. |
| Posted by support at Feb 21, 2012, 2:16:59 AM |
|
Re: Wordpress javascript problem with publishing We expect to release the plugin for beta testing near the end of this month (possibly the first week in March) It will have similar jQuery requirements though. Inside Wordpress, you can edit the source html behind a theme. If you edit the file that pulls down the older jQuery version, you can edit it to pull down a newer version. In Wordpress, click Editor under Appearance to get to these pages. But you shouldn't change anything unless you know what you are doing, or you could really mess up the theme. ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
| Posted by cosmikcarrot at Feb 21, 2012, 9:41:09 PM |
|
Re: Wordpress javascript problem with publishing I've updated the jquery to 1.7.1, and it still doesn't work with the same error of javascript.void...etc I've only got 2 plugins running, akismet, and a 'coming soon' plugin. Is the reason something to do with the way the page is split into 2 columns in the theme? Any answer would be fantastic to resolve this issue please. |
| Posted by support at Feb 24, 2012, 4:12:13 AM |
|
Re: Wordpress javascript problem with publishing When your calendar page loads, before localendar does anything I see an error thrown for this: // PRETTY PHOTO INIT $("a[rel^='prettyPhoto']").prettyPhoto(); Error: $("a[rel^='prettyPhoto']").prettyPhoto is not a function Source File: http://www.fmfrota.com/wp-content/themes/boldy/js/custom.js Line: 13 Can you comment out that line (or put a try/catch around it) so I can make sure it isn't preventing other script from firing? ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
| Posted by cosmikcarrot at Feb 28, 2012, 8:31:33 PM |
|
Re: Wordpress javascript problem with publishing I have removed the line altogether, and I see no improvement with the localendar. // PRETTY PHOTO INIT $("a[rel^='prettyPhoto']").prettyPhoto(); Any more suggetions? |
| Posted by tchappens at Feb 28, 2012, 9:52:38 PM |
|
Re: Wordpress javascript problem with publishing The only way that I got this to function with wordpress 3.3 was with an iframe plugin. Follow the instructions of the plugin as the iframe code they give you here will not work. This is what it looks like: http://treasurecoasthappens.com/things-to-do |
|
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |