Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
sample of redirecting PT to another server ?
nipper
I am about to start hacking a PT that will generate some app server code & then spawn the "preview" redirected to another server.
I was hoping someone had some sample code for this, it must be a common occurance, but I could not see anything in the archives or in the library that would help.
Andy
Find more posts tagged with
Comments
LooseCannon
Not sure if this is what you're looking for, but...
When my users preview a certain .tpl a process runs that creates a file in a different dir and I redirect them to that file w/javascript.
nipper
Yes, that is what I am doing, the attachment you sent just had 1 function only iwpt_output()
Can you resend ?
LooseCannon
I'll try it this way then ...
iwpt_output("<script language=\"javascript\">location.replace('$redirect_url')</script>");