5102 Posts in 1520 Topics by 1116 members
|Go to End|
11 May 2010 at 1:59pm
Hi to all, i am trying to add HTML capacities (via extend command) as a user wrote a while ago, see below:
How can i force TinyCME to accept scripts like this one?
How to access HTML headers to add the previous line into my home page headers?
11 May 2010 at 10:48pm
No you don't edit that file any more. You need to use the HtmlEditorConfig class. For example put this in your mysite/_config.php file.
Note how script has been added at the start (with the allowed elements type and src). You should now reload the cms and be able to insert scripts with those attributes
12 May 2010 at 12:21am
OK, heres what i did:
- with Dreamweaver via its FTP panel, i downloaded mysite/_config.php file
- i copied the line you suggested just before the closing tags which is ?>
- i uploaded the mysite/_config.php back onto the server
- i relogged myself as admin ***
- copied my script
Still skipping the script line.
*** Is that what you call reload the CMS???? If not, how to?
12 May 2010 at 1:31pm
OK, leave that alone. I succeeded adding the JS into the headers.
Thanks to all.
|Go to Top|