This is an enhancement module for book. It allows users to use views to filter book outline form.
Administrators can filter books and expose filters to users so they can refine the book results, in addition it can be used to group results in input element.
Views Book provides the ability to:
- Filter Book list in "Book outline" form.
- Expose filters to users.
- Group books.
Link to Project:-
https://drupal.org/sandbox/galindus/2182941
Link to git Repository:-
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/galindus/2182941.git views_book
Reviews of other projects:
https://drupal.org/comment/8473455#comment-8473455
https://drupal.org/comment/8473343#comment-8473343
https://drupal.org/comment/8463765#comment-8463765
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | over80module.png | 111.34 KB | dave bagler |
Comments
Comment #1
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
dave bagler commentedFor some reason I couldn't get the parreview.sh review to work properly, so I don't have the output but I did notice that there are some issues in your code most notably lines that are no longer than 80 characters (in all of your files).
You mention only supporting block displays in the code but I think it would make the module somewhat more useful and likely wouldn't take much work to add support for view content panes.
Comment #3
vgalindus commentedHi Dave,
Thanks for reviewing.
Path to pareview
PA robot stands for Pareview robot, it carries automatically the pareview check. There are no errors for pareview in my code.
What do you mean by lines no longer than 80 characters? I guess that lines shouldn't be longer than 80 char. There are none.
In which ways do you think content panes would improve that module?
\BR
Comment #4
dave bagler commentedWhen I clone your repo and look at the code I see many lines over 80 characters. Here's a screenshot of your .module file. Ignore the over80info.png I uploaded the wrong file.
Site builders using panels may wish to use the pane display rather than using a block display.
Comment #5
dave bagler commentedComment #6
dave bagler commentedComment #7
vgalindus commentedYou are right, thanks.
I have updated line lengths in .info and .module.
Regarding using view panes I don't think it is worth it since module does not use view display output just uses the filters and exposed filters to get the list of nodes. IMO it will add more logic and complexity to the module and I don't see any advantage if you can point out anyone I will implement the feature, I don't think either page display is worth it since it must use a path though maybe someone wants to reuse a page display but I don't really think it is useful.
\BR
Comment #8
dave bagler commentedYeah pane support certainly isn't a requirement as panels users could still use the block display, I would be fine with this module being granted full project status without it. The link lengths look great for the info and readme files. For the module file, most of them have been cleaned up but the following lines go over 80 characters:
49
54
76
82
100
113
120
121
122
123
133
139
195
196
197
210
Comment #9
vgalindus commentedHi Dave, thanks but the lines you are pointing can't be shorted more IMO. They are under 120 char so it is ok for me.
\BR
Comment #10
dave bagler commentedIf you feel that they should stay at is then it works for me, I just wanted to make sure they weren't an oversight. Looks good.
Comment #11
vgalindus commentedComment #12
rodrigoeg commentedI have performed some tests in this module, and I found some suggestions:
Manual Review:
Comment #13
vgalindus commentedThanks for reviewing!
I have Fixed all the issues you have found and fixed the line breaks.
Regarding 3, I don't think we can create a default view for it since there is no default fields attached to default book content in drupal so we can filter or group results.
Any suggestions are welcome.
\BR
Comment #14
imgio commentedComment #15
imgio commentedComment #16
imgio commentedComment #17
imgio commentedPlease view http://pareview.sh/pareview/httpgitdrupalorgsandboxgalindus2182941git and fix all the errors.
Tip for fixing "Whitespace found at end of line" error:
Using regular expressions, you can:
replace " *\n *?"
with "\n"
This converts all white spaces to new lines.
Or you can delete them by hand.
Additionally, I do not see why a markdown syntax is necessary for a README file.
The standard is README.txt (not README.md) https://drupal.org/node/447604. Please change.
Regards,
imgio
Comment #18
imgio commentedComment #19
vgalindus commentedFixed pareview Errors and renamed Readme file.
Comment #20
klausihttps://drupal.org/project/views_book_chapter
This sounds like a feature that should live in the existing views_book_chapter project. Module duplication and fragmentation is a huge problem on drupal.org and we prefer collaboration over competition. Please open an issue in the views_book_chapter issue queue to discuss what you need. You should also get in contact with the maintainer(s) to offer your help to move the project forward. If you cannot reach the maintainer(s) please follow the abandoned project process.
If that fails for whatever reason please get back to us and set this back to "needs review".
Comment #21
vgalindus commentedHi klausi, thanks havent noticed that module before.
Just created an issue to merge modules, though i think they do different things could be useful to have it in the same module.
https://drupal.org/node/2210979
\BR
Comment #22
killua99 commentedI'm the maintainer of views_book_chapter.
And I don't see any relation (jus the name "views") But this module help in the admin content, to easly see and help the editor to see which book exist and more simply to select.
https://drupal.org/project/book_helper
https://drupal.org/project/book_made_simple
This modules have more relation.
Anyway looks good the module.
Comment #23
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.