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

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

1 Answer 1

1

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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