 |
|
 |
|
|
 |
ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 01:47 AM
Hi all,
I've a Template with an ImagePlaceholder.
When I create a Posting based on that template, and I select an image from
resource gallery.... if then I delete the resource from the gallery (using
resource manager or site manager), the posting still correctly shows the
image.
So, the question is:
how is this possible?
I've another Template with a custom placeholder (based on xmlplaceholder),
that stores in the xml the "Cms Guid" of resources (selected from the
resource gallery)... and so, it shows the resources in presentation mode
(like an images gallery).
In this case, if I delete the resources using resource manager (or site
manager), obviously I cannot render them (because I refer to the resource
using its Guid).
How can I implement a behavior like the ImagePlaceholder one (but also
AttachmentPlaceholder, HtmlPlaceholder when text links to resources...)?
Thank you so much.
Bye
--
Stefano Giannone
MCP .NET
http://www.giasoft.it
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 01:47 AM
Hi Stefano,
the item is still in the database - only marked as deleted.
As long as you try to browse the posting as an MCMS administrator you will
see the item. But as a subscriber you will not see it.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Stefano" <stefano_REMOVETHIS@giasoft.it> wrote in message
news:ekJD9jHMFHA.1172@TK2MSFTNGP12.phx.gbl...
> Hi all,
>
> I've a Template with an ImagePlaceholder.
>
> When I create a Posting based on that template, and I select an image from
> resource gallery.... if then I delete the resource from the gallery (using
> resource manager or site manager), the posting still correctly shows the
> image.
>
> So, the question is:
> how is this possible?
>
> I've another Template with a custom placeholder (based on xmlplaceholder),
> that stores in the xml the "Cms Guid" of resources (selected from the
> resource gallery)... and so, it shows the resources in presentation mode
> (like an images gallery).
>
> In this case, if I delete the resources using resource manager (or site
> manager), obviously I cannot render them (because I refer to the resource
> using its Guid).
>
> How can I implement a behavior like the ImagePlaceholder one (but also
> AttachmentPlaceholder, HtmlPlaceholder when text links to resources...)?
>
> Thank you so much.
>
> Bye
> --
> Stefano Giannone
> MCP .NET
> http://www.giasoft.it
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 01:47 AM
Hi Stefan,
where can I found documentation about this?
I need to deepen this argument.
Thank you so much.
Bye
--
Stefano Giannone
MCP .NET
http://www.giasoft.it
"Stefan [MSFT]" <stefang@online.microsoft.com> ha scritto nel messaggio
news:O0hjqzHMFHA.576@TK2MSFTNGP15.phx.gbl...
> Hi Stefano,
>
> the item is still in the database - only marked as deleted.
> As long as you try to browse the posting as an MCMS administrator you will
> see the item. But as a subscriber you will not see it.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Stefano" <stefano_REMOVETHIS@giasoft.it> wrote in message
> news:ekJD9jHMFHA.1172@TK2MSFTNGP12.phx.gbl...
from[vbcol=seagreen]
(using[vbcol=seagreen]
xmlplaceholder),[vbcol=seagreen]
resource[vbcol=seagreen]
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 01:47 AM
Hi Stefan,
thanks a lot for the links.
If there is no way to understand if the resource is used in postings...
...so, the moral for a resource manager is: "Never delete a non-well-known
resource from the resource gallery. It could be used...! "
Is it right?
Thanks again.
Bye
--
Stefano Giannone
MCP .NET
http://www.giasoft.it
"Stefan [MSFT]" <stefang@online.microsoft.com> ha scritto nel messaggio
news:exdaE%23HMFHA.2648@TK2MSFTNGP14.phx.gbl...
> Hi Stefano,
>
> see the following articles:
>
> http://blogs.msdn.com/stefan_gossne.../23/378718.aspx
>
> http://blogs.msdn.com/stefan_gossne.../07/175298.aspx
>
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/ur
l](complete)+FAQ.htm#53EB2F9B-E87E-442C-8D69-B2B0B783EBB8
>
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Stefano" <stefano_REMOVETHIS@giasoft.it> wrote in message
> news:un4Dv4HMFHA.3708@TK2MSFTNGP14.phx.gbl...
> will
> rights
image[vbcol=seagreen]
> the
the[vbcol=seagreen]
> mode
> site
also[vbcol=seagreen]
> resources...)?
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 01:47 AM
Stefan,
another question... resources are linked to "resource gallery", so it is
possible to evaluate the rights and authorization.
What about "local resources"? I mean... the resources directly uploaded to
the server, when needed (so, not included in resource galleries).
Are "local resources" directly linked to the posting? How are they stored
internally?
And.. last... how can I create my own custom placeholder that allows the use
of "local resources"?
Thank you so much
Bye
--
Stefano Giannone
MCP .NET
http://www.giasoft.it
"Stefan [MSFT]" <stefang@online.microsoft.com> ha scritto nel messaggio
news:exdaE%23HMFHA.2648@TK2MSFTNGP14.phx.gbl...
> Hi Stefano,
>
> see the following articles:
>
> http://blogs.msdn.com/stefan_gossne.../23/378718.aspx
>
> http://blogs.msdn.com/stefan_gossne.../07/175298.aspx
>
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/ur
l](complete)+FAQ.htm#53EB2F9B-E87E-442C-8D69-B2B0B783EBB8
>
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Stefano" <stefano_REMOVETHIS@giasoft.it> wrote in message
> news:un4Dv4HMFHA.3708@TK2MSFTNGP14.phx.gbl...
> will
> rights
image[vbcol=seagreen]
> the
the[vbcol=seagreen]
> mode
> site
also[vbcol=seagreen]
> resources...)?
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 01:47 AM
Hi Stefano,
not completly. Here is a tool to check if the resource is used:
http://www.gotdotnet.com/Community/...f2-bf283edb9159
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Stefano" <stefano_REMOVETHIS@giasoft.it> wrote in message
news:OGi2BsIMFHA.1096@tk2msftngp13.phx.gbl...
> Hi Stefan,
>
> thanks a lot for the links.
>
> If there is no way to understand if the resource is used in postings...
> ...so, the moral for a resource manager is: "Never delete a non-well-known
> resource from the resource gallery. It could be used...! "
>
> Is it right?
>
> Thanks again.
>
> Bye
> --
> Stefano Giannone
> MCP .NET
> http://www.giasoft.it
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> ha scritto nel messaggi
o
> news:exdaE%23HMFHA.2648@TK2MSFTNGP14.phx.gbl...
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/ur
l](complete)+FAQ.htm#53EB2F9B-E87E-442C-8D69-B2B0B783EBB8
rights[vbcol=seagreen]
messaggio[vbcol=seagreen]
you[vbcol=seagreen]
> image
gallery[vbcol=seagreen]
shows[vbcol=seagreen]
> the
presentation[vbcol=seagreen]
> also
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 01:47 AM
Hi Stefano,
all resources are stored similar. The difference is that the resource
gallery items have a reference to the resource gallery while the local
attachments do not.
Here is the information about how to use the dialogs in your placeholder
controls:
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
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Stefano" <stefano_REMOVETHIS@giasoft.it> wrote in message
news:eMPXNwIMFHA.2468@tk2msftngp13.phx.gbl...
> Stefan,
>
> another question... resources are linked to "resource gallery", so it is
> possible to evaluate the rights and authorization.
>
> What about "local resources"? I mean... the resources directly uploaded to
> the server, when needed (so, not included in resource galleries).
>
> Are "local resources" directly linked to the posting? How are they stored
> internally?
>
> And.. last... how can I create my own custom placeholder that allows the
use
> of "local resources"?
>
> Thank you so much
>
> Bye
> --
> Stefano Giannone
> MCP .NET
> http://www.giasoft.it
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> ha scritto nel messaggi
o
> news:exdaE%23HMFHA.2648@TK2MSFTNGP14.phx.gbl...
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/ur
l](complete)+FAQ.htm#53EB2F9B-E87E-442C-8D69-B2B0B783EBB8
rights[vbcol=seagreen]
messaggio[vbcol=seagreen]
you[vbcol=seagreen]
> image
gallery[vbcol=seagreen]
shows[vbcol=seagreen]
> the
presentation[vbcol=seagreen]
> also
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 07:47 AM
Hi Stefan,
it could be a solution. Maybe you're using "AuthenticateAsCurrentUser"
method to authenticate against MCMS... right?
If so, the client that run this tool has to be logged as a MCMS account
(with privileges to enumerate resources). Right?
Can you provide me the source code of that tool? I could try to customize it
to better satisfy my needs.
Thanks!
Bye
--
Stefano Giannone
MCP .NET
http://www.giasoft.it
"Stefan [MSFT]" <stefang@online.microsoft.com> ha scritto nel messaggio
news:%23qH3n4IMFHA.2988@TK2MSFTNGP14.phx.gbl...
> Hi Stefano,
>
> not completly. Here is a tool to check if the resource is used:
>
http://www.gotdotnet.com/Community/...r />
83edb9159
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Stefano" <stefano_REMOVETHIS@giasoft.it> wrote in message
> news:OGi2BsIMFHA.1096@tk2msftngp13.phx.gbl...
non-well-known[vbcol=seagreen]
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/ur
l](complete)+FAQ.htm#53EB2F9B-E87E-442C-8D69-B2B0B783EBB8
> rights
> messaggio
> you
no[vbcol=seagreen]
> gallery
> shows
from[vbcol=seagreen]
> presentation
(or[vbcol=seagreen]
(but[vbcol=seagreen]
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: ImagePlaceholder and Image deleted from resource gallery |
 |
 |
|
|
03-25-05 12:47 PM
Stefan,
how does this tool determine when a resource is used?
Can you specify me the cases, please? (for example, when the resource is
linked in htmlplaceholder, xmlplaceholder, etc. etc.)
Thank you so much!
Bye
--
Stefano Giannone
MCP .NET
http://www.giasoft.it
"Stefan [MSFT]" <stefang@online.microsoft.com> ha scritto nel messaggio
news:%23qH3n4IMFHA.2988@TK2MSFTNGP14.phx.gbl...
> Hi Stefano,
>
> not completly. Here is a tool to check if the resource is used:
>
http://www.gotdotnet.com/Community/...r />
83edb9159
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Stefano" <stefano_REMOVETHIS@giasoft.it> wrote in message
> news:OGi2BsIMFHA.1096@tk2msftngp13.phx.gbl...
non-well-known[vbcol=seagreen]
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/ur
l](complete)+FAQ.htm#53EB2F9B-E87E-442C-8D69-B2B0B783EBB8
> rights
> messaggio
> you
no[vbcol=seagreen]
> gallery
> shows
from[vbcol=seagreen]
> presentation
(or[vbcol=seagreen]
(but[vbcol=seagreen]
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 04:42 AM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|