Active
Project:
Agreservations
Version:
7.x-2.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2012 at 00:14 UTC
Updated:
29 Jul 2016 at 19:03 UTC
Jump to comment: Most recent
Here are my issues.
1. I do not see end date on the block
2. when I clicked the "create order", I am getting the following error.
Do you have idea?
| Comment | File | Size | Author |
|---|---|---|---|
| error.PNG | 3.27 KB | parkydrupal | |
| block.PNG | 7.15 KB | parkydrupal |
Comments
Comment #1
parkydrupal commentedI figured out one issue.
for the block issue,
If you do not add "Label of date2" on a category, the date field won't display on the block.
the second one, I do not know yet.
Now, I have one more question. How can I modify the block?
I would like to get rid of the unit field. Does any one know how to modify this block?
I checked all the views but, could not find them yet.
Comment #2
agill commentedhello, thanks for the error report.
i will have a look at this and report back the following days if nothing
unforeseen happens (like server-errors or other catastrophes) ;-)
regarding the unit field and how to get rid of it:
in the category-node there is a drop-down field with the label:
"Ask number of units? "
if you select no, the unit number field should be deactivated in the search widget.
Comment #3
parkydrupal commentedHello,
Durpal is community based project.
I know my question is a simple & easy. But I like to share what I found.
there are some functions such as hook_block_info(), hook_block_view(). these functions are the start point.
I found a great book for a module development. the book is "Drupal Module Development" by packt.
Hope this helps,
Comment #4
zeezhao commentedI also saw these errors.
Comment #5
FranCarstens commentedFor anyone else looking to de-activate the "Ask number of units?" field display, the "if" on the code was commented out for some reason in agreservations.module.
Just uncomment line 1286 and line 1306 and the function should work.