Make amazon_inline_item another type of amazon_item so preprocessing is done

rfay - July 5, 2009 - 00:25
Project:Amazon Module
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Probably for historical reasons, the amazon_inline_item is a completely separate type from all the other wonderful themed types. So the amazon_preprocess_amazon_item() doesn't get run on it. And of course, that means that amazon_store doesn't get a chance to update the link in it to point to amazon_store's namespace.

Can amazon_inline_item become amazon_item_inline and get processed with the rest?

Thanks,
-Randy

#1

rfay - October 4, 2009 - 23:52

+1

#2

rfay - October 17, 2009 - 23:12
Status:active» fixed

Fixed by preprocessing with the same function. Also moved the theming into a .tpl.php file.

#3

System Message - October 31, 2009 - 23:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.