selwyn's blog

My eight year old recently got his Mbot robot from http://makeblock.cc Unfortunately there are pretty much no docs so this is my first effort to document what I learned.

 

Category: 

Using Drupal 7, I needed to programattically add a useragent field (webform calls these components) and a url field to my webform nid 7477.  The url field is a hidden field of type: Hidden element (less secure, changeable via JavaScript.)  If you leave off the extra array in the url definition, it will be the normal hidden type.  You can see this when you click the edit button for this component.  I hope someone finds this useful.

Category: 

My beloved Firefox has been doing something strange when it tries to view websites that have certificate problems such as expired certificates.  For some reason my desktop computer would pop up a bland dialog box whining about the site uses an invalid security certificate.  My laptop doesn't seemt to do this.  Apparently no-one on the internet has ever experienced this problem so I felt it would be useful to share the solution with folks. 

 

Here is the alert box:

Category: 

Well it finally happened - Drupalcon came to Austin.  I'm excited to attend and meet many of my Drupal buddies. 

 

Recently, one of my clients let their subscription to AVG anti-virus lapse and all 8 computers on their network were complaining about the subscription having expired.  I purchased a new license key and went about putting it into the AVG's that were running. Strangely, the field for the license number was grayed out so I couldn't paste it in. 

Category: 

I was mourning the fact that I wasn't in Portland for the Drupalcon and then I found this. 

 

 

I'm so pleased. Rock on Drupal!

Category: 

If you check Drupal 7 module updates and you get messages indicating no available releases found for modules that you know are legitimate.  It usually looks something like this.  The URL is ../admin/reports/updates  There is a quick fix:

Category: 

What a great utility Drush is.  If you don't know, it is a command-line utility for use to do all sorts of amazing things to a Drupal system.  You can easily make a quick database backup with the following command:

drush sql-dump >dbdump.sql

Category: 

On Drupal 7 sites I always spend time in the content view.  That is the one at admin/content.  I usually install the views bulk operation module so I get these cool new views that I can easily tweak.  What a pleasure!  Recently I was on a site that had the administration views module installed.  This replaces the default views for content and comment (and more.)  Unfortunately the link for editing the view that is so handy is turned off.  This

Category: 

Panels tabs are (like so many things in Drupal) pretty easy once you know the exact steps.  Using Drupal 7.20, Panels version 7.x-3.3, Ctools 7.x-1.2.  you can make a page that has horizontal tabs along the top.  It doesn't require any additional modules.

 

Category: 

Pages

Subscribe to RSS - selwyn's blog