General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 19th, 2002, 07:55 AM
nousey nousey is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 9 nousey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Problems with WYSIWYG html editor

This post is in connection with the article on the WYSIWYG
HTML editor.
We used the article and created an editor which our company buildt into a website to allow our clients to update their own content.
We have, however come across a fundamental problem with this editor, and I was hoping somebody could shed some light on the problem, or possibly steer me in the direction of somebody who could help. When we begin a new development, we usually create a temporary site, the URL of which is totally different to the one it will later be moved to.
If we have a page which contains images, and the editor can't "see" the image because the current path (from the administration side) is incorrect, the
editor automatically creates the path in the HTML code. Is there a way to prevent this from happening at all? and if so, how?

Last edited by nousey : August 20th, 2002 at 02:31 AM.

Reply With Quote
  #2  
Old August 19th, 2002, 08:04 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Firstly, only post the question once, it just means i have to delete one!

ok, now for your problem, if your using php, you can use $_SERVER[''] vars

check out this page

URL

i think something like this might help

echo $_SERVER['SCRIPT_FILENAME'];

i could be wrong tho, just keep on trying

Reply With Quote
  #3  
Old August 19th, 2002, 08:10 AM
nousey nousey is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 9 nousey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The problem really doesn't seem to be on the PHP side...it is with the editor itself. For example, it automatically does stuff, like if you type in an e-mail address it automatically links it, etc ...which is not a problem on its own...but when it starts completing paths for images it creates problems.

Last edited by nousey : August 20th, 2002 at 02:33 AM.

Reply With Quote
  #4  
Old August 19th, 2002, 07:16 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
can you post the code thats giving you trouble?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Problems with WYSIWYG html editor


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway