Linking to a pointer
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 > Linking to a pointer




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

    Linking to a pointer  
Chandy


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


 
08-08-05 10:52 PM

Hi all,

I need to be able to insert links to a nonsense string using the
htmlplaceholdercontrol but I doesn't seem to let me, is there any way
around it?  I try and create a link like follows <a
href="[Link]"><[Link]</a> so that I can later substitute [Link] 
for a
value at render time but the href="[Link]" becomes
href="/path/to/mcmstemplatefolder/[Link]" instead.  The link text is
not effected.

This is using the Telerik RadEditor for MCMS (2.1.2) but I beleive the
behaviour is CMS specific.

Any ideas?

Chandy






[ Post a follow-up to this message ]



    Re: Linking to a pointer  
Shawn


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


 
08-08-05 10:52 PM

MCMS does try to validate the link if it thinks that the destination is
within the MCMS repository.  I would try one of two things: 1) make
your arbitrary tag look nothing like a link (e.g. [MYLINK] instead of
<a href="[LINK]">; this way your avoid validation or 2) create a custom
placeholder that more appropriate deals with your tag.  In fact, the
second approach may be better long term, since you can deal with
rendering the appropriate link within the placeholder, instead of
having to add a bunch of code within the template's code behind.

Shawn






[ Post a follow-up to this message ]



    Re: Linking to a pointer  
Stefan [MSFT]


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


 
08-08-05 10:52 PM

Hi Chandy,

I would suggest to escape the whole anchor tag:

~LT~A href="[Link]"~GT~[Link]~LT~/a~GT~

Then replace ~LT~ with < and ~GT~ with > on render time together with the
link.

Cheers,
Stefan

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

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Chandy" <chandy@totalise.co.uk> wrote in message
news:1123505704.039405.226640@g43g2000cwa.googlegroups.com...
> Hi all,
>
> I need to be able to insert links to a nonsense string using the
> htmlplaceholdercontrol but I doesn't seem to let me, is there any way
> around it?  I try and create a link like follows <a
> href="[Link]"><[Link]</a> so that I can later substitute [Link
] for a
> value at render time but the href="[Link]" becomes
> href="/path/to/mcmstemplatefolder/[Link]" instead.  The link text is
> not effected.
>
> This is using the Telerik RadEditor for MCMS (2.1.2) but I beleive the
> behaviour is CMS specific.
>
> Any ideas?
>
> Chandy
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:22 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