Huh? ”wordpress add javascript to specific admin page”, what the heck is that? That is the first thing I “googled” when I discovered I was “doing it wrong” so I could learn how to do it right. As a plugin developer it is one of the more important principles of plugin development. It is [...]
Geeking Out With Netbeans and PHPDoc
I’ve been playing with phpDoc and NetBeans a lot lately. I’ve found that having well documented code using the phpDocumentor 2 format makes for a much more efficient coding environment. For one thing, if you have NetBeans setup properly and are using PHP classes that are fully documented, writing a line of code is as [...]
Netbeans, phpDoc, and WordPress
A posting from our private “Tech List”, a list I share with select tech geeks mostly from the days at Cyber Sprocket Labs. We tend to share high end tech tips that only geeks would find interesting. I am posting here for easy reference for “The Tech List” groupies. My Intro To Netbeans [...]
Adding Custom Fields To The WordPress Category Interface
Adding custom field s to the WordPress Category interface can be tricky. Not because the concept is overly difficult, but the documentation on the related filters and actions that are built into WordPress is hard to come by. To make it even more challenging, some of the action names are built dynamically. [...]
PHP Pretty Print XML
I have been working on MoneyPress : Amazon Edition to get it updated for the latest API release and bring it into the Charleston Software Associates stable of products. Along the way I found myself needing to debug the XML being returned from the Amazon Product API. Here is a quick trick for doing that. [...]
Rhomobile : rhoconfig.txt cheat sheet
We have recently been working with Rhomobile to test and deploy some business class mobile apps. So far the testing has gone well, however the documentation at the Rhomobile site is lacking in some areas and has fallen behind the mainline development. The Rhomobile forums are also a good source of information but it is [...]
Phonegap Barcodes on IOS
Introduction This article covers building barcode scanning apps on IOS (iPhone/iPad) with Phonegap. For reference, Phonegap is going to become Apache Cordova any day now, so the process can be confusing if you are looking at older materials. Before we get started we make the following assumptions about your development environment: Operating System is OS/X [...]
WordPress Activation Hook
We recently discovered an issue in our commercial plugins related to a change in the WordPress API. It turns out that since WordPress 3.1 was released the register_activation_hook() function is no longer called during a plugin upgrade! This is a significant change in behavior from previous versions that called the WordPress activation hook on every [...]
Rhomobile: Error In Build Application
You are build Rhomobile apps on Windows, aren’t you? If so, we’ve been there. Luckily the fix is somewhat simple, though time consuming. Sadly, it is a joke that Rhomobile can’t deal with SPACES IN DIRECTORY names. What year is it? Rhomobile is not aware of Windows 7 directory naming standards? How sad. Anyway, here [...]
Rhomobile: Error interpreting erb code
You are build Rhomobile apps on Windows, aren’t you? If so, we’ve been there. Luckily the fix is somewhat simple, though time consuming. Sadly, it is a joke that Rhomobile can’t deal with SPACES IN DIRECTORY names. What year is it? Rhomobile is not aware of Windows 7 directory naming standards? How sad. Anyway, here [...]
Mobile Cross Platform Development : Corona
We recently wrote an article on our experience using Apache Cordova to build cross-platform mobile devices. It works for quick prototypes or simple mobile apps but the are compromises. Here we touch on our experiences using Corona by Ansca Mobile. Testing The Apps One of the things we dislike about Corona is the [...]
Mobile Cross Platform Development : Cordova
We have been playing with mobile application development for a while. During our “travels” we have done some native application development but in our effort to streamline the process we decided to try out some of the cross-platform development tools. Our first stop, after doing some homework, was at Apache Cordova (aka Phonegap). A little [...]
Passing Variables To JavaScript In WordPress
We have touched on several complex subjects when it comes to writing plugins for WordPress that make use of JavaScript. In these articles we discuss built-in scripts, custom static scripts, and dynamic scripts. Dynamic scripts are the scripts that need access to information from the WordPress application environment in order to function properly, such as [...]
WordPress/JavaScript : Selective Enqueue
In the past couple of articles about WordPress and JavaScript we touched on several methods for managing JavaScript in WordPress. For simple “static” scripts or built-in WordPress scripts, such as jQuery, the standard register and enqueue methods provide all the control you need to invoke your scripts. However there are several issues that come up [...]
WordPress and JavaScript Part 2
This is our second article in a series about working efficiently with JavaScript in WordPress. There are a lot of sites and lots of examples on how to implement JavaScript in WordPress. Many of the articles we came across were incorrect or outdated. What was once the viable, or possibly the only available, method for implementing JavaScript hooks [...]




