New Issue Version 5.x BaseHostname

  •  11-05-2006, 11:45 PM

    New Issue Version 5.x BaseHostname

    I am attempting to use the basehostname property.  I have it set to  editor.basehref = "http://" & request.servervariables("HTTP_HOST") & "/accounts/" & Session("Username") & "/"

    however when I view the html in the editor it is using the real hostname.
     
    I also have set
    editor.UseRelativeLinks=false
     
    I am atempting to have the end-user edit from one standard instance of Cuteeditor. I have to set the basehref becuase the editor url is different than the final website url.  When the page loads it should load with this base url if the url is not already absolute.  I have to then do a replace upon submission into a DB to store the correct absolute  url.   Most of this is done so that the cute-editor will show the pictures correctly in the editor. 
     
    This was working for me in version 4 so I am not exactly sure what has changed.
     
    Any help would be appreciated.  It is late and hopefully this makes some sense.
     
View Complete Thread