Silverstripe, TinyMCE and complex HTML

If you’re using Silverstripe and you’re an experienced web developer you’ll notice, at some point, that there are some objects you can’t add into the HTML window of the editor. It’s not Silverstripe causing this, it’s TinyMCE. There are a list of snippets you are allowed to add and anything else will be removed. It’s easy to fix this, since I know you want to. I have discovered two methods. The first I found searching the web, must be for an earlier version of Silverstripe cause the file location and name didn’t match my install.

Read more…

Silverstripe and it's blank themes

OK, so I have been scouring the internet looking for an answer to my question and I found plenty of vague and a few useless answers, so here’s the real answer that worked for me.

If you are using silverstripe and you attempt to install and new theme only to find a big blank page after you update your _config.php file, then just add flush=1 to the end of the URL and that should clear out the template cache and everything should magically start working. Here’s a couple examples:

http://your_website.com/?flush=1

or

http://your_website.com/your_silverstripe_location/?flush=1

Read more…