Microsoft Content Management Server - Custom image placeholder

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2004 > Custom image placeholder





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Custom image placeholder
Mike Parris

2004-09-24, 5:49 pm

I am building a custom placeholder that includes a link to a selected channel
and functionality that selects an image. I have inherited some code for the
link to a channel, that pops up a window where the user can select the
channel, but cannot find a way to do the same to select an image.

Code for the channel link is -
"onclick=\"onClickBrowse(document.all.WHEELCMS_ImageUrl_" + phName + ");
return true;\"";

Can anyone help with the equivalent to pop up the image selection window?
Stefan [MSFT]

2004-09-24, 5:49 pm

Hi Mike,

do you want to utilize the standard resource gallery dialogs?
Then have a look here:
http://blogs.msdn.com/stefan_gossne...2/07/41861.aspx

Cheers
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Mike Parris" <MikeParris@discussions.microsoft.com> wrote in message
news:824F4340-6728-4610-9A37-003998ADEC2A@microsoft.com...
> I am building a custom placeholder that includes a link to a selected

channel
> and functionality that selects an image. I have inherited some code for

the
> link to a channel, that pops up a window where the user can select the
> channel, but cannot find a way to do the same to select an image.
>
> Code for the channel link is -
> "onclick=\"onClickBrowse(document.all.WHEELCMS_ImageUrl_" + phName + ");
> return true;\"";
>
> Can anyone help with the equivalent to pop up the image selection window?



Mike Parris

2004-09-25, 2:48 am

Thanks Stefan.
Yes, this was the sort of thing I was looking for. I want to use an
xmlPlaceholder type, so it looks like a big job. I think I will backtrack and
try and use the standard placholder for the image.

Mike

"Stefan [MSFT]" wrote:

> Hi Mike,
>
> do you want to utilize the standard resource gallery dialogs?
> Then have a look here:
> http://blogs.msdn.com/stefan_gossne...2/07/41861.aspx
>
> Cheers
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> MCMS FAQ:
> http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...t+S
erver

> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Mike Parris" <MikeParris@discussions.microsoft.com> wrote in message
> news:824F4340-6728-4610-9A37-003998ADEC2A@microsoft.com...
> channel
> the
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com