A detailed description of what your project does
This module lets you theme an ubercart catalog page by means of a template file. I haven't found
any module like it. It replaces the theme function "theme_uc_catalog_browse" in uc_catalog.pages.inc with a new function which calls a template file (ubercart_catalog.tpl.php).
A link to your project page
http://drupal.org/sandbox/Shrikey/1184794.
Furthermore
I would like the project name to be uc_catalog_template, not ubercart_catalog_template. Is there any way to correct this?
Comments
Comment #1
sreynen commentedHi Shrikey,
Ubercart-related projects often benefit from review by someone with Ubercart expertise, so I'm just tagging this to make it easier to find.
Comment #2
tr commentedCan't theme_uc_catalog_browse() be replaced by a template simply by creating a uc_catalog_browse.tpl.php in your theme? Why is a new module needed for this?
Comment #3
Shrikey commentedAh, I didn't know that was possible. Nice to know.
Another reason for this module is the fact that the function also contains queries and a lot of functionality, which really shouldn't be in a theme function: http://api.ubercart.org/api/function/theme_uc_catalog_browse/1.0
Comment #4
tr commentedRE: #3, then please offer a patch to Ubercart to improve the theme function. I'm leaning towards closing this application as "won't fix", as I don't see it would benefit the community to release this module instead of improving the existing project or simply better documenting how to theme the catalog with a template file.
Comment #5
sreynen commentedI'm closing this due to no response for months. Please re-open if this was a mistake.