Forums
Hi,
I came across a request to embed Powerpoint presentations to be included as part of a slide. In researching for this solution, I came across this module: https://drupal.org/project/gdoc_field. This was pretty much what I was looking for, however, I can't seem to make this work.
When I add an attachment to the slide, the slide does not show up in the lesson. The CCK needs to be removed, just so the slide could be made visible. Is there a note regarding attachments for the slides? I believe it bears a similar problem with a video upload embedded onto a slide. Thanks!
Hi Xtrobe,
Hi James,
Hi Xtrobe,
https://drupal.org/node
PDF
In reply to PDF by [email protected]…
Hi Mahatma.
In reply to Hi Mahatma. by wadmiraal
Thanks!
No preview available
Hi sharath92,
Hi sharath92,
Please make sure that you installed the Embedded Google viewer correctly.
You probably have an issue with the 2d point.
Requirements
1-The Embedded Google Docs Viewer is a custom formatter for the Core "Field" module - therefore the "Field" module must be enabled.
2-Any files to be formatted/rendered by this module must be accessible on the open web - Google needs to be able to access them in order for Google Docs to be able to format them - so your Drupal system must not be behind a firewall, must be reachable by normal web users, and your system must store the files as "public:".
Wanted to upload ppt as slide
There are 2 options.
There are 2 options.
Using the Google Docs Viewer or Microsoft Office Web Viewer. Both of the options envolves embeding the repective (Google,Microsoft) document web viewer. Because of this it is required that the files are public available (Google or Microsoft need to be able to access the file).
You can take a look at these modules:
https://www.drupal.org/project/pdf_reader
https://www.drupal.org/project/gdoc_field
Once you added the module, Its as simple as going to structure -> content type -> slide -> manage fields. Then you can add a file field.
Once the file field is created you can go to structure -> content type -> slide -> manage display. Both module implement a file field formatter. For the default and question display mode change the new field formatter to the one the module implements and configure the settings.
Best regards
In reply to There are 2 options. by James Aparicio
Unable to get it working with Google docs viewer
Hi kapilro,
Hi kapilro,
Can you see it when you go directly to the node page? /node/xx
Best regards
No Preview Available on visiting node page
Hi kapilro,
Hi kapilro,
And your platform is local on your pc? If you get that message it is because google could not access the file.
Best regards
Yes James that was my concern
Hi kapilro,
Hi kapilro,
Another solution would be to use the viewerjs library. https://www.drupal.org/project/viewerjs
That would require you to convert the ppt files to the odp format.
Best regards
Hi James,
Hi kapilro,
Hi kapilro,
To make it display the file directly instead of showing the download/preview, in the display settings -> preview settings you need to select preview type -> Auto Preview.
Regarding not showing up in the lesson itself, when you go to the display settings you go to the default tab (default display mode). You should select the same thing for the display mode "question". You may need to finish the lesson and start again to see the changes when taking a lesson.
BR