Updating PHP Deprecated Other TimeZones With Valid TimeZones
It all started with some clean up of some legacy code that was storing dates and times in a particularly odd fashion. Each row in the users table of the database had a field for that user’s timezone. Some of these timezones were from a deprecated list of PHP timezones. The question was how to update these timezones from a list of supported timezones. I began doing some research with the PHP DateTime and DateTimeZone classes. The following are some examples from my date and time research. Read more…
Dynamically View Viewport Screen Width And Height
I’m in the process of converting my website to a more device-friendly site using responsive web design. There are already lots of tutorials out there regarding responsive web design which include fluid layout, media queries, and image resizing. This post focuses on a handy tool that I use to dynamically view how many pixels the current width and height of my screen are. This is invaluable when calculating device and content break points. Read more…
CKEditor Configuration
In my last post I began the integration of CKEditor with Zend Framework to show how to implement a rich text editor as part of a proprietary content management system. In this post I would like to further show how you can configure the CKEditor. Ok, let’s get started. Read more…
Integrating CKEditor And CKFinder With Zend Framework
Sometimes I’d rather build websites to build websites than build websites. Basically, there may come a time when you need to develop a proprietary content management system (CMS) for your clients rather than choosing one off the shelf to better suit your needs. To add and edit content with our proprietary CMS you’ll need a rich text editor and my favorite is CKEditor. In this example I’ll show you how to integrate CKEditor with Zend Framework. Read more…
Add Search To Your Site With Google Custom Search
There will come a time when the content on your website grows to where your users need search functionality to find what they are looking for. Most content management systems such as WordPress, Joomla, etc. have search built in but if you’ve coded the site yourself then you may have to add your own search script. Zend_Search_Lucene seems like a logical choice since we program most of our sites with Zend Framework. However, using this component could turn analogous to killing a fly with a sledgehammer. Thus, I would like to introduce Google Custom Search as an option. Read more…
RSS Posts