replacing the SingleImagePlaceholder
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
replacing the SingleImagePlaceholder

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Vivek Ayer
Guest





Posted: Fri Jan 07, 2005 4:37 pm    Post subject: replacing the SingleImagePlaceholder Reply with 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
Stefan [MSFT]
Guest





Posted: Fri Jan 07, 2005 5:32 pm    Post subject: Re: replacing the SingleImagePlaceholder Reply with quote

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 Reply with quote

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 Reply with quote

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
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB