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)
Multiple instances of Visual formatter in teamsite.
kundandwivedi
Can we have multiple instances of visualformat editor in teamsite to fulfill a requirement where in we need to have two textareas having different visual format editor with different configurations.
As far as i know, we have a common config file which is visualformatconfig.xml through which we can customize visualformat. But if we do that, it applies to both the textareas.
I tried creating a copy of that config file and mapping that with one of the testareas but its not working.. visual format doesnot appear for that copy.
There might be some more files which need to be changed. Please help me in knowing those files or if you can suggest some other ways to resolve my problem.
Thanks in advance.
Find more posts tagged with
Comments
abiondo
Yes - we are doing this now. In the DCT you set the External Editor Config property. [html]
Paragraph
Paragraph <font color=red>external-editor-config="selecthealthofsc.xml"</font> /> </item> [/html] You can copy the original file from <b><iw home>httpdiwvisualformatconfig.xml</b> and rename to whatever you want. hope this helps, Anthony</b> and rename to whatever you want. hope this helps, Anthony
abiondo
Sory about the previous post. I forgot to wrap the code. We did the same thing you are trying to accomplish.
Put something similar in your DCT. Modify the external-editor-config parameter to your file.
[PHP]
Paragraph
Paragraph
[/PHP]
Copy the original file located at: :\httpd\iw\visualformatconfig.xml
Rename it to another like we did
Make changes to the configuration
Save and test.
hope this helps,
Anthony
kundandwivedi
Thanks a lot abiondo!!! its working.