Page 1 of 1

View PDF / DOC files within a page

Posted: Tue Dec 12, 2006 11:43 am
by OnlyJC
Hello People

I am new here and been looking for a CMS to control a site for a while and think this one is great - Easy to use and setup of page sections etc.

I am wanting to use it as an intranet on a local machine in the place where I work. Works great so far and content pages are filling up fast. The things we still need to be able to do is:

View files - i.e. PDF / DOC files
- For example: Select a content page / file and if a file is selected then show that in the page - like in an iframe so that all the intranet is still accessable and viewable on the same page.

A demo layout image: http://free-setup.com/~autobirt/viewfile.jpg


IF I knew how to do it myself I would, but I have no idea where to start past that I need two main sections:

1. View a file (thats used by general website)
2. Admin Area - Place to add a file with certain info (so it can be indexed and searched for)

Can anyone help me? I've had experience with PHP and SMARTY templates.

- JC

Re: View PDF / DOC files within a page

Posted: Tue Dec 12, 2006 12:22 pm
by cyberman
To point 1:

There are 2 plugins for using iframes (embed > see /plugin dir, Piiframe > at CMSms Forge).

Create pages for every pdf and deactivate there "Show in menu" (tab Options). On these page you can call a pdf inside an iframe. Instead a direct link to a pdf file you have now to use the link to not shown page. FCK has a special plugin for that (the orange palm).

To point 2:

Document indexing is currently not implenented in search module. Or do you mean something like a download module? There's a module named Uploads at CMSms Forge, which has an option for that. Don't know if this module supports indexing but perhaps this feature can easily added  ::) ...