Open Uploaded PDF in New Tab or Window

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

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: [ThreeTree] Open Uploaded PDF in New Tab or Window

By Dave - March 6, 2009

Try doing it the old-school html way:

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

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

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

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

Thanks! Works just fine.