TS 6.5Solaris 8Is it possible to use the same tpl for multiple datatypes. I'd rather not have to copy the tpl into all of the different datatype folders.What would the templating.cfg look like for this?Thanks!
Hi Bturns, I don't hope there is a way to write a TPL for multiple datatypes. But I would suggest you do this :: Write an XML file and include the items in it from all the datatypes. Now write a perl script to parse the XML file, and do what you require in the tpl.thank you,cheers,sureshmTS6.5, Win2k
Is it possible to use the same tpl for multiple datatypes. I'd rather not have to copy the tpl into all of the different datatype folders.
We're having a highly similar situation over here. We have the same datatype (that represents regular, static pages) under different categories (that represent the main areas of the website)... E.g. we have the type "static_standard" under category "aboutus" and also under "skills" and under "info"... That's because our end users like to approach templates the same way as the website is structured.The dct is copied into each datatype folder under templatedata (aboutus/static_standard/datacapture.cfg == info//static_standard/datacapture.cfg)The tpl is different... it does an explicit reference to the "master tpl", like this: [HTML][/HTML]Well, maybe someone will come along saying that's not the smartest thing... but it's what we have ;-)Never actually tried whether symlinks for DCT and TPL would be allowed. I don't think you can at all fix this via templating.cfg, but let me know if I'm wrong -F.