Hi,
To help get the ball rolling, I've completed an initial port of the asset module to Drupal 6.x. I've tried to change the code as minimally as possible to the point of merely supporting the API and convention changes of Drupal 6, with the exception of a few structural changes to the code. The base package (previously just asset and asset_wizard) now consists of 4 separate module files:

asset.module - The backbone of the package. The asset API, helper functions, basic configuration, etc.
assetreference.module - A CCK field module which references an asset (a la nodereference, userreference, etc). Depends on asset.
asset_wizard.module - The wizard user interface which can be used as a widget for assetreference or selection interface for asset_intext. Depends on asset.
asset_intext.module - Allows assets to be embedded inside text fields. Depends on asset and asset_wizard.

It should be noted that this code needs more review and polishing (and I welcome anyone to contribute to that end), and should definitely not be used on a production site at this point. I am happy to report however that I have it installed and working quite smoothly on a Drupal 6 site I'm working on currently, but as it's still quite early in it's development, bugs are likely to appear (in addition to any bugs that existed in the 5.x-2.x dev branch that it was ported from).

I've not yet had a chance to examine other contributed modules for asset, but hopefully this port can be a catalyst for their respected maintainers to begin porting to Drupal 6 as well.

Note to any users of Asset 5.x-1.x: definitely DO NOT UPGRADE to this module since this is a port of the 5.x-2.x dev branch, which is substantially different and not yet supported by the module maintainer!

CommentFileSizeAuthor
asset.zip762.3 KBjustindodge
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wmostrey’s picture

Hi Justin,

Thanks so much for your effort. It should be noted though that the 5.x-2 branch has been discontinued. The latest version of both dev and beta were far from stable so we will not support this upgrade. With 5.x-1.0 coming up fast (probably after RC2) we're starting work on the Drupal 6 version of that stable branch.

wmostrey’s picture

Status: Needs work » Closed (fixed)

I'm going to close this in order to avoid confusion with the official Drupal 6 port of Asset 1.0. More information can be found at The future of the asset module.