Closed (fixed)
Project:
Vote Up/Down
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Dec 2012 at 08:35 UTC
Updated:
27 Apr 2013 at 15:24 UTC
How to override the widget template file from the theme? Why are you using some pseudo-theming and partially re-implementing Drupal theming system?
Comments
Comment #1
marvil07 commentedSee documentation at WIDGETAPI.txt file.
About why, copying one docblock from code:
Comment #2
dmitriy.trt commentedThanks!
Comment #4
AkliOnet commentedHi, I have folowed the method Putting widgets in a theme .What I have done :
copy "plugins[vud][widgets] = widgets" in theme.info
copy the widget folder from vote_up_down to theme directory
and I get this :
Fatal error: Cannot redeclare vud_thumbs_vud_widgets() (previously declared in C:\wamp\www\Crowdstore\sites\all\modules\vote_up_down\widgets\thumbs\thumbs.inc:10) in C:\wamp\www\Crowdstore\sites\all\themes\bootstrap\widgets\thumbs\thumbs.inc on line 17
Where I am wrong ?
Thk