By douglas.a.hatch on
Quick $10 for explaining how I can remove certain fields from displaying in my comment submit form:
http://chunkybling-sandbox.com/comment/reply/219#comment-form
Specifically, I only want to display image and description, not add to cart, attributes, price, etc. I can give you full access to the code. Thanks!
Comments
2 ways I can think of... In a
2 ways I can think of...
In a custom module, hook_menu_alter the comment menu, and provide your own callback for the 'comment/reply/%node_id' path, and providing your own version of the comment_reply funcdtion, where instead of showing the entire node, just show the parts you want...
Or, you could also try to write something into the node.tpl.php to check if the node is being viewed via the comment/reply/xyz path, and then alter to the output accordingly...