Closed (fixed)
Project:
Rate
Version:
7.x-1.1-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 May 2011 at 06:38 UTC
Updated:
14 Nov 2011 at 16:05 UTC
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
Comment #1
mauritsl commentedI 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.
Comment #2
zazinteractive commentedI 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
Comment #3
Das123 commentedI 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?
Comment #4
ambient.impactHi 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.
Comment #5
eikes commentedThe files you need to create are named a little different than you'd expect. To change the
emotion.tpl.phpyou need to copy it to a file calledrate_template_emotion.tpl.phpin your theme folder.Comment #6
eikes commented