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)
How to change a text in the generated pages
infyniti
I have a specific text in templates, dcr's, javascripts and html files, which I want to modify it. Is there a feature in teamsite where i can do this.
ex : changing http to https
I can change the text in templates and re-generate it again, but how do i do for the files which are not created using templates or dcr's.
Is there a command line tool to do it.
Any suggestions would be greatly appreciated.
Thanks in advance.
Find more posts tagged with
Comments
Adam Stoller
I do not believe there is any built-in function or GUI access to any function to perform content modifications like that.
If you're comfortable with scripting - TS comes with iwperl - and perl was generally made for doing exactly what you want -- but it requires some programming logic on your part to define exactly what you want it to do and on what files to do it (or not to do it), etc.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
infyniti
Thanks very much Fish.
Looks like this is the most common functionality, probably some one on this board must have already written or discussed about this earlier. Instead of re-inventing the wheel, can any one pass across the code snippets which I can leverage for my scripts.
Regards,