Home How to How to insert a PDF file into a Joomla page
22 | 02 | 2012
Change Language

Español

Homepage
How to
Articles
My Videos
My Videos
Romina Singing Videos
Ave Maria Gounod by Romina Chirre
Burl Ives: A Holly Jolly Christmas Cover
Simon & Garfunkel: The Sound of Silence Cover
The Carpenters: There's a Kind of Hush Cover
Jeanette: Soy Rebelde (I am a rebel) Cover
Skeeter Davis: End of the World Cover
Connie Francis: Where the boys are cover
The Carpenters: Sweet sweet smile cover
The Carpenters: Merry Christmas Darling Cover
Jeanette: ¿Por qué te vas? Cover
Righteous Brothers: Unchained Melody Cover
Simon and Garfunkel: Scarborough Fair Cover
Patti Page: Mockin' Bird Hill Cover
Johnny Cash: Ring Of Fire Cover
Johnny Cash: Ghost Riders in the Sky Cover
ABBA: Lay All Your Love On Me Cover
Elvis Presley: Blue Christmas Cover
Bobby Helms: Jingle Bell Rock Cover
Brenda Lee: Rockin' Around the Christmas Tree cover
Dido: Thank You Cover
The Beatles: Eight Days A Week Cover
Olivia Newton John: I Honestly Love You Cover
The Beatles: I Feel Fine Cover
Jeanette: Acabaré llorando Cover
ABBA: Estoy Soñando Cover
ABBA: One Of Us Cover
ABBA: Mamma Mia Cover
ABBA: Knowing Me Knowing You Cover
The Beatles: Tell Me Why Cover
The Carpenters: Top Of The World Cover
The Beatles: I'm Happy Just To Dance With You Cover
The Carpenters: We've Only Just Begun Cover
Bobby Helms: Jingle Bell Rock Cover
Jeanette: Cuando Estoy Con El Cover
Jeanette: Si Te Vas Te Vas Cover
Autos & Vehicles Videos
Jurgis Kairys: Flying Upside Down Under a Bridge!
World Debut of Rinspeed sQuba: First Underwater "Flying" Car
Futuristic Japanese Cars
Comedy Videos
Hidden images on money
Ameriquest banned TV commercial: Don't judge too quickly
The Distortion of Beauty
BANZAI - Lady One Question - Simon Cowell
Abbott & Costello - Troubles with a policeman
Abbott & Costello - Susquehanna Hat Company
Abbott and Costello Meet Frankenstein
Stutter Prank Call (very funny)
A lady drops a cake and falls in a ditch
Funny video of a face deformation
Bad Haircut Prank
Educational Videos
Are human beings natural meat eaters?
How does your diet affect your carbon footprint?
5 Easy Ways to Save the Planet from Global Warming
The Human Overpopulation Crisis
National Geographic: Global Warming
The American Denial of Global Warming
Entertainment Videos
Howto & Style Videos
Drawing a spiral: Adobe Illustrator Tutorial
Adobe Photoshop Tutorial: Wrap Text Around An Object
Adobe Photoshop tutorial: Turn a picture into an illustration
Adobe Photoshop Tutorial: How to add snow to an image
Adobe Photoshop Tutorial: How to Set a House on Fire
Puzzle Pattern Photoshop Tuturial
Fire text, flame text Adobe Photoshop tutorial
How to Create the Dripping Blood Text Effect in Adobe Photoshop
How to create the wet text effect free Adobe Photoshop tutorial
How to create a seamless web page background free tutorial
Music Videos
Relaxing Music Videos
Relaxing music: Dreams of Peace 1
Relaxing music: Dreams of Peace 2
Relaxing music: Dreams of Peace 3
Relaxing music: Dreams of Peace 4
Relaxing music: Dreams of Peace 5
Relaxing music: Dreams of Peace 6
Relaxing music: Dreams of Peace 7
Relaxing music: Dreams of Peace 7
Relaxing music: Dreams of Peace 9
Relaxing music: Dreams of Peace 8
News & Politics Videos
Paranormal and Supernatural Videos
Hauntings and Ghosts
Paranormal activity caught on video
Poltergeist activity caught on tape by 2 cameras
Poltergeist activity caught on video tape by three cameras
Real Poltergeist caught on tape in an attic
People & Blogs Videos
Trapped in an elevator for 41 hours
Racism in America
Racism in America 2
Racism in an upscale store
Road rage fight caught on tape ends in arrest
Pets & Animals Videos
Rat loves cat!
Baby Porcupine Eats A Banana and Has Hiccups
Amazing Blindfolded Dog on Pet Star
Amazing Singing and Talking Parrot on Animal Planet
Smart Parrot on Animal Planet
The Jingle Cats
Kitty dreaming while sleeping
Daryl Hall... a Mouse Eater?
Cat says "No!"
Cats talking: translation
Cats talking
Nora: The Sequel - Better than the original!
NORA: Practice Makes Purr-fect
Science & Technology Videos
Amazing Northern Lights Time Lapse
Spirituality & Religion Videos
Statue of Virgin Mary Cries In Medjugorje
Today Show: Woman Recounts Life After Death
Padre Pio Biography (In Italian language)
Photo Gallery
Animal Rights
My Portfolio
Resources
 
 

Website Value Estimate

My website worth is $9,277 Whats your website worth
Search
Rate this item
(5 votes)

How to insert a PDF file into a Joomla page (Article)

In this tutorial I'll show you how to embed an Adobe Reader (PDF) file in a Joomla article. For a live sample page, please, click here. (If you find any problems displaying the PDF file embeded in the sample page, it may be that even you don't have Adobe Reader's installed in your computer, or if you are using Internet Explorer's browser you may need to delete your temporary Internet files, cookies, and history by going: Toos > Internet Options > Delete, then from the "General" tab you would need to click on "Delete").

With this method it won't be necessary for you to install any third party extensions or plugins. The only thing you'll need is your PDF file, which (if you don't have it already) can be created with the software Adobe Acrobat or using any of the online services available. It's also important that if you don't have Adobe Acrobat installed in your computer, that you have at least the free version of it, which is Adobe reader (otherwise your browser won't be able to display the PDF file embedded in your article). For your information Adobe Reader can be downloaded from:

http://get.adobe.com/uk/reader/

Assuming you already have a PDF file, you need to make sure its name has no empty spaces in it. That will make it easier for you to figure out an important piece of information: the file's URL, which you'll need later on. It will also help if the name is in lowercase letters. You know you can rename a file by right clicking on it and then left clicking on "Rename".

Now let's get go to the fun part of this tutorial :)

1. Login into your Joomla Administrator's page. If you are a Joomla newbie, the administrator's page would be your domain name followed by "/administrator". For instance:

http://www.yourdomainname.com/administrator

Now from the top menu go:

Site > Control Panel

2. From Joomla's Control Panel click on "Media Manager", like this:

From Joomla's Control Panel click on Media Manager

Once you access the Media Manager's page, on the left side of the page, you'll see the directory tree displayed, which is the folders and sub-folders where you will be able to upload your files. By default, you'll land on the "images" directory (on the directory tree you won't see the name "images". Instead it will say "Media". But if you look at the path, under "Files" on the right side, you'll see you are actually inside the "images" folder).

Joomla Media Manager Directory Tree

3. We'll create a sub-folder inside "images", which we'll call "pdf". How do we do that? Well, look where it says "Files". Underneath that you'll see the path of the folder where you are located at. On the right side of that rectangle you'll see an input area where you can type the name for the file you want to create. So, please, type there "pdf" (without the quotation marks), like this:

Creating the pdf folder

If you look at the directory tree again, you should see now the new folder "pdf" displayed as one of the "Media" sub-directories . Please, click on it. The path under "Files" should have changed to something like:

/xxxx/xxxx/public_html/xxxx/images/pdf

4. At the very bottom of the page you'll find a "Browse" button.

Browse and upload your PDF file from here

Please, click on it, browse your hard drive to locate your PDF file, select it and click on the "Start Upload" button.

5. Once you have uploaded your file, you'll need to determine the URL (online address) for that file. Here's how you do it. The URL for your file will be your domain name followed by /images/pdf/yourfile.pdf.

For example, if your domain name is domainname.com and your PDF file's name is my-file.pdf, then the file's URL will be:

http://www.domainname.com/images/pdf/my-file.pdf

To prevent misspellings on your file's name, you can right click on it (I mean the one on the one you have in your computer, not the one that is displayed on the Joomla Media Manager's page), select "Properties" and under the "General" tab you'll find the name. Just select it and copy it.

PDF file's name

If you uploaded a file which name has uppercase letters, Joomla will automatically convert them into lowercase letters. So let's say your PDF file's name in your computer's hard drive is MyEBook.pdf, in the Joomla's folder it will show myebook.pdf.

What I usually do is I open a Notepad's file and type there the URL so I can copy that text and paste it into my web browser's address bar (just to make sure I got it right). If the URL is correct, the file will load on your page, otherwise, the browser will display a 404 error message. I would suggest you to do the same (test the PDF file's URL on your browser). Hopefully you didn't encounter any problems up to this point, but if you did, please, go over the instructions and try again.

6. OK, so here's what we will do next. We'll create a menu item that will be linked to your file. It's up to you to decide which one of the menus you'll choose, but for this tutorial we'll use the Main Menu. So, please, go:

Menus > Main Menu > New > Wrapper > Wrapper

Like this:

Wrapper

Just for this tutorial, our Menu Item Details will be:

Title: My PDF file
Alias: my-pdf-file (or just leave it blank)
Link: (don't change anything here)
Display in: Main Menu
Parent Item: Top
Published: Yes
Order: (don't change anything here)
Access Level: Public
On Click, Open in: Parent Window with Browser Navigation

Parameters (Basic):

Wrapper URL: (Important: type your URL here!)
Scrollbars: Auto
Width: (leave it as default, which is 100%)
Height: (leave it as default, which is 500)

Parameters Advanced:

Auto Height: No
Auto Add: Yes

Parameters (System):

Page Title: My PDF file
Show the Page Title: Yes
Show the Page Title: (leave this blank)
Menu Image: - None Selected -
SSL Enabled: Ignore

Of course this is just for you to learn the technique, but for any future menu items you will add your own text and change the settings according to your own personal preferences.

Now please, click on "Save" (on the top right corner of the page).

7. Open up your website. On your main menu you should see the new item "My PDF file". Please, click on it and it should load a page with the PDF file embedded. It may take a little while to load (it will depend on the size of your file and your Internet speed). It should look something like this:

PDF file on a Joomla article

As you can see, the PDF file will have a nice look inside your Joomla's default template, it will also be surrounded by the page menus, so people will be able to keep surfing your website, just like from any other regular HTML page.

And that's it. I hope you have enjoyed this tutorial and if you found it useful, please, feel free to share it with other people. Comments or questions at the bottom of this page will be more than welcome. Thanks and happy learning!

Read 7440 times Last modified on Thursday, 24 November 2011 20:31

Comments  

 
0 #14 Robert 2011-11-14 13:31
Hi Romina,

The solution to my dilemma was really quite embarrassingly simple.

What I needed to do was go into "Menu Manager" and edit the "Left Menu" I'd set up as a vertical menu. From there, I just had to make sure the left/vertical menu was set to display on the same page as the second pdf. It was one of those silly little details that can drive one crazy.

Regards,

Robert
www.inlibrislibertas.com

Quoting zahnyx:
Quoting Robert:
Hello,

Thank you so much for this tutorial! It does exactly what I need it to and has really helped me with developing my first website.

Something strange did happen though and I was wondering if you could advise me?

I am developing my site on a localhost, so I'm afraid I can't show you what is happening but I will do my best to describe it.

Basically, I have two menus - one on top and the corresponding submenus on the left side that show up when a Main Menu item is selected. I have used a wrapper twice for two submenu items and the results have been different each time. The first time was perfect, the pdf showed up on the page and the left submenu was maintained. The second time, the pdf showed up but it took up the entire page! I tried reducing the size of the pdf from the menu options (display width) but the menu is still gone and the pdf is justified left.

Do you have any ideas as to why this might've happened and what I can do to fix it?

Best Regads,

Robert


Hi Robert,

Sorry it took me so long to reply to your comment. I just realized you had asked me this question. Since it has been so long since you asked me this, I was wondering if you realized what the problem was with the way the second PDF file was being displayed on your Joomla website? If you did, would you share how you resoved the problem? Thanks, Robert. I hope you enjoy your weekend :)

Romina
Quote
 
 
0 #13 vlada 2011-11-13 06:13
Hello, is there way to open pdf file in new tab?
Thanks
Quote
 
 
0 #12 Romina 2011-11-12 13:32
Quoting Mike burton:
great little lesson and thansk very much.

Is there an easy way to add a couple of lines of text above the pdf? Just something simple like:

Click HERE to download a copy of this file

Thanks
Mike


Hi Mike,

I would just add a download link on the PDF file itself. Here's a tutorial that shows you how to approach that:

http://www.nitropdf.com/help/add_pdf_links.htm

I hope this helps :)

Thanks for commenting this tutorial, Mike. Have a great weekend!


Romina
Quote
 
 
0 #11 Romina 2011-11-12 13:15
Quoting Rohit Agarwal:
Thanks - great tutorial. I got stuck at two places, and a little bit of figuring out made it work finally, so sharing that.
Firstly, in the "options" of Media Manager, you need to include pdf as a file type - else it refuses to upload pdf files.
Secondly, through the cPanel or FTP client like Filezila, you need to chmod the pdf file to 777, else the browser can't read them.
Hope it helps some others.


Hi Rohit,

I'm sorry about the delay on my reply to your comment on this tutorial. Thank you so much for sharing this great information with us. I'm sure everyone appreciates learning those tricks you have taught us as much as I do. I hope you have a lovely day and weekend :)

Romina
Quote
 
 
0 #10 Romina 2011-11-12 13:11
Quoting Robert:
Hello,

Thank you so much for this tutorial! It does exactly what I need it to and has really helped me with developing my first website.

Something strange did happen though and I was wondering if you could advise me?

I am developing my site on a localhost, so I'm afraid I can't show you what is happening but I will do my best to describe it.

Basically, I have two menus - one on top and the corresponding submenus on the left side that show up when a Main Menu item is selected. I have used a wrapper twice for two submenu items and the results have been different each time. The first time was perfect, the pdf showed up on the page and the left submenu was maintained. The second time, the pdf showed up but it took up the entire page! I tried reducing the size of the pdf from the menu options (display width) but the menu is still gone and the pdf is justified left.

Do you have any ideas as to why this might've happened and what I can do to fix it?

Best Regads,

Robert


Hi Robert,

Sorry it took me so long to reply to your comment. I just realized you had asked me this question. Since it has been so long since you asked me this, I was wondering if you realized what the problem was with the way the second PDF file was being displayed on your Joomla website? If you did, would you share how you resoved the problem? Thanks, Robert. I hope you enjoy your weekend :)

Romina
Quote
 
 
+1 #9 Mike burton 2011-11-12 11:45
great little lesson and thansk very much.

Is there an easy way to add a couple of lines of text above the pdf? Just something simple like:

Click HERE to download a copy of this file

Thanks
Mike
Quote
 
 
+1 #8 Rohit Agarwal 2011-07-17 07:15
Thanks - great tutorial. I got stuck at two places, and a little bit of figuring out made it work finally, so sharing that.
Firstly, in the "options" of Media Manager, you need to include pdf as a file type - else it refuses to upload pdf files.
Secondly, through the cPanel or FTP client like Filezila, you need to chmod the pdf file to 777, else the browser can't read them.
Hope it helps some others.
Quote
 
 
+1 #7 Robert 2011-05-16 15:56
Hello,

Thank you so much for this tutorial! It does exactly what I need it to and has really helped me with developing my first website.

Something strange did happen though and I was wondering if you could advise me?

I am developing my site on a localhost, so I'm afraid I can't show you what is happening but I will do my best to describe it.

Basically, I have two menus - one on top and the corresponding submenus on the left side that show up when a Main Menu item is selected. I have used a wrapper twice for two submenu items and the results have been different each time. The first time was perfect, the pdf showed up on the page and the left submenu was maintained. The second time, the pdf showed up but it took up the entire page! I tried reducing the size of the pdf from the menu options (display width) but the menu is still gone and the pdf is justified left.

Do you have any ideas as to why this might've happened and what I can do to fix it?

Best Regads,

Robert
Quote
 
 
0 #6 Romina 2011-05-06 11:57
Quoting Diane:
Thank you for a very helpful tutorial. It worked like a charm - http://pageoneforyou.com/sample-report

Thanks again!


Hi Diane,

I saw you did a great job at inserting the PDF file into your Joomla page. Congratulations !!! I thank you very much for letting me know this tutorial was of some help to you. That is my greatest encouragement to keep on adding more tutorials. I hope you have a great weekend :)


Romina
Quote
 
 
+1 #5 Diane 2011-05-06 08:23
Thank you for a very helpful tutorial. It worked like a charm - http://pageoneforyou.com/sample-report

Thanks again!
Quote
 

Add comment


Security code
Refresh



Review www.rominachirre.com on alexa.com
Take action!