ARI Docs Viewer system plugin helps to embed files in the following formats into any Joomla! content: One note, the extension uses Google Docs Viewer and Zoho Viewer services for inserting documents into content so it requires internet connection. It means that this feature might not work on local network sites if they does not have access to the Internet.

The add-on can also embed external pages and Joomla! articles into Joomla! content.

Examples

How to embed document with supported format into content?

Use the following code:

{aridoc engine="zoho" width="600" height="300"}PATH_TO_DOCUMENT{/aridoc}

If you want to embed remote PDF file which is located by url http://www.domain.com/docs/doc1.pdf, use the next code:

{aridoc engine="zoho" width="600" height="300"}http://www.domain.com/docs/doc1.pdf{/aridoc}

If neccesary to load my_doc.doc Microsoft Word document which is stored on your site in [joomla_directory]/documents/ folder, use thh following code:

{aridoc engine="google" width="550" height="450"}documents/my_doc.doc{/aridoc}

Currently the extension supports two services for rendering documents: "Google Docs Viewer" and "Zoho Viewer". Use engine parameter of {aridoc} tag that choose which one do you want to use. If want to use "Zoho Viewer" type engine="zoho". For "Google Docs Viewer" use engine="google".


How to embed external page?

Type the next code:

{aridoc engine="iframe" width="500" height="400"}LINK_TO_PAGE{/aridoc}

For example if you want to insert "ARI Soft" home page into an article, add the following code to necessary article:

{aridoc engine="iframe" width="100%" height="400"}http://www.ari-soft.com{/aridoc}


How to insert specific article into content?

Type the following code:

{aridoc engine="article" width="500" height="400" id="ARTICLE_ID"}{/aridoc}

If needed to embed article with ID equals to "45", use the next code:

{aridoc engine="article" width="500" height="400" id="45"}{/aridoc}

Parameters

{aridoc} tag supports the following parameters: Note: it is not necessary to specify all parameters in {aridoc} tag, omitted parameters will be loaded from plugin settings.

Limitations and Restrictions

Embedding documents should have public access because online services are used that insert documents into Joomla! content and they should have access to loading documents.