Solved

drupal mini calendar ajax

Posted on 2010-08-18
10
1,516 Views
Last Modified: 2012-05-10
any idea on how to apply ajax to drupal mini calendar?
0
Comment
Question by:charmingduck
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33471290
When you mean ajax, do you mean that you want it so that when you hover over a day in the mini calendar you see a popup that describes what's going on that day in more detail? Like this page, http://calendar.byu.edu/calendar/2010-08, when you hover over dates in the full calendar?
0
 

Author Comment

by:charmingduck
ID: 33471316
no, i know what you show me can be achived by beauty tips,

my questions was, on the mini calendar, when you click on next month >> , how to make only the block load , not the page
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33471380
Thanks about the beauty tips, I didn't actually know how that site was doing that.

Here's a long thread about your question, http://drupal.org/node/339279. I'll see if I can get to the bottom of it.  I won't be able to look into this for a few hours.
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 17

Accepted Solution

by:
Thomas4019 earned 125 total points
ID: 33471770
I've patched the calendar module, try using this instead. I'm going to try it myself.

You can find the patched version here, http://thomashansen.me/calendar.zip. Make sure to turn on AJAX for the view block display.
0
 

Author Comment

by:charmingduck
ID: 33471822
can you tell me what's changed in this patched version?
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33471824
Just tested the patched calendar version on my site and it works great! Again remember to set AJAX to yes.
Capture2.PNG
0
 
LVL 17

Assisted Solution

by:Thomas4019
Thomas4019 earned 125 total points
ID: 33471844
I applied the patch attached in comment 93 on this thread, http://drupal.org/node/339279#comment-3137726.  If you open the patch file in a text editor you can see the changes (cryptically, I might add).

You can patch it yourself if you'd like, http://drupal.org/patch/apply.

You can view it in action here, http://thomashansen.me/panel/web-programs, if you scroll down to the bottom left.
0
 

Author Comment

by:charmingduck
ID: 33471857
are you sure it's not going to cause any problems?

i feel a little uncomfortable to try it on the production site cuz the deadline is real close,

anyways, i think i'm going to try it. If it doesnt work, I dont have to reconfigure everything right?
i'll just replace the calendar folder on the site with yours, and it's going to work?
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33471893
Make a backup of your site's database using Backup and Migrate, http://drupal.org/project/backup_migrate.

As a general rule of thumb Drupal modules never change files on the server except those in sites/default/files, so restoring an old database should bring you back exactly to where you were before.

Yeah, just replace the folder, flush caches, etc.
0
 

Author Comment

by:charmingduck
ID: 33471937
okay, i think it's working, so far so good, havent found any problems yet.

I don't know how to thank you.

I wont have too much time to sleep tonight, so i'll post another question on drupal mega menu, and please help if you could, I can give you a lot of points, haha.

0

Featured Post

 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question