Drupal is up and running but how do I ...?

Files path with token+file(field)paths modules

Context:
In am building a site with a lot of media files (images+videos).

Following modules are installed:
Media, Token, File(Field)Path

I would like files to be stored in this kind of hierarchy:
my_media_files / year / month / my_file_xyz.jpg

Notice: "year"  and "month" are NOT the "native" creation date of the media. They are taxonomy terms of shooting year and month. They are selected  in my media Entity Reference fields.

D7 Views (7.x-3.29). Custom tables with contextual filters

I have a set of custom tables exposed to views via hook_views_data. I have created a view based on one of these tables and have set up the necessary relationships in the "Advanced" section of the Views UI. This all works - Views displays the data correctly. I would like to add a contextual filter based on one of my custom fields. When I try this none of my custom fields are listed. All I see is Global : Null.

What am I doing wrong or is what I want to do not possible?

Aliases are not working on mobile devices

I have a website mahajana net based on the Drupal 7.98 engine. Unfortunately, file aliases do not work on mobile devices. Everything is fine on computers. For instance, the PDF opens correctly on a laptop, but on a iPhone, the PDF tries to load, but ultimately does not load.
If I provide the original URL to the file, it's ok, on both mobile devices and computers.
However, I care about the aliases working correctly everywhere, because the original URL is long.
How can I make aliases working on mobile?

Site Breaks without a file being Touched.

My question I don't believe requires core version any other details for that matter for an answer, but I could be wrong.

How does a Drupal site on a server living and breathing with modules requiring no security updates just randomly break?

I've gone through logs and it identifies an undefined 'index' file and 'variable'. If no files were changed how does a defined 'index' file and 'variable' become undefined? On 10/7 out of the blue these stated showing up in the logs

Hack comes to mind...?

Host changed something on their on server...?

Composer dependencies require a PHP version ">= 8.1.0", but I have 8.2

I recently updated my Drupal site using Composer (version 2.4.4) from Drupal 9.5.10 to 9.5.11 along with the modules Admin Toolbar and Paragraphs.
Everything was working fine before I did this update.

After I did the update when I tried to log in as Admin, I got the error message:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

When I enter php -v, I get 8.2.11

Color code Backup and reuse for Color module

I am changing my Drupal site from Drupal 9 to 10 while changing  I having an issue with the color module "https://www.drupal.org/project/colors", the color code saved in the theme is getting removed and the default color code is getting added,

Is there any way to create a copy of the color code before uninstalling the module, and that old color code get added it to contrib color module.

Pages

Subscribe with RSS Subscribe to RSS - Post installation