Needs review
Project:
Question
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2010 at 11:13 UTC
Updated:
30 Sep 2010 at 21:04 UTC
Hi.
I have created a views type and views support for this module. Uploading the files if you want to include the changes into your version.
| Comment | File | Size | Author |
|---|---|---|---|
| question-view.zip | 6.18 KB | msu |
Comments
Comment #1
verta commentedI see several mods in the new file more than just adding views support. It might be good to put full notes in the readme if this gets promoted to -dev?
Here's a swag as some documentation, but it might be better if the developer wrote this:
1 - Implementation of hook_views_api()
2 - Addition of 'Ask a question' to hook_block()
3 - Misc clean up, checking null conditions on $user->name in function question_qform()
4 - Setting null string defaults (wording?) on empty form submission fields in hook_form()
5 - Added $output = ''; to function question_add()
I've installed the new version, and the new block for "ask a question" works fine.
I've added a view and it works on actual nodes of type question, but what I'm looking for is a way to set up a view on the unanswered questions.
Comment #2
verta commented