I am trying to change the display of my yes/no widget but modifying or even deleting the template file does nothing. What am I doing wrong?

Comments

mauritsl’s picture

Status: Active » Postponed (maintainer needs more info)

I need more information to answer your question. What are the filenames you are using?

Please keep in mind that you need to clear the cache after adding new template files.

zazinteractive’s picture

Status: Postponed (maintainer needs more info) » Fixed

I figured out the problem and it was my fault. For some reason I had two folders for rate in my modules folder and it was using the folder that I wasn't changing. Thanks anyways

Das123’s picture

I am having a similar issue where it appears the template files will only activate from within the module folders. I didn't want to hack the original files so copied thumbs-up-down.tpl.php to my theme folder and made changes there. I thought by placing the template file in the theme directory and clearing the theme cache it should over-ride the module theme. Am I missing something?

ambient.impact’s picture

Version: 6.x-1.2 » 7.x-1.1-beta1
Status: Fixed » Active

Hi there. I'm having the exact same issue with 7.x-1.1-beta1. It looks like template files are only being loaded from the module directory, and cannot be overridden in the theme directory.

eikes’s picture

The files you need to create are named a little different than you'd expect. To change the emotion.tpl.php you need to copy it to a file called rate_template_emotion.tpl.php in your theme folder.

eikes’s picture

Status: Active » Closed (fixed)