Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Page Publisher:
target=blank

 

 


nmnn
New User

Nov 5, 2006, 11:42 AM

Post #1 of 3 (1739 views)
Shortcut
target=blank Can't Post

I have added:

<!-- publish type="file_select" allowupload="yes" uploaddir="" allowremove="yes" name="File Upload/Selection"--><!-- --><!-- /publish -->

Once they have uploaded the file I would like the link to open in a seperate "blank" window.

How can I do this??


ross
Staff / Moderator


Nov 16, 2006, 3:29 PM

Post #2 of 3 (1671 views)
Shortcut
Re: [nmnn] target=blank [In reply to] Can't Post

Hi there.

Thanks for posting and welcome to the board!

When you are adding PML tags to your pages like this, Page Publisher will actually still honor any attributes you have in your HTML tags so what you would want to do is put a dummy link tag between your publish tags like this:


Code
<!-- publish type="file_select" allowupload="yes" uploaddir="" allowremove="yes" name="File Upload/Selection"--> 
<a href="#" target="blank"></a>
<!-- /publish -->


And that should get you going. Give this a shot and let me know how you make out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



(This post was edited by ross on Nov 16, 2006, 3:30 PM)


nmnn
New User

Nov 17, 2006, 6:36 AM

Post #3 of 3 (1660 views)
Shortcut
Re: [ross] target=blank [In reply to] Can't Post

Perfect that is exactly what I wanted to know!!