module to create a sub product (best practices question)

Posts: 1
Joined: 10/10/2008

Hello all,

I am creating a module for a specific product type that integrates audio module, uc_product, uc_attribute, and uc_file. I want to create a settings page for this module and it seems to integrate the settings in with the uc_product settings page (admin/store/settings/products), but I am not sure how I would add to the content for the overview section (as generated by uc_product_settings_overview()). I see that uc_product_kit adds to the main edit form (admin/store/settings/products/edit) using hook_form_alter().

My question is then, what is the best practice for something like this? Should I try to add the settings for this into the uc_product settings pages? Should I create its own settings page?

Thanks for your time,
Dennison Williams

Posts: 5353
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Welcome aboard, Dennison. Unfortunately, the overview stuff was a little shortsighted so you can't actually get your info into the overview. I fixed this in D6 by making it work through the forms API, though. In the meantime, you can just make your own page for the settings or do whatever you think is best.