Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


Quick Go »
Thread Status: Normal
Total posts in this thread: 15
Posts: 15   Pages: 2   [ 1 2 | Next Page ]
[Change thread status] [Delete this Thread] [Move this Thread]
[Add To My Favorites] [Watch this Thread] [Post new Thread]
Author
Previous Thread This topic has been viewed 382 times and has 14 replies Next Thread
cosmikcarrot
New Member



Joined: Feb 11, 2012
Posts: 6
Status: Offline

Edit this Post   Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Thread]

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!
[Feb 11, 2012, 5:35:16 PM] [94.173.249.250] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6438
Status: Offline
Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

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
[Feb 12, 2012, 4:51:31 PM] [67.86.148.50] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
cosmikcarrot
New Member



Joined: Feb 11, 2012
Posts: 6
Status: Offline

Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

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!
[Feb 12, 2012, 9:22:25 PM] [94.173.249.250] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6438
Status: Offline
Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

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
[Feb 15, 2012, 12:47:42 AM] [67.86.148.50] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
cosmikcarrot
New Member



Joined: Feb 11, 2012
Posts: 6
Status: Offline

Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

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.
[Feb 20, 2012, 9:52:06 PM] [94.173.249.250] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6438
Status: Offline
Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

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
[Feb 21, 2012, 2:16:59 AM] [184.6.212.56] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
cosmikcarrot
New Member



Joined: Feb 11, 2012
Posts: 6
Status: Offline

Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

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.
[Feb 21, 2012, 9:41:09 PM] [94.173.249.250] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6438
Status: Offline
Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

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
[Feb 24, 2012, 4:12:13 AM] [76.1.234.104] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
cosmikcarrot
New Member



Joined: Feb 11, 2012
Posts: 6
Status: Offline

Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

I have removed the line altogether, and I see no improvement with the localendar.

// PRETTY PHOTO INIT
$("a[rel^='prettyPhoto']").prettyPhoto();

Any more suggetions?
[Feb 28, 2012, 8:31:33 PM] [94.173.249.250] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
tchappens
New Member



Joined: Feb 22, 2012
Posts: 7
Status: Offline

Edit this Post   Re: Wordpress javascript problem with publishing Reply to this Post
Reply with Quote
[Delete this Post]

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
[Feb 28, 2012, 9:52:38 PM] [76.110.52.10] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
Posts: 15   Pages: 2   [ 1 2 | Next Page ]
[Show Thread Printable Version] [Post new Thread]

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us