Gossamer Forum
Home : Products : Others : Fileman :

problem with html-editing (doctypes,includes)

Quote Reply
problem with html-editing (doctypes,includes)
first of all the "fileman" is really good!!!

problem php-site:

<? include "/httpd/head.htm"; ?>

<body>......</body></html>

result of html-editing-view:

<html>
<BODY ><? include ".........

the same problem with "doctypes":

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>...

how can i solve the problem?
Quote Reply
Re: [alibaba] problem with html-editing (doctypes,includes) In reply to
the whole purpose of the wysiwyg (html) editor is that it's for people who don't know html...

use the text editor...
Quote Reply
Re: [axe] problem with html-editing (doctypes,includes) In reply to
that is right...

is it possible to switch first to txt-mode (without using cokkies)?

thanks

Last edited by:

alibaba: Dec 17, 2002, 11:06 AM
Quote Reply
Re: [alibaba] problem with html-editing (doctypes,includes) In reply to
Just change the cmd_edit subroutine within Commands.pm a little bit:

.......
if ( $browser and ((lc($ext) eq 'html') or (lc($ext) eq 'htm')) and !defined $use_html and !$self->{in}->cookie('editor_mode') ) { #should show HTML mode
$use_html = 0;
}
.....

TheStone.

B.
Quote Reply
Re: [TheStone] problem with html-editing (doctypes,includes) In reply to
cool!!!Cool

it works now!!

thanks