Hi,
I'm trying to fix PTs that generate html from DCRs. The problem is that the PTs have source element hardcoded and it points to staging, but I would like to make the source element relative, now looks something like this:
src="http://staging.monitor.com/Portals/0/MonitorContent/Images/web_images/email_icon.gif"
Bellow is a section one of the images that points to staging, but when I test in development, it doesn't work because it should point to the test web server:
I had to use PHP because the code tags didn't render the code very well.
[PHP]
[/PHP]
how can I fix this problem?
Is there any to create variables on the fly in PTs?
for example if I run from test then set source=$testreviewserver/DE/images...
Any other suggestions?
Thanks in advance