| Author |
Message |
Vivek Ayer
Guest
|
Posted:
Fri Jan 07, 2005 4:37 pm Post subject:
replacing the SingleImagePlaceholder |
|
|
Hi,
I would like to replace the Singleimageplaceholder
(ImagePlaceholderdefinition) with the radeditorplaceholder
(htmlplaceholderdefinition) in all my templates. Is this
possible without losing data in existing postings?
Vivek |
|
| Back to top |
|
 |
Stefan [MSFT]
Guest
|
Posted:
Fri Jan 07, 2005 5:32 pm Post subject:
Re: replacing the SingleImagePlaceholder |
|
|
Hi Vivek,
you would need to create a new HtmlPlaceholderDefinition in the template and
then run a script that migrates the content from the ImagePlaceholder
objects to the HtmlPlaceholder objects on each posting.
Cheers,
Stefan.
"Vivek Ayer" <v.ayer@cscape.com> wrote in message
news:09e201c4f4a4$e09bb050$a301280a@phx.gbl...
| Quote: | Hi,
I would like to replace the Singleimageplaceholder
(ImagePlaceholderdefinition) with the radeditorplaceholder
(htmlplaceholderdefinition) in all my templates. Is this
possible without losing data in existing postings?
Vivek |
|
|
| Back to top |
|
 |
Vivek Ayer
Guest
|
Posted:
Fri Jan 07, 2005 6:43 pm Post subject:
Re: replacing the SingleImagePlaceholder |
|
|
Thanks Stephen.
Where can I find info on writing a script like that?
| Quote: | -----Original Message-----
Hi Vivek,
you would need to create a new HtmlPlaceholderDefinition
in the template and
then run a script that migrates the content from the
ImagePlaceholder
objects to the HtmlPlaceholder objects on each posting.
Cheers,
Stefan.
"Vivek Ayer" <v.ayer@cscape.com> wrote in message
news:09e201c4f4a4$e09bb050$a301280a@phx.gbl...
Hi,
I would like to replace the Singleimageplaceholder
(ImagePlaceholderdefinition) with the
radeditorplaceholder
(htmlplaceholderdefinition) in all my templates. Is this
possible without losing data in existing postings?
Vivek
.
|
|
|
| Back to top |
|
 |
Stefan [MSFT]
Guest
|
Posted:
Sat Jan 08, 2005 7:37 am Post subject:
Re: replacing the SingleImagePlaceholder |
|
|
Hi Vivek,
in the MCMS documentation you will find all API calls required to achieve
this.
You need to enumerate all ImagePlaceholders in all Postings in all Channels,
read the content from the ImagePlaceholder and then store it in the correct
format in the HtmlPlaceholder object.
To get info about the correct format you should fill one placeholder using
the Telerik control and read it out.
Cheers,
Stefan.
"Vivek Ayer" <anonymous@discussions.microsoft.com> wrote in message
news:0de601c4f4b6$8ee90e80$a401280a@phx.gbl...
| Quote: | Thanks Stephen.
Where can I find info on writing a script like that?
-----Original Message-----
Hi Vivek,
you would need to create a new HtmlPlaceholderDefinition
in the template and
then run a script that migrates the content from the
ImagePlaceholder
objects to the HtmlPlaceholder objects on each posting.
Cheers,
Stefan.
"Vivek Ayer" <v.ayer@cscape.com> wrote in message
news:09e201c4f4a4$e09bb050$a301280a@phx.gbl...
Hi,
I would like to replace the Singleimageplaceholder
(ImagePlaceholderdefinition) with the
radeditorplaceholder
(htmlplaceholderdefinition) in all my templates. Is this
possible without losing data in existing postings?
Vivek
.
|
|
|
| Back to top |
|
 |
|
|
|
|