Configuring LInks Dropdown to hide url in links

Last post 06-22-2005, 12:59 PM by Ahmun. 3 replies.
Sort Posts: Previous Next
  •  06-21-2005, 12:05 PM 7829

    Configuring LInks Dropdown to hide url in links

    I am trying to customize the links dropdown with internal site links in a CMS.
     
    I noticed from the Developer's Guide that the syntax to add a link to the list is:
    dropdown.Items.Add("Mail to us","support@CuteSoft.Net");
    dropdown.Items.Add("Yahoo.com","http://www.yahoo.com/");
     I was wondering if there is a way to hide the "http :// www.yahoo.com" and simply say "Yahoo" just like if you highlighted "yahoo" and added a link.

    My goal is to allow the user, when editing in Normal mode, to select from the link dropdown, the name of a page (i.e. News) and only the name of the page shows up in the editor, but has the anchor tag set up in the html.

    Any tips on how to implement this?
     
  •  06-21-2005, 4:36 PM 7855 in reply to 7829

    Re: Configuring LInks Dropdown to hide url in links

    Ahmun,
     
    When you add a link, you should select/highlight  some text, then select from the link dropdown. The link will be yahoo.
     
    If you forget select the text, the CuteEditor will automatically use the link URL as the link text. The link will become http://www.yahoo.com/.
     
    If you just want to insert some links into the CuteEditor and don't need to your end users select any text at all, you should consider use the Code Snippet dropdown instead of the link dropdown.
     
    Hope it helps.
     
    Keep me posted.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  06-21-2005, 5:04 PM 7859 in reply to 7855

    Betreft: Re: Configuring LInks Dropdown to hide url in links

    If you could change this to what the original poster asked for you would make me very happy  and I will send you
  •  06-22-2005, 12:59 PM 7910 in reply to 7855

    Re: Configuring LInks Dropdown to hide url in links

    Thank you for your response.  It wasn't obvious to me that highlighting the link will allow you to add the anchor tag behind.  But that is actually a better solution than code as it give the user the option.  I will train the client on that functionality of Cute Editor...
View as RSS news feed in XML