Home
TeamSite
TeamSite, LiveSite and OpenDeploy
relative paths and TST
Andy Knipp
OK, I need to change TPL that was generating absolute paths (portal does not like it) so I need
to go to relative paths
Haven't seen anything in the tech library, so this is what I am thinking:
in the TPL, a perl script that parses the DCR path (DCR and generated HTML are supposed to be in the
same heirarchy) blah/templatedata/cat/type/data/path/DCR, for each level in path, $rel_path="../" and
then prepend this to the all the css, js, images, etc.
Is there an easier way ? Can I get the file name and path of the generated HTML in the TPL ?
TIA
Andy
Find more posts tagged with
Comments
There are no comments yet