For those that do not know, I have used Laravel to create a custom content management system (CMS) for Linuxphile. Laravel is a PHP framework that makes coding in PHP a dream. Laravel and aritsan have rejevunated my lust for technology and very much my love of coding in PHP. Alright, I'll stop cheesing about Laravel and get to the meat of this.
TinyMCE is just that, tiny, but a full featured WYSIWYG editor and can be as bloated as you desire by enabling various plugins. For the most part the documentation is really straight forward. I was able to get the file browser working within minutes, but the file upload feature required quite a bit more work. Below are details one what I have done to get this working, with links to where I found pointers in the right direction.
Well, it is quite embarrassing for me to admit, but Linuxphile was hacked. I was a slacker neglecting to update the vulnerable version of Drupal the site was running. Pure laziness. I hadn't touched Linuxphile in months and event after a message from a user at Techguy.org letting me know the site was hacked, I put off looking in to it for a while. It wasn't until Mike Cermak notified me of the abusive/fake paypal account affecting his other clients that I finally did something about it.
That something wasn't to patch Drupal, nor to undo the hack. I wiped out everything, taking only a backup of the database. Clean!
The site being hacked was actually a good thing for me. I kept telling myself it was too hard to find time to dedicate to the site with the size of my family. Five kids; can you imagine? Well I've found if I deprive myself of sleep I can in fact find time for the site. I have gotten back in to technology as a hobby by re-writing the site from the ground up.
I have been helping my wife develop a custom content management system as a place to store her recipes and share them with the rest of the world. Holly is great with design and she was putting together some remarkable posts. For each recipe she had been creating custom images with text overlays to note preparation time, cook time, and servings.
Uploading custom images for each post seemed like a waste of space and I figured we could do this easily with PHP and/or CSS in general. I am still certain that it could be done using CSS and/or PHP, however, I struggled considerably to make it so. I spent a couple of hours researching the best way to implement using those two technologies.