TechSparx Technology News

Subscribe by email (Delivered by FeedBurner):

Drupal Book node hierarchy went missing, necessitating database patching and a couple scripts to help

Twice now I've had the Book hierarchy on a Drupal 6 site go bonkers. The first time was on this very site, back in 2009, while this site was being converted from Drupal 5 to Drupal 6 (it's now on Drupal 7). The /book page simply became empty, and I managed to fix the book hierarchy with some database twiddling. That was over six years ago and I'd since converted this site to Drupal 7. I have another site still running Drupal 6, and the same problem (empty /book page) just happened on that site.

How to stop your facebook page from posting tweets to twitter

Automated postings to social media accounts - Facebook, Twitter, etc - are a great way to build your presence, and let your audience know what you're doing. Over the years preferred services have come and gone which automate cross posting to social media accounts. Where a few years we would have instructed Facebook to autopost to twitter, we might want to do that in a different way now. For example, I'm finding the dlvr.it service to be much better and offer better control over the format of postings.

The difference between Node.js require, and Wordpress plugins or Drupal modules

nodejs-dark.pngSomeone experienced with using Wordpress, or Drupal, to build websites are accustomed to "plugins" or "modules". Both are software modules which extend the functionality of Wordpress or Drupal websites, giving more features to the system than what's available out of the box.

The ultimate guide to a quickly customized mobile responsive Wordpress theme

wordpress-logo-stacked-rgb.pngI'm getting up to speed with Wordpress. One thing I wanted was to quickly get a halfway decent looking mobile responsive theme, and then get on with the business of writing my content. My belief is that it's folly spending too much time on creating the perfect theme & look & feel, and that it's the content which is more important.

How to customize the per-post authoring byline in Wordpress

wordpress-logo-stacked-rgb.pngAs a new Wordpress site owner, I'm going over every detail of the presentation to make sure everything looks right. This evening the task is improving the per-post publishing byline, and author information. As a side task, I want to have the site display my full name anywhere it would normally show the user login name. My theory is that because my mother named me "David Herron" and not "webmaster" that my website shouldn't show my name as "webmaster".

Drupal & Blogger user tries Wordpress after years of sneering, and likes it

wordpress-logo-stacked-rgb.pngThe other night talking with my girlfriend about developing a website for her, we decided that she needed a Wordpress blog. She's done quite a lot with Blogger blogs and is very familiar with them, but the goals she had were impossible given Blogger's limitations. While Drupal is a very powerful system and could have done what she wanted, it's not exactly user friendly.

Twerking your way to Skype on a Chromebook - ChromeOS future includes Android apps

One of the pain points of Chromebook users is that certain kinds of applications either aren't available for ChromeOS or are impractical. ChromeOS is a Chrome web browser, running pre-packaged on top of Linux, with a bunch of security goodness backed up by Google cloud services. It's an amazing environment but the applications are limited to running inside Chrome. Well, unless you jailbreak the device and install Crouton allowing you to run Linux.

How do you choose between Node.js or other web application technologies?

There are plenty of new server side web application development technologies being developed. With the blizzard of choices before us, how do you choose between one or another? Will the newly hot web app technology really take off, or will it fizzle in a few years? For example, Node.js is getting a lot of excitement, but what about Go, or what about the mature platforms like PHP/Symfony or CakePHP?

You can joyfully parse and manipulate URL's in browser-based JavaScript

URL's are not strings, but are a data structure that's represented as a string. How do you easily and reliably manipulate a URL string programmatically? Do you use regular expressions or other kinds of string manipulations? Given all the ways to encode data in a URL, how do you ensure it remains syntactically correct while doing string manipulation? Manipulating URL's with regular expressions is rather difficult because of the format and nature of a URL.

JavaScript doesn't tell you the Date object is bad, here's how to figure that out before crashing your program

In JavaScript, creating a Date object from a string is real convenient ("var foo = new Date(dateString)"), but what if dateString has a bad format? How will your code know about this? The Date object doesn't have a getter to tell you the date is bad.

Pages