Re: Custom HTMLPlaceholder internal links not working
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Re: Custom HTMLPlaceholder internal links not working




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Custom HTMLPlaceholder internal links not working  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-07 12:39 PM

Hi Arjuna,

sounds as if you are not surrounding the URL with double quotes in the
placeholder.
MCMS looks for strings inside double quotes and checks if these are URLs.

Cheers,
Stefan

"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:10EA557D-1CF3-4CC6-940E-A591F9BE358E@microsoft.com...
> Hi,
>
> I have created a custom Placeholder deriving from
> "HtmlPlaceholderControl".
> Normally when you create a link to an internal Posting from the standard
> HtmlPlaceholder, the URL changes appropriately depending if you are on the
> authoring site or the public site.
>
> For example the link might look like the following in the Authoring Site
> http://localhost/NR/exeres/6E99C2ED...tionUnpublished
>
> And the same link will look like the following in the public site
> http://localhost/ABCD/Research/URL+Other.htm
>
> My problem is that this same functionality is not available in the custom
> Placeholder I wrote, which derives from the standard HtmlPlaceholder. If I
> insert some text to this Placeholder through a Posting and link this text
> to
> another Posting then the URL of the link stays constant it does not change
> between the Authoring and Public Site. To further explain if I link this
> text
> to a published Posting then the link will always be something like
> "http://localhost/ABCD/Research/URL+Other.htm" and if I link this text to
> a
> Posting that is not Published then the link will look something like
> "http://localhost/NR/exeres/6E99C2ED-D016-4E5A-8445-7FB9145DCE11.htm?NRMOD
E=Unpublished&wbc_purpose=Basic&WBCMODE=PresentationUnpublished".
> The problem is that when I switch to the live site this link remains as it
> is
> so when an anonymous user clicks on this link that user is taken to a page
> to
> which the user has no access.
>
> So my question is how do I get the functionality that comes as a standard
> in
> the HtmlPlaceholder Control.
>
> Thanks
> Arjuna.
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:08 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

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

Back To The Top
Home | Usercp | Faq | Register