Closed (fixed)
Project:
Simple Reservation
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2009 at 17:01 UTC
Updated:
27 Dec 2009 at 13:44 UTC
When a user use the go to the next week, nest month, or before week or before month the image are not display. The browser don't find the image, although the url is fine.
| Comment | File | Size | Author |
|---|---|---|---|
| Pantallazo.png | 170.69 KB | oskar_calvo |
Comments
Comment #1
david.lukac commentedYes, we had the same issue. I think leading slash is missing in image src. In case you're running from subdirectory (or context/space/og) leading slash wouldn't be enough, so I've added whole base url to the path:
simplereservation_week.tpl :
simplereservation_item.tpl :
You need to have base_url set in settings.php.
Comment #2
david.lukac commentedOr there already is solution in other thread, basicly the same using base_path().
Do you know which solution is better ? Does base_path() also return correct path when running from subdir ?
=== EDIT: ===
I've tried it with base_path() running from subdirectory and it works fine. So I suggest using 'base_path()' patch !
Comment #3
oskar_calvo commentedHello, it works fine now with base_path ().
Should be a path with this change.
Thanks
Oskar
Comment #4
jochen wendebaum commentedfixed in 1.1
Comment #5
jochen wendebaum commented