SensorArt
Forum Replies Created
-
You’re welcome ??
Fulvio said:”has any of you guys disabled the default calendar styles from the plugin options? can you enable them back with 2.2.6, clear the cache and see what happens?”
I tried it and it would change nothing. The grid-view looked still messy ??
Aloha, Fulvio.
I think, I found the solution for the problem ??
Okay, let me explain what I have done:
– at first I installed version 2.2.6 again to my blog
– than I changed every file step by step to the files from version 2.2.5
– during this process I discovered, that the file “class-google-calendar-events.php” must be the problematic one.
– than I compared both versions of this file (2.2.5 against 2.2.6) and I found the following:
In 2.2.5 you can find the following lines of code ->
add_action( ‘init’, array( $this, ‘enqueue_public_scripts’ ) );
add_action( ‘init’, array( $this, ‘enqueue_public_styles’ ) );In 2.2.6 you find on the same place these two lines of code ->
add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_scripts’ ) );
add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_styles’ ) );Okay! Prepared with this knowledge I edited the file as follows:
/*add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_scripts’ ) );
add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_styles’ ) ); */add_action( ‘init’, array( $this, ‘enqueue_public_scripts’ ) );
add_action( ‘init’, array( $this, ‘enqueue_public_styles’ ) );– I than saved the file back to my blog and voilá it works!
I changed nothing else than this two lines of code. I promise ??
Now its up to you to find why it will works with this small changes …
See ya, Maic.
P.S: Actually version 2.2.6 is installed with the modified “class-google-calendar-events.php”
Aloha, Fulvio. I switched back to version 2.2.5 of the calendar and I also changed the wp-config.php to (‘SCRIPT_DEBUG’, false);
JFYI ??
Perfect! That’s what I wanted to hear ??
Can you also made some changes to the german translation file?
If you hover “N?chste” (next in english), a tool-tip with “N?chste” will be shown and that is absolutely right. But if you hover “Zurück” (“back” or “previous” in english), the tool-tip shows “Previous” and this is obviously wrong. Correct would have been if there “Zurück” would be.
Long story short:
Next -> “N?chste” in german -> translation okay
Previous -> “Zurück” in german -> translation wrong, because still shown in english.??
If you need further support please let me know it.
A copy of my css-files, local modifications on the calendar-plugin, …
That’s all no problem for me and I think together we will solve this issue ??
P.S: You can call me Maic ??
I also activated
define(‘SCRIPT_DEBUG’, true);
in the wp-config.php for the next 24 hours.
Work quick! Time’s running out!
Don’t worry, just kiddin’ ??
P.S: Thanks for your fast reply!
Aloha Fulvio.
I updated again to Version 2.2.6 and I observe the same behavior as yesterday, but that’s okay because it is just for testing.
For the next 24 hours I will stay on version 2.2.6, than I will downgrade to 2.2.5 again, because this is a productive website.
It is not possible for me to deploy a test-installation, because the whole site is larger than 1,5 gb at all … In addition my time is very limited presently.
Hope this helps a little bit ??
P.S: I like this plugin very much and I would be really sad, when I had to switch to another one ??
I could observe exactly the same behaviour onto my blog.
Until version 2.2.5 the monthly grid view works like a charm, but until I changed to 2.2.6 everything’s changed.
The calender used the full width of my blog; the hover-effect doesn’t work; all events were shown in the grid without hovering the date; the Next/Previous buttons were positioned on the top left corner of the calendar grid; …
I was compelled to change back to version 2.2.5 (Thank God I had made a fresh backup before I updated to version 2.2.6).
I changed absolutely nothing! Same theme, same css, same version of WordPress, no other plugins were updated. So the blame is on you, but why? What’s changed between 2.2.5 and 2.2.6?
P.S: You can find the calendar her:
[x] done
P.S: You have mail ??