Hello,
I am building a drupal site for an organization with three theaters/screening rooms. On the front page I am pulling showtimes for each screening room into separate block views on the home page. In a fourth, separate block, I need a calendar that can change the displaying day for all of the views.
I have tried several different calendar modules, but none seemed to have this functionality. I tried the views mini block calendar, but it linked to the calendar's page and listed items there. I need it to stay on the front page.
I am still new to drupal, but I have experience with html, css, php, javascript, and mysql.
Can anyone point me towards a module that can achieve this, or point me in the right direction in hacking views to fit this purpose?
Thank you!
Post Script: This is my first time asking something on the forum. Please correct me if I did not follow standards, but try not to be too harsh. I am always willing to learn :)
Comments
_
Normally I would use the blocks provided by the calendar module. I'm not sure what "but it linked to the calendar's page and listed items there. I need it to stay on the front page" means. Can you be more specific?
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
-Original Post Clarification-
Clicking on a day on the calendar block view would change the page to a page where the content area was a listing of all the events for the day selected. This listing was in a single day span calendar format.
I need the calendar block days to not contain any content, and I need the numbers, when you click on them, not to take you to a day listing for that view. Instead, I need a calendar that acts as a remote controller for my 3 views on the page and changes the date filter for each of those views to the date selected.
_
ahhhh... i get it.
It's not exactly what you're looking for, but you can use a date_popup exposed filter on the page view (when configuring the view, set 'exposed form in block' and 'use ajax' both to 'yes') and add a filter for the date you wish to filter on and configure it to be 'exposed'.
In order to do with with an always displayed mini calendar, i would think you'd probably need to use an attachment view inheriting arguments from the mini calendar block view and maybe use the rewrite option to change the links to the appropriate output. Like the way the default glossary view works, but for dates instead of node titles. I've not done it, but I would think it's possible-- but you might get a more specific answer posting to the calendar module's issue queue. If you get it working definitely post back!
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Solved
I ended up getting around my issue by writing a php calendar block that stores the date as a GET variable in the url. I installed Views PHP to write a filter for my three block views so that they only passed the node items that occurred on that date.
The only downside to it is that it requires a page reload, but this could probably be solved using javascript and AJAX to send and pull the values.