I have trouble finding how to theme advpoll.
I need to get rid of the avatars from the user made polls (see example - http://www.hudeem-vmeste.ru/pool/rasschityvaete-li-vy-etomu-letu-dostich... )

Problem is that I can't find how to name theme file?!
I've tried:

  • node-advpoll-binary.tpl.php
  • node-advpoll.tpl.php
  • node-advanced-poll.tpl.php

But nothing seem to work.

Please help.
Thanks.

Comments

z33k3r’s picture

I believe the devs say to utilize the template.php in your theme with hook functions... I have yet to find what functions to use though...

estone’s picture

I don't know (never used this module before), but you can hide the unwanted elements with css:

.node-type-advpoll_binary .picture, .node-type-advpoll_binary .user_badges{
display:none;
}

to hide the picture and the badges.

Cheers

z33k3r’s picture

Hiding is very inefficient. The calls should just not be made if they are not to be utilized. One could also argue that web crawlers will also be seeing that data and you might not want that depending on your situation.

gobinathm’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

D6 is EOL hence this issue won't be fixed (or) attended. So closing it.