Drupal

zindex

Nice menus drop-down renders behind views slideshow

I recently came across the issue of my nice menu rendering behind my views slideshow - not what I wanted.

It is evident from the way that views slideshow and menus work that they both use absolute positioned elements. A little time spent on Google established that CSS z-index values can only be applied to positioned elements. (more…)

webform

Dynamic select boxes on Drupal webforms

A problem I came up against recently was how to make one select box relate to another. I wanted to build my form so that when select box A was updated, select box B would refresh and show a list of options in the context of the value of select box A’s current value.

It was tougher than I expected it to be, but that may so more about me than anything else.

(more…)

data

Drupal 6 – data module, feeds, views, taxonomy

I’ve yet to embrace Drupal 7 development, but I know they’ve revamped how data is stored so that you do not need to store everything as nodes. In Drupal 6, such things are not possible. But there are other options.

Here is my use case:

  • On my site, represent two tables of data, stored in an external MS Access database
  • Relate the data in those tables to content on the site
  • Periodically update data, taking fresh copy of Access database

I know what you are thinking. Access? Access! Yes, Access. But wait, all is not lost. The following approach would not work for complex relational databases, lest you spend a year exporting and importing data.

(more…)

QR code

Building an iPhone app – Drupal, jQuery Mobile and PhoneGap

What a great combination!

Drupal for building a web admin side of my client server application, including JSON based services for reading and writing data. jQuery Mobile for building the interface and functional elements of my app, PhoneGap to add the bridging to the native iPhone functionality and app wrapper.

(more…)