Open Uploaded PDF in New Tab or Window

5 posts by 3 authors in: Forums > CMS Builder
Last Post: March 6, 2009   (RSS)

By ThreeTree - March 6, 2009

I set up an articles page so that pdfs could be uploaded. In FireFox the pdf opens in a new tab as intended when the link is clicked. In IE a new window is not opened and pdf replaces the website page. How do I code in CMS Builder to make new tab/window a consistent result. Client requests new window. This is a multi page.

Re: [ThreeTree] Open Uploaded PDF in New Tab or Window

By flamerz - March 6, 2009

http://www.thefutureoftheweb.com/blog/target-blank-xhtml11

best regards

Re: [flamerz] Open Uploaded PDF in New Tab or Window

By ThreeTree - March 6, 2009

Not clear how how to implement this code. This is the CMS Builder code that I believe that I need to modify. I'm new to PHP.

<?php else: ?>
<a href="<?php echo $upload['urlPath'] ?>"> View Quick Tip </a>

Re: [Dave] Open Uploaded PDF in New Tab or Window

By ThreeTree - March 6, 2009 - edited: March 6, 2009

Thanks! Works just fine.