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'm building a site with lots of content and lots of fields.
I thought of creating a single type of content to simplify management and play with the display to manage the many fields. But these fields will be very numerous (70, 80). So then I thought about creating multiple types of content, but found that around 10 to 15 fields were common.
What is the way forward?
Opt for a single type of content, or several types of content with common fields?
I am used to having Virtualbox and linux running on my local to do development work. My new client has a migration project for me to do but they do not allow any local development tools like xamp, dev desktop, Vagrant, Virtualbox. They are a government client and they want us to use their laptops and work on their network in their office. They are not very tech savvy They also do not want to use Git. The client asked that I do all the work on their staging redhat server then clone it to the production server. Their project is to turn 2 static html websites into Drupal CMS.
I have a boolean field to update through a callBack (called from another field) but it doesn't work. The text and numeric fields work but the Boolean field does not
This is the code in form_alter