relative vs absolute under DNN3.x

Last post 06-23-2006, 4:59 PM by ludis. 2 replies.
Sort Posts: Previous Next
  •  06-21-2006, 2:04 PM 20369

    relative vs absolute under DNN3.x

    Using DNNs email newsletter capability, I need to send out absolute urls for both images as well as links. I have looked at the following post (http://www.cutesoft.net/forums/4307/ShowPost.aspx) but got the strange code seen below ...this is actual email source from thunderbird...don't know why it did "base href" when I typed the link http://xxx.sss.sss/whatever/img.jpg in the html view.

    I see that there is UseRelativeLinks = "true" web.config setting that I could change to false, but I am not sure its a good idea to have a site full of hard links, even under a CMS...

    Can I have relative urls set globally and decide when to use absolute? Please note I tried the link above that touches that subject but I did not get working results (the img was broken) ...could there be a property checkbox for images & links that 'force' an ABSOLUTE, regardless of your global settings?


    ------=_NextPart_000_0041_01C69537.AE41DE10
    Content-Type: text/html;
    charset="utf-8"
    Content-Transfer-Encoding: 7bit

    Dear TJ,<br><br><Base Href='zzz.zzz.edu'>This is a test <img src="/Providers/
    HtmlEditorProviders/CEHtmlEditorProvider/CuteSoft_Client/CuteEditor/images/face8.gif"
    align="absmiddle" border="0"><br>
    ------=_NextPart_000_0041_01C69537.AE41DE10--



  •  06-21-2006, 9:47 PM 20375 in reply to 20369

    Re: relative vs absolute under DNN3.x

    Ludis,
     
    Please set RemoveServerNamesFromUrl="false" as well.
     
     
     

     

    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-23-2006, 4:59 PM 20441 in reply to 20375

    Re: relative vs absolute under DNN3.x

    Works great, thanks...

    Luis

View as RSS news feed in XML