I'm trying to enable lightbox2 for product listings in Ubercart for Drupal 6. This is simple via views, but I think the product list is being generated by uc_catalog module. How can I add classes to the product thumbnails or enable lightbox2 for them? Are tpl.php files available to customize output? Thanks for any help.

1 Answer 1


Maybe you should create the product list with Views instead. Not only can you easily add lightbox like you write yourself, but you can make a lot of customizations should the need arise.

If you don't want to use Views, it's most likely the taxonomy module that generates the product list, that's how it's done on many UC sites. You could install the devel_themer and inspect the product list page with it. It should allow you to see what theme functions is being used to create the page. This should also help you figure out how you can add the customizations your want via template files or theme overrides.

  • Yeah, it ended up being easier to rebuild the catalog views with Views, at which enabling lightbox became trivial Dec 30, 2011 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.