Provide Field to help build Digital Publications Feature, like ISSUU service.
The display is formatted using the Booklet - jQuery Plugin.

This module differs from other modules as jQuery Booklet and ceaZine because it provides a new field type that holds the content of the page as an item. Each item can contain an image and/or a formatted text by selecting and configuring the appropriated widget. It provides formatters too as "Cover" with image styles, and "Booklet" with many configurable options. It is a diferent approach to deal with digital publication and can be easily adapted e extended.

https://www.drupal.org/sandbox/luizhcanetfilho/2281287

git clone --branch 7.x-1.x http://git.drupal.org/sandbox/luizhcanetfilho/2281287.git digital_publications

Comments

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxluizhcanetfilho228128...

We 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.

luizhcanetfilho’s picture

Status: Needs work » Needs review
rob.barnett’s picture

luizhcanetfilho,

You may want to perform some cleanup by running your code through CodeSniffer first:
https://www.drupal.org/node/1419988

batch_pages.inc
FOUND 2 ERROR(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
4 | ERROR | The third line in the file doc comment must contain a description
| | and must not be indented
82 | ERROR | Missing function doc comment
--------------------------------------------------------------------------------

composer.json
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
6 | ERROR | Files must end in a single new line character
--------------------------------------------------------------------------------

digital_publications.install
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
4 | ERROR | The third line in the file doc comment must contain a description
| | and must not be indented
--------------------------------------------------------------------------------

digital_publications.module
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
4 | ERROR | The third line in the file doc comment must contain a description
| | and must not be indented
--------------------------------------------------------------------------------

Also, you may want to change your git clone instructions to:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/luizhcanetfilho/2281287.git
instead of git clone --branch 7.x-1.x luizhcanetfilho@git.drupal.org:sandbox/luizhcanetfilho/2281287.git
for everyone's convenience.

I'll be happy to continue reviewing once these issues are cleaned up. Good luck.
Rob

luizhcanetfilho’s picture

Issue summary: View changes

Changing the git clone instructions.

I made the code cleanup. Now I'm using de Coder too.

Thanks Rob for the tips and reviewing!

rob.barnett’s picture

Hi luizhcanetfilho,

I noticed that you use the Booklet JQuery plugin which you correctly call in the libraries folder. I would add instructions to your Readme file and sandbox page with the download link and to rename the downloaded folder, jquery.booklet.version#, to just booklet and to place it in the libraries folder.

Rob

rob.barnett’s picture

I'm getting the following error when I try to add any of the Publication Page fields:
"Add new field: you need to select a widget."

Also, do I need to add the pdfparser PHP library, https://github.com/smalot/pdfparser?
I noticed a call to it in the code.

luizhcanetfilho’s picture

Maybe some piece of code was out of commit.
I will review and update the readme and the install instructions.

Thanks!

geekygnr’s picture

Status: Needs review » Needs work

Just changing the status since it looks like some work needs to be done.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.