geoff_maxey's blog

Drupal AHAH: Issues with drupal_render()

While integrating AHAH functionality into a compound CCK field that I'm currently working on, I ran into an issue to where my "checkboxes" FAPI type were not rendering when the form was rebuilt via AHAH.

Building Custom Compound Fields/Widgets for CCK Drupal 6.x

For the lack of documentation available focused on building custom compound widgets/fields for CCK, I've decided to write some based on personal work on building one such for use in my current project.

The widget that i'm building is a field to generate and select search results via user provided keywords. The end result given to the user in the node edit form is a field containing three elements:

  • Textfield for Keywords.
  • Submit Buttom to generate/refresh search results.
  • Table of checkboxes for choosing individual search results.

Updated Documentation For The CASAA Module

Ever since the release of the CASAA module it seems that I've fallen behind on updating the documentation on this site. Well, in a sense, I have but, at the same time I've been more focused on keeping the code itself for the framework module and the plug-ins as up-to-date as I possibly can.

First Official Upgrades of CMF to CASAA Successful!

Throughout this week I have been upgrading some of our currently site projects from the CMF module to the CASAA module. Although it was ahead of my scheduled release date, I decided that this would be a great opportunity to one, test the upgrade path that I built which takes the data model build by the CMF module and alter it to the data model for the CASAA module; and two, take advantage of being able to place the new software where it can be pummeled in a production environment wherein many usage and system bugs can be exposed.

CASAA Development Is On Schedule

The development of the CASAA is on schedule for the proposed end of July release date.

New Plug-in For The CMF Is Now In The Design Phase.

After a short conversation with Chris Harrison via twitter, I learned of a nifty analytics/metrics platform called Mint.

Currently, for this site, I am utilizing Google Analytics to track traffic and pageviews, etc. on the site. What Chris introduced me to is apparently a system that not only shows what's happening on your site, metric-wise, but, also provides more information on the "gossip" concerning your site that's happening on the tubes.

Building Sprites to Improve Performance of Image Galleries Plus a Little Extra...

Including thumbnail image galleries from remote sites on your site can be quite beneficial for your user experience but, can be a major pain in the butt for site performance and page weight, especially, if your's is a high-traffic site. It can also be major for the remote server if you are loading a large amount of images.

Streamlining Your Templates (A Module Developer's Approach To Theming)

As a module developer, I spend most of my time developing and maintaining well, modules. My background mainly consist of working with languages such as, C/C++, Perl, etc., and building modules with PHP is right up my alley. The main difference between module development and theming is the type of code that is used on each layer. I'm not as used to building html templates with interspersed PHP as I am going full PHP and even then, using that to generate HTML as opposed to writing the HTML, myself.

An Adventure with AHAH and the Drupal Form API.

So, today I began working on including AHAH/AJAX functionality in CMF module's forms to help add extra robust functionality and easier usability to the system.

Within the module's main mapping settings the user can choose to add a path-based setting or a taxonomy term-based setting. I'm adding the functionality to where with one single select box the user can choose which type and when they select an option, a section of the form will change showing the proper fields for path or term input.