I'm using a module called 'Sharebar' and I've set the option to display it on every page in my site that's of node type 'resource'. Overall, this works very well.

I also have comment moderation set to 'on'. So when a user submits a comment on a resource node it comes to us for approval before being published. On the page where you go to edit and publish submitted comments (admin > find content > comments > unapproved comments) is listed all the submitted comments we haven't yet accepted.

There are several things you can do with each comment. You can select a radio box to the left of the comment and do things like publish it. You may click 'posted in' to view the node in which the comment was originally posted. And you may click 'edit' to edit the comment specifically. All of this works fine.

HOWEVER, there is also a link under the 'Subject' heading with the subject of the user's comment linked to a comment page with a URL structure that looks like: siteurl/comment/2#-comment/2 (depending on the comment number of course). On this page I do NOT want the 'sharebar' to appear, but it is appearing automatically anyway because apparently these comment pages are included in type 'resource'.

I thought maybe I could find a $theme_hook_suggestion to use and just create a separate template file for these but no such luck. When I dpm that variable I get the same suggestions for these pages as I do for regular resource nodes. And in fact these comments have the same node values as the resources they were posted to.

Does anyone know of another way to target these comment pages specifically so I can remove the sharebar elements? (with css or a theme function perhaps)