#1269 Branches can't find icons for wywiwyg editor.

N/A-1
closed-fixed
Darren Greene
5
2004-05-20
2004-05-20
Ian Dall
No

Php version: php-4.2.2
Web Server: Apache 2.0
Operating System: Linux 2.4.20
SQL Server: mysql-3.23.58
Browser: Galeon 1.3.14
PhpWebSite Version: 0.9.3-3

"wywiswyg" can't find the icons when used in a branch.
This is because phpws_text::imageTag adds "http://" to
the front of the path. So that
"images/javascript/wysiwyg/break.gif" becomes
"http://images/javascript/wysiwyg/break.gif", which in
most cases won't exist. The solution is to add
PHPWS_SOURCE_HTTP to
the front, as used to be the case in version 0.9.3-2.

Discussion

  • Darren Greene
    Darren Greene
    2004-05-20

    • status: open --> closed-fixed
     
  • Darren Greene
    Darren Greene
    2004-05-20

    Logged In: YES
    user_id=783140

    This has now been fixed in CVS. The wysiwyg.php file was
    modified and also the branch module needed to be modified
    since the wysiwyg images were not being copied to the branch
    site.

    Thanks for submitting this bug,
    Darren

     
  • Darren Greene
    Darren Greene
    2004-05-20

    • assigned_to: nobody --> dg49379
     
  • Hilmar
    Hilmar
    2004-05-22

    Logged In: YES
    user_id=957487

    please have a look to #957893. From my experience it should
    be used PHPWS_HOME_HTTP (instead of
    PHPWS_SOURCE_HTTP); HOME works with the hub and
    branches, SOURCE only with the hub.
    Hilmar