I’m using simple reservation module. There are two issues I’m currently facing in it for which I’m looking for solution:

1. As soon as I click on next week, or next month or previous week or previous month, the resulting page does show the intended period but all the images (for week, or next month or previous week or previous month or add or edit) disappear. Any solution to keep the images on all pages will be highly appreciated

2. Second issue that I have is with the way reservation appears in the display: for each day the reservation appears in the order of reservation done not on time of the day. To explain it further, if someone has booked the conference room between 1 to 2 PM and if after that someone has booked the same conference room between 8 to 9 AM, the first booking will appear on top. I need some help in making the booking appear according to the time of the day. Any help will be highly appreciated.

Thx
Rajiv

Comments

jochen wendebaum’s picture

Assigned: Unassigned » jochen wendebaum
Category: support » bug
Status: Active » Needs work

Thanks for this info, I am on it.

jochen wendebaum’s picture

Hi,

I am sorry, but can not reproduce both issues. The images are always taken with the right path, and the reservations show up sorted by start date.

Please post here the adresses of the images which are not shown correctly (right click on the image > properties > adress), so I can get this further.

Please consider to check out the latest release before and see if this accures there, too.

mr. chips’s picture

I'm have the same image problem. On the default page view all the icons (images) are there with this address:
DOMAIN.NAME/sites/all/modules/simple_reservation/images/next.png

Clicking next month the image address becomes:
DOMAIN.NAME/simplereservation/35/sites/all/modules/simple_reservation/images/next.png

edit: same results with 1.0 or 1.x-dev

Using Drupal 6.13, Date 6.x-2.2 OR Date 6.x-2.3, MAMP Pro 1.7.1, OS X 10.4.11

Sorting the reservations works as expected for me, by reservation time instead of create time.

By the way, great job on 1.0!

jochen wendebaum’s picture

Status: Needs work » Needs review

I just commited a patch for this, it should appear in the -dev release soon.

If you want to fix it quickly by hand, open the file simplereservation_week.tpl.php and in row 3 change the imgpath variable to:

$imgpath = base_path() . drupal_get_path('module', 'simplereservation').'/images/';

Plese let me know if this fixes this issue.

rajiv.r.in’s picture

Yes it did solve the problem of images...thx

mauryg’s picture

I confirm that the patch solved the problem of the disappearing images, but that is only part of my problem. When I open the simple reservation page the current week appears in the table but the heading reads "December 2009 week 37". If I click on ANY of the links to change the week or month, the heading changes to December 2010 week 2 and the dates begin with 3 January 2010. Further clicks on the links do not change the dates on the page.
My system running on a localhost WAMP server:
Drupal 6.19
Simple Reservation 6.x-1.0
Date 6.x-2.3
PHP 5.14 with Date PHP4 enabled. (I suspect this might be a cause of the problem. I will install and test Simple Reservation on my live server with PHP 5.2.5 and let you know.)

UPDATE: Installed module on production server with PHP 5.2.5 and problem is solved. Calendar now behaves properly.

jochen wendebaum’s picture

Status: Needs review » Closed (fixed)

Thanks for sorting this out.

Navigation around the year change is broken, I know that and it is on the agenda