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 new to Drupal (using version 8) and I wonder how I can implement a separate theme for mobile phones, say, using theme X for PCs but theme Y for mobiles.
I don't want to use the same theme for mobiles as I use for PCs. (I feel that sites using a single "mobile-friendly" theme usually end up being difficult and confusing to navigate and view on PCs.)
So, I would appreciate some general indications on how to go about setting up such a theme decision procedure based on the user's device.
I have just installed Drupal and finding my way with it, no problems there. But after every submit button (save on profile or settings pages for example), I get a HTTP500 error. If I refresh the page all is fine, stuff is saved....
Does anybody have had this too?
My setup is on subdomain (https://sub.domain.ext), trusted host is set and I have a redirection to https:// in my .htaccess. No further customization.
I have an exposed block form that is attached to the Search API. I want to pair that block with a custom block with some breadcrumbs. Can I combine the exposed block form from the Views module with a custom block? I have been working on it for a bit but am stuck. The ultimate goal is to have these two blocks appear as one div in my markup...for templating purposes. Thanks!
I have a field with two values with unlimited cardinality. Both values are required. I would like if neither of the fields has value, the system will ignore it. However, if I set both are required, the system will force users to enter the values. If I set as not required, the system will ignore empty field but it also let users enter only one of the values.
How to deal with the situation without using form_validity?
I need yours helps. I install drupal and configure it. After several articles published, I translate my drupal in french. If I am in french interface, articles links are with "en" and if I click it, I return in english interface.