1

I would like to modify the date popup structure, in the image below you can see how date module builds the element. Drupal's default label is hidden, and it generates other to display the title. I want to show that label, and hide the date module label. Where should i modify this? Using some hooks in a .module, create a custom template or just overwrite it with css? Thanks all for help!

PD: This change must concern to every page in my site.

enter image description here

  • This is for D7 or D8 ? – berramou Oct 30 '18 at 9:29
  • Yep, i forgot it. Drupal 7 – Javier Rey Oct 30 '18 at 9:30
1

Override theme_date_popup in your theme or custom module.
See the following tutorial how to do it.

  • You are welcome, i'm glad that help. – berramou Oct 30 '18 at 10:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.