Archived CMSimple Support Forum

The Old CMSimple User Community
It is currently Mon Sep 06, 2010 11:56 am

This archived CMSimple Support Forum will be locked primo June 2008. Users with a commercial licence are advised to register and use the new Official Support Forum at CMSimple.com instead. A community driven forum with free registration is found at cmsimpleforum.com.

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Can I turn off the fancy editor?
PostPosted: Tue Oct 21, 2003 8:48 pm 
Offline

Joined: Tue Oct 21, 2003 6:06 pm
Posts: 38
I'm playing with CMSimple 2.1. Very nice. The editor works very nicely on Mac Mozilla, but not on my browser of choice, Safari. No surprise there, the documentation is quite explicit about what kind of browser is required.

My question: For simple editing, I don't mind going through the html, so is there a way I can disable the fancy editor and just edit pages using a simple textarea field, like the Stylesheet and Template editors allow? Best of all would be a way for the fancy editor to automatically show with the approved browsers (mozillia mac/windows, and IE windows, I guess) and with any other browser just automatically show a textarea?

Is this possible? And do the changes for v2.2 affect this situation one way or the other? Thanks. -Steve


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 22, 2003 7:01 am 
Hi Stevie!

The existing editor allready works in a lot of browsers. Unfortunately not in Safari. But it seems that with the new editor in the actual beta version the choice will be more restrictiv than now.

I asked Peter to rethink if it will not be better to integrate an editor wich is the most compatible with actual (open source) browsers. And I HOPE REALLY that he will not close the door in CMSimple for the "Non-M$-World"!!!?

John


Top
  
 
 Post subject:
PostPosted: Wed Oct 22, 2003 8:48 am 
Offline
Site Admin

Joined: Mon May 12, 2003 12:36 pm
Posts: 3091
Location: Rutsker, Bornholm, Denmark
Replace the part just after // EDITOR CALL in cms.php with this:

Code:
if($edit&&(!$f||$f=='save')&&!$download){if($s<0&&$ss<count($c))$s=$ss;if($s>-1){$su=$u[$s];
$o.='<form method="post" style="margin:0" id="ta" action="'.$sn.'"><input type="hidden" name="selected" value="'.$u[$s].'"><input type="hidden" name="function" value="save"><textarea name="text" id="text">'.$c[$s].'</textarea><input type="submit"></form>';
}else $o='<p>'.$tx['error']['cntlocateheading'].'</p>';}


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2004 7:59 am 
Offline

Joined: Fri Dec 05, 2003 9:28 am
Posts: 46
Thank you, that was very helpful.

Unfortunately, Firefox 0.8, my daily browser, crashes spectacularly with the built-in editor, so until the Firefox team fixes the bug, I'm better off with it commented out.

Has any integated HTML Area with CMSimple, and if so do they have any idea if Firefox does better with it?

Thanks,
Tim


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group