简体   繁体   English

如何在drupal中显示pdf阅读器模块?

[英]how to display pdf reader module in drupal?

ive installed the pdf reader in drupal and enabled it, then what comes next?it does not appear on BLOCKS or anywhere?what should i do? 我已经在drupal中安装了pdf阅读器并启用了它,那么接下来会发生什么?它不会出现在块上或任何地方?我该怎么办? I need to make a pdf viewer site or ebook reader running locally(localhost).Please help me. 我需要制作一个在本地(localhost)运行的pdf查看器站点或电子书阅读器。请帮助我。

I assume that you use that plugin http://drupal.org/project/pdf_reader . 我假设您使用该插件http://drupal.org/project/pdf_reader On that page you can read: 在该页面上,您可以阅读:

PDF Reader will render your entity file fields with the selected PDF renderer. PDF Reader将使用选定的PDF渲染器渲染您的实体文件字段。

and

Usage Create or attach an existing file field into an Entity then select the display options to be PDF Reader. 用法将现有文件字段创建或附加到实体中,然后选择显示选项作为PDF Reader。

So you have to make new content type (or use existing one) and attach file field to it, then when asked about display options of that field (I don't remember if it will ask you about it by default or you have to edit it after it's added) choose PDF Reader. 因此,您必须制作新的内容类型(或使用现有的内容类型)并在其上附加文件字段,然后当询问该字段的显示选项时(我不记得默认情况下它是否会询问您有关该字段的显示选项,或者您必须进行编辑添加后),选择PDF Reader。 Then you will be able to make new node of that content type containing that field and upload your PDF creating it. 然后,您将能够创建包含该字段的内容类型的新节点,并上传创建它的PDF。 When it's done, you should be able to see PDF embedded on your node page. 完成后,您应该能够在节点页面上看到嵌入的PDF。

For more information: Creating new Content Type: http://drupal.org/node/774728 有关更多信息:创建新的内容类型: http : //drupal.org/node/774728

Fields: http://drupal.org/documentation/modules/field-ui http://drupal.org/node/774742 http://drupal.org/node/774798 http://drupal.org/documentation/modules/field 字段: http : //drupal.org/documentation/modules/field-ui http://drupal.org/node/774742 http://drupal.org/node/774798 http://drupal.org/documentation/modules /领域

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM