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

[SOLVED] JSONAPI Filtering - AND clause

Hi All, How do I filter on two fields using the JSONAPI. I read https://www.drupal.org/docs/core-modules-and-themes/core-modules/jsonapi... but still I do not understand! Let say I have to fields, field_first_name and field_last_name and I want to filter on both fields combined with an AND clause. For now I can do "node/player?filter[field_first_name]=poul and I can do node/player?filter[field_last_name]=smith.

Contextual filters

Hi everyone,
 

I can't get contextual filters to work for me. I want to have 2 content types: Character and Downtime. Downtimes are things a character does in a game month for an RPG I'm organizing.

Then I want, in the character view, to have it list all downtimes that are attributed, via a reference field, to the specific character.

How do I achieve this in Drupal?

Change contents type's machine name or bulk migration

I'd like to change existing contents type's machine name, but apparently it is not an easy task.

I've changed all machine name values in DB (type and bundle in node_ tables, along with config and key values....), but it did not work. Seems like the original machine anme is stored in somewhere, like key value's json key. I stopped pursuing any further, after a few hours of googling. Seems like nobody recommends that.

So, I've tried to migrate all contents to another contents type, but below two approaches so far have not been fruitful.

Drupal 10 does not work anymore: Error 500.

I tried to fix an error using the inline form module and added der rat module to the vendor folder. Now i get this error and i dont know how to repair this one. Deleting the folder does not help.

The Site does not use composer.

Thanks for any advice.

Avoid stock order when inventory is zero

I am new to drupal and running drupal 7. What setting do I need to change to avoid customer ordering out of stock items. Currently its causing a lot of issues as I have to call customers manually to inform them for a replacement or a refund. I believe that the module used is Commerce (Stock)

Scorm package not loading

I am trying to upload a scorm package created in Articulate Storyline. The max limit on my Opigno Drupal LMS is 100 MB and the file is 95 MB. When I attach the file it seems to upload the zip file but then I get an error message of "Error return from Drupal". I haven't had any trouble on my moodle site with the same file. Any idea what the issue is? 

I have tried breaking down the file into smaller packets and that has worked, but it will require significant work on my end to adjust the file, which I obviously would prefer not to do.

Guy

Pages

Subscribe with RSS Subscribe to RSS - Post installation