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.
Ive been having issues trying to use theme functions in my template.php file. Ive tried overriding MYHEME_uc_cart_block_summary, and MYTHEME_fivestar_static with no luck.
Is there something im missing here? do i need to do an extra step if im using a zentropy sub-theme?
I couldnt find anything about it in the documentation, so i apologize if it is actually there and i just missed it.
Thanks,
Comments
Comment #1
azarzag CreditAttribution: azarzag commentedIm still not able to override theme funcitons in my template.php file. Can someone help me out here?
Comment #2
azarzag CreditAttribution: azarzag commentedSo i finally discover what the problem is.
In my zentropy subtheme's template.php I have the following lines
/* Add your own custom logic in between the following lines:
--------------------------------------------------------------------*/
/* STOP!!!! Don't edit this function below this line!
--------------------------------------------------------------------*/
If i DO add theme functions, i havent tried using hooks yet, between these 2 lines they WONT take effect. I had to move all my theme functions to the beginning of my template.php
Comment #3
azarzag CreditAttribution: azarzag commented