If I wanted to replace out the UberCart icons for the shopping cart and arrows, is there a way to do this without running the risk of overriding the icons on the next update?
Best way to replace UberCart icons?
|
|
You can always just override the theme function theme_uc_cart_block_title()... copy/paste the original function and change the names of your image files. Should work just fine. 
Good call, thanks! I'm still getting used to how all of Drupals APIs can be used to configure output.
Just in case someone else comes across this post, it looks like the function is actually theme_uc_cart_title_block(). 
Man... that's a horrible name for that function. 
I'm going to change the two theme functions related to the cart block in Alpha 7d to be named:
theme_uc_cart_title_block() -> theme_uc_cart_block_title()
theme_uc_cart_display_block() -> theme_uc_cart_block_content()
You will need to update your theme files accordingly after updating to Alpha 7d.
|
|





Joined: 09/19/2007