TinyMCE Advanced, WordPress 3.0, Google Chrome, Custom Styles

I was using the TinyMCE Advanced plugin for WordPress and needed to add some custom styles to it for a client.  I kept Googling it and everyone seemed to think it was very easy.

I was at a loss.

There were all the suggestions to clear your browser’s cache if you were on Firefox.  I was using Chrome and thought I would give it a try.  No luck.  After about an hour, I finally closed my tab and opened a new tab in my browser.  Holy crap! Styles came in, but they were old styles that I was playing around with earlier.

I cleared the cache again, closed my tab, opened it back up, and low and behold, my styles that I defined in wp-content/plugins/tinymce-advanced/css/tadv-mce.css finally showed up correctly.

Now, to get them to show up on the front side, I just added the classes to my themes stylesheet and it worked.

SilverStripe 2.4.0 CMS Admin “Website Error” after clean install

Wanted to try out a new CMS today….The first two hours turned into a nightmare.

I did a clean install of SilverStripe 2.4.0 on a Linux box.  Install went through fine…had a little bit of trouble detecting modrewrite, but I ignored it and went ahead with the install.

After install, prefilled website came up fine.

When I went to the admin (index.php/admin/) I got a lovely, “Website Error”.  It said a little more, but it was about as pointless as that.

I had to open up the ./mysite/_config.php file.  mysite is the actual folder…not really your site.  Took me a little bit to figure that out 🙂  I must have been a little slow today.  I threw this Director::set_environment_type(“dev”); on the the second line after the <?php, refreshed the admin page, and now I had something to work with.

You may have to do a build by calling index.php/dev/build/?flush=1 just a little fyi.

A support ticket that was closed as resolved had me put $_ENV[‘TMPDIR’] = TEMP_FOLDER; in the sapphire/_config.php file.  That did NOT work for me.

I finally found a post that had me edit the ./sapphire/thirdparty/Zend/Cache/Backend/File.php on line 90.

I changed that line to be ‘cache_dir’ => ‘./silverstripe-cache/’,//null, refreshed my admin, and that was it.

I’ll let you know how the rest of my ventures with building this site go.