Acquia Prosper Theme Compatibility

SchwebDesign - September 29, 2009 - 15:24
Project:Ubercart Option Images
Version:6.x-1.4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I did a little testing with my working install of "Ubercart Option Images" to see if the functionality it brings would work with Acquia Prosper theme (http://drupal.org/project/acquia_prosper) the best Ubercart focused theme I have found. I have confirmed it does not (if anyone has gotten it working with Option Images module, what did you have to do to get it to work?).

Perhaps this is relevant to the theming comment in the readme.txt for option images that says "Due to the nature of JavaScript dependency upon markup, this module supports
default node.tpl.php and form item markup in order to switch images properly."

It would be absolutely wonderful if Ubercart Option Images could be modified to work with Acquia Prosper. I will submit this feature request to the Acquia Prosper theme as well.

#1

tjholowaychuk - September 29, 2009 - 16:54

I think a large portion of this issue could be overcome by having an API for administrators to alter CSS selectors used by JavaScript. At least this way we could alter the JS cleanly without physically altering the module's source. This wont get around every use-case but it would help greatly.

#2

SchwebDesign - September 29, 2009 - 16:58

Great idea. I found this: http://drupal.org/project/cssapi would this provide what you are looking for?

#3

tjholowaychuk - September 30, 2009 - 15:37

Hmm nope, sounds like that is for the stylesheets alone. It would be pretty quick to whip up a module allowing alerting of the css selectors via JS though. Instead of:

$('.node .price').click(...)

it would be something like:

$(selectors.node.price).click(...)

so no one has to fuss around changing module JS, which in my opinion is a big issue in terms of upgrading a module etc.

#4

SchwebDesign - October 5, 2009 - 16:31
Status:active» closed

It now appears that Option Images Module is working with Acquia Prosper Theme and many others.
See postsw here:
http://drupal.org/node/550344#comment-2113120

 
 

Drupal is a registered trademark of Dries Buytaert.