This module provides a new format for the Link field type. This format presents the file as a fully rendered object within a web page - i.e. it displays the contents of the link as appropriate to its filetype (Adobe Acrobat .pdf, Microsoft Word .doc/.docx, Micrososft Excel .xls/.xlsx, Microsoft Powerpoint .ppt/.pptx), using the Google Docs embedded rendering engine.
N.B.: Only link having .pdf,.doc/.docx, .xls/.xlsx. and .ppt/.pptx may use this formatter - Google Docs must be able to access the link url in order to render and display it. In other words, it won't work on a typical development laptop, or if your server is behind a firewall where Google is unable to access it.
Also this module helps play audio files and render images hosted on another server.
https://www.drupal.org/sandbox/mandarmbhagwat78/2294289
http://git.drupal.org/sandbox/mandarmbhagwat78/2294289.git
GIT: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/mandarmbhagwat78/2294289.git link_field_formatter
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxmandarmbhagwat7822942...
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.
Comment #2
willietse commentedHello there,
Automated Review
http://pareview.sh/pareview/httpgitdrupalorgsandboxmandarmbhagwat7822942...
There are a lot of problems.
Manual Review
1, Add new field, input title is "drupal", url is "http://www.drupal.org", in the “manage display” page, use FORMAT is "Embedded Google Docs viewer",
view the node full page, error is "Notice: Undefined index: filename in link_field_formatter_field_formatter_view() (line 169 of D:\usr\drupal7\sites\all\modules\link_field_formatter\link_field_formatter.module).
The file () is not publicly accessable. It must be publicly available in order for the Google Docs viewer to be able to access it."
2, Ditto, input the url is like "https://www.drupal.org/sites/all/themes/bluecheese/images/sprites.png", use FORMAT is "image",
error is "( ! ) Fatal error: Call to undefined function url_encode() in D:\usr\drupal7\sites\all\modules\link_field_formatter\link_field_formatter.module on line 194"
3, Git repository is http://git.drupal.org/sandbox/mandarmbhagwat78/2294289.git.
Comment #3
gisleRemoving
PAReview: review bonus. Looks like it was added by mistake by a reviewer.And while I am at it:
It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Comment #4
mandarmbhagwat78 commentedComment #5
mandarmbhagwat78 commentedFixes made for the issues mentioned in review comment.
Comment #6
sharique commentedIt looks good to me now.
Comment #7
gwprod commentedPlease fix the multitude of issues coming up in PAReview.sh
http://pareview.sh/pareview/httpgitdrupalorgsandboxmandarmbhagwat7822942...
Comment #8
mandarmbhagwat78 commentedFixes made for PARReview.sh
Comment #9
mandarmbhagwat78 commentedAll the review fixes are made. Please review.
Comment #10
joris_luciusThings that got my attention right away;
PAReview:
Coder review (using the minor (most) option to see everything.
Comment #11
mandarmbhagwat78 commentedComment #12
PA robot commentedClosing 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.