A few days ago I have installed my first site using CMSMS. All is excellent, but I have met two little but annoying problems. Both of them regard the editing of a page *after* its creation.
1. When re-editing a page where I have inserted the entity &, the entity is silently transformed in a simple &. The consequence is that the page does not validate anymore, unless each time I correct the text before submitting.
2. When re-editing a page that contains a tag, a total disaster follows. Therefore I have to delete the page and to re-create it in order to make any correction.
I have found the workaround of making two user defined tags {amp} and {endtextarea}, defined as "echo '&';" and "echo '';", but I think that in the first case there is a little bug should be corrected, in the second a mechanism should be coded that automatically (albeit not transparently) does some transformation in the code inserted.
Anyway: congratulations to the authors for this excellent program!
Two problems (and two hacks)
Re: Two problems (and two hacks)
are you putting these directly into the edit 'box' or are you cliking the source button and putting them in that 'window'?
-
gsalmeri
Re: Two problems (and two hacks)
Sorry, I'm afraid I don't understand. When in the Admin panel I am in listcontent.php, I click on the edit icon (that calls editcontent.php), then I edit the "Content" textarea. Is there another way to edit a page?mark wrote: are you putting these directly into the edit 'box' or are you cliking the source button and putting them in that 'window'?
-
gsalmeri
Re: Two problems (and two hacks)
In case it helps: CMS Made Simple 0.13, PHP 4.3.10, MySQL 4.0.25-standard, Apache 1.3.34 (Unix) running on Linux.gsalmeri wrote: A few days ago I have installed my first site using CMSMS. All is excellent, but I have met two little but annoying problems. Both of them regard the editing of a page *after* its creation.
Sorry for not saying that before.
Re: Two problems (and two hacks)
when in the Content » Pages » Edit Page: yourpage, you have a content edit 'box'/textarea with a tool bar across the top, some things need to go in the source so they dont get changed by the editor, in the upper left corner there is a 'Source' button clik that and you will see the HTML version of the content things like that, this is useful for adding module tags and such so they don't end up with {moduletag} or some other formatting :.
what is the for?
what is the for?
-
gsalmeri
Re: Two problems (and two hacks)
Thank you very much for your hint, I think I have undestood exactly my problem. Normally I use Opera, which is not compatible with FCKeditor, so I didn't even see the toolbar... No problem for me, since I don't want a wysiwyg editor (I have always coded HTM by hand). BUT after some experiments I have discovered that the problem with the ampersand arise only when in Opera (or perhaps in any browser that isn't supported by FCKeditor) FCKeditor is not actually disabled (in User Prefs). I don't know if this could be called a bug, but perhaps a remark in the documentation should be useful.mark wrote: when in the Content » Pages » Edit Page: yourpage, you have a content edit 'box'/textarea with a tool bar across the top
Now I will investigate the problem...
-
gsalmeri
Re: Two problems (and two hacks)
Also the issue with is addressed by explicitely disabling FCKeditor. Now all is OK. Thank again for the hint.

