This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Xdebug and phpStorm

In the course of trying to debug an issue in module printable (see issue queue!) I installed Xdebug and phpStorm. I am on Drupal 9.1.6, PHP 7.4.16 and Debian 10. My /etc/php/7.4/fpm/php.ini contains the following - regarding this: 

[xdebug]
zend_extension="/usr/lib/php/20200930/xdebug.so"
xdebug.log="/var/log/xdebug/log"
xdebug.mode=debug
xdebug.client_host=10.0.0.2

When trying to start debugging I get the message

Files in some folders are renamed the add "._sa.zip"

Hi there, I'm not very surpried by this problem, but it seems that there is a prozess which renamed files (for example in the libraries or main folder) with the extension "._sa.zip". Actually it is enough to rename them by deleting this appendix. 

The files seem not really been zipped.

Of course this behavior brakes some parts of my Drupal installation. I'm using Drupal 8.9.13. Because I couldn't find this problem somewhere else, I have to ask here...

Where I am doing wrong in this module example

I am testing to create a compound field, but I can not make a field. The field shows, but can not be created. 

Folder strcture: 

How do I remove the word "Body" on my webpage

I'm fairly comfortable with Drupal, however with a new page I created the word "Body" remains at the top, even though I have a page title and the word body is nowhere in my code. How do I get rid of this?

how to filter using view by published, unpublished and all content

Hi team

i'm creating a view and i would like to filter my content by published, unpublished and all content,

now its working with status=1 to get published, status=0 to get unpublished, but i would like to use status=all to get all content

is that posible?

could you please help me?

Regards

Mario

When old field revisions should be deleted from the database?

I have a question about old fields revisions in Drupal 8. For example I have "Full Title" field in different paragraphs. I have deleted this field from one of the paragraphs, for example from the "Hero". In the database there are tables: paragraph__field_section_full_title and paragraph_revision__field_section_full_title. In these tables all of the records for hero bundle deleted column values changed from 0 to 1.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions