Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I've got a weird bug with my little module. I've implemented a few hooks such as hook_menu, hook_perm, hook_access and hook_page, added a few specifics function and that's about all.
The bug I have is that whatever value I give to the "title" in the menu hook, I always get the same string : Booking (which was the title I gave the very first time I put my module online). I also can not give a translation to this title (the website is designed to be french and english).
I am using the 'date' form element. But i need some info on how i can manipulate this. More specifically i want to know how I can rearrange the different select boxes (e.g. first the day then the mont and then the year). And the select boxes appear each on newlines, is there also a way to put them al on the same line.
Thx !
P.S.: I find it quite hard to find substantial developpers info on drupal. Am I overlooking something ? I use api.drupal.org and some parts of the handbook.
I am developing a module, in which the administrator part should have the ability to open a pop-up window, when the user clicks a link. This pop-up window should contain a textfield. The problem is: I use the TinyMCE WYSIWIG editor. How do I make sure that this applies to the text field in the pop-up window too?
By the way, does anyone know how to assign the properties of a pop-up windows(width, height, visibility of adress field etc.)?