Re: BASE HREF PROBLEM for developer - urgent

  •  02-22-2008, 12:50 PM

    Re: BASE HREF PROBLEM for developer - urgent

    Thank you, I have checked the online demo, and while it appears to work I don't think Yahoo.com is a good example.  Here's why:
     
    Yahoo ALREADY uses absolute URL's, so whether or not we set the BaseHref property it will display the Yahoo graphics.  For example, even when I copy and paste the Yahoo.com source code in THIS editor, it shows the Yahoo graphics.
     
    I've set up a demonstration on my server for you see what I've done and maybe you can help.  Thanks in advance...
     
    - http://www.modifywebsite.com/au3/cute/basetest.php
     
    Here's my code for basetest.php
     
    <?php include_once("CuteEditor_Files/include_CuteEditor.php") ; ?>
    <?php
    $editor=new CuteEditor();
    $editor->ID="Editor1";
    $editor->Text="<b>Type your text here</b>";
    $editor->FilesPath="CuteEditor_Files";
    $ClientID=$editor->ClientID();

    $editor->EditCompleteDocument=true;
    $editor->URLType="Absolute";
    $editor->BaseHref="http://www.prayingforourchildren.com";

    $editor->Draw();
    $editor=null;
    ?>
     
    When I copy and paste the code from the home page of prayingforourchildren.com, it doesn't work.  Try it.
     
    Thanks
     

View Complete Thread