Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
FB Likebox template (fb_likebox.tpl.php) cannot be overidden (i.e. copied to the theme directory and edited to alter the markup). What I tried:
- installed latest Drupal 6 version in a clean Drupal 6;
- copied fb_likebox.tpl.php in the theme directory and modified it;
- flushed all caches;
- noted my modifications weren't taken into account; moreover, according to Theme developer, only one candidate is detected (the original template);
- finally, commented the 'path' key in fb_likebox_theme() (and moved the original template to the module root directory + flushed caches), which did not change anything: my template was not taken into account either.
Comments
Comment #1
drozas CreditAttribution: drozas commentedHi FMB,
What are the changes that you are trying to do exactly? I have not been able to reproduce the error.
Comment #2
drozas CreditAttribution: drozas commentedComment #3
drozas CreditAttribution: drozas commentedComment #4
Jibus CreditAttribution: Jibus commentedSame here on Drupal 7.
I had to set a div around the block, finally i create a block template : block--fb_likebox.tpl.php and it worked
Comment #5
drozas CreditAttribution: drozas commentedThanks for sharing your solution, I am assuming then the template can be properly overriden.