Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Dynmically calling VF config
System
We have an infrastructure set up in TeamSite so that the DCT is dynamically put together when called. This allows for resuse of fields when possible and short DCT configurations.
Let's say you have 2 sites, each in its own branch. Each branch has its own css which is exactly the same except for the color palette (e.g. in Site_A the header is blue and in Site_B the header is red). Is there a way to use the same textarea item for both branches and configure the VF tool to accommodate the different color palettes with 2 different css?
In other words, could the VF_config.xml for the textarea of the DCT be determined depending on the branch? Or would you have to create two separate templates where each template was pointing to its own VF_config.xml ?
What we're hoping to avoid is having to recreate essentially the same template just to call a different VF_config.xml for a different color heading.
The version of TeamSite is 6.1
Thanks.
Find more posts tagged with
Comments
brandon1
Cross posting will not get a question answered any faster. Please refrain from this.
Current Project: TS 6.1
Environment: Windows
Migrateduser
Please don't cross-post
Environments:
(1,2) TS6.5, TS6.5SP1 on W2K3
(3) Vignette V7 Portal on Solaris 9
Migrateduser
Sorry. didn't see the other forum and couldn't delete. Not intentional.
Tbag
I've never tried it, but it seems like if you set the external-editor-config value in your DCT to be a URL instead of a hardcoded XML path, you can get what you're looking for.
Refer to page #52 of the tst.vf.600.dev.pdf (VF developer's guide), and then refer to page #45 of the tst.650a.dg.pdf (TS Templating guide) for the textarea attributes (which, I know, doesn't say anything about URLs).
You could run a simple CGI off TeamSite's Apache server to accomplish what you're talking about, I think. Let us know how it goes, if you don't mind...
Tom