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 want to create a variable with the value of (in pseudo code) CONCATENATE(month - MM, day - DD) from a date variable in one of my content types so I can sort my View by this new variable, i.e., list the records in month/day order regardless of the year.
I know I could have I have the user enter the information manually, but that seems like an inelegant solution.
Is that something I can have the system do when I add a new record of this content type so it's stored with that record as a variable?
I want to clone the Content region to have two or more Content regions; each clone will have the same default CSS of the Content region and will contain different blocks than those in the original Content region.
How to clone a region easy and fast in Drupal 10? By easy and fast I guess I mean no Twig coding at all.
I administer a multilingual site (en - fr - nl) I have translated the menu items in the main navigation but the translated menu items only come up sometimes from a page and never on the front page although the language is chosen from the dropdown language selector and the content correctly changes to the selected language. How can I force the menu to change to the required language when selected and then keep the selected language for all content and menus?
My site is heavily dependent on book navigation, which I understand is to be moved to a contributed module rather than core. I have some ideas on how to proceed but I would like to hear any suggestions as to best practices as it appears to require editing all of my nodes that are part of a book.
I'm working on a Drupal 10.x site with Views that use Contextual Filters.
For the Views I've developed so far, the Contextual Filters work just fine.
I want to create a new View where I'd like to include a logical OR. As in, include the record if the first contextual filter is TRUE OR the second contextual filter is TRUE.
If I add multiple contextual filters, they seem to work as a logical AND and I can't find where I can tell the system to consider them as ORs instead.