Page 1 of 1

edit templates with wysiwyg editor?

Posted: Thu Jan 11, 2007 2:10 pm
by jolly_roger
hi all, this is my first post.

i've successfully installed cmsms ver. 1.0.2, and the tinymce wysiwyg editor module.
Now i can edit the content page by the tinymce editor, but why i can't do it the same for the templates?!?!

i can only edit the raw html, also if i change to fckeditorX editor!

have i any installation problem?

many thanks in advance

Jolly Roger

Re: edit templates with wysiwyg editor?

Posted: Thu Jan 11, 2007 2:47 pm
by jmcgin51
what you are seeing is normal.  At this time, templates can only be edited in HTML view.  There is no WYSIWYG editing for templates (yet).

Re: edit templates with wysiwyg editor?

Posted: Thu Jan 11, 2007 3:02 pm
by cyberman
It's possible with a little source change :) ... but's not really useful.

Open admin/edittemplate.php with your favourite editor and go to line 242. There you will found something like this:
Change it to
Do the same with line 247 and save file/copy to server.

For that you need another editor like EditArea (looks like a real source editor).

http://dev.cmsmadesimple.org/projects/editarea/

But currently this one is not released yet. And SVN version does not works really good  :( ...