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)
Tooltips from DCR
vixneena
Hi,
Currently, the tooltips and images on a page are coming from a javascript file. I need to move all the tooltips and images defined in a DCR and remove from js. I want to know how these will be referred in a page from DCR which were being referred from a js file.
Regards,
Vix
Find more posts tagged with
Comments
Adam Stoller
I'm not sure I understand the question.
Are you saying that you have a SitePublisher Page file that currently gets tooltips and images from a JavaScript file, and that you'd prefer to instead get this information from a DCR?
I'm not sure that even makes sense - perhaps you need to elaborate and include some example of what you're asking.
vixneena
Yes you got it correct.I have a SitePublisher Page file that currently gets tooltips and images from a JavaScript file, and I prefer to instead get this information from a DCR. There is an array of tooltips created in javascript which need to be moved to DCR so that these can be made author driven. Can you please suggest some approaches to do this?
vixneena
Hi ghoti,
Please respond so that i can start working on it.
Adam Stoller
Hi ghoti,
Please respond so that i can start working on it.
If you're waiting for me to tell you how to do your work and you're neither paying me nor I responsible for you - you may be waiting a long time.
I suggest you figure out where / how the javascript is created and used first, then figure out how you're going to retrieve that information from a DCR. I'm assuming (perhaps too much) that you know how to create a DCT to support the data you want to collect.
vixneena
yes i know m not paying you and you are not at all responsible for it. I just wanted to know if someone has faced similar scenario.
Anyways thanks for your response.
nipper
Doing this is pretty easy if you know SP and DCRs.
Create a DCR referencing the images and tooltips.
You will need to remove the JS entry in the XSL for the component and replace it with XSL to generate the tooltips section,
If you do not know SitePublisher or DCRs, then this will be a long process