🇧🇪Belgium @vhelmont

Account created on 1 January 2023, almost 2 years ago
#

Recent comments

🇧🇪Belgium vhelmont

Hello,

I have very little experience in programming, which is needed to create a custom-plugin-in-drupal-ckeditor-5.

What I was looking for is a module that could be installed via composer.

Is such a module available for the To-Do list button?

Regards,

Albert

🇧🇪Belgium vhelmont

Hello Ravi,

There is no error in the console. The issue is that the unselected itemes "Edit, Delete, Revision" in the navigation bar are barely readable (see read box in the below image link)

https://photos.app.goo.gl/aaeqQpimtMHwBQM37

I wanted to fix this visibility by adding CSS code to my barrio subtheme but I don't know how to do it.
Can you give me some directions how it can be done?

Regards
Albert

🇧🇪Belgium vhelmont

Hello,

On Drupal 10, I installed the Bootstrap 5 Barrio theme.

When an article is selected, the un-selected menu buttons are difficult to read in the View Edit Delete Revisions toolbar (See red box in below image).

https://photos.app.goo.gl/aaeqQpimtMHwBQM37

Only the by default selected View button is OK.

How can I fix this in the themes style.css file or is there an other solution?

Regards,

Albert

🇧🇪Belgium vhelmont

Hello Liam_Lucas,

I have a PNG file on my Linux home directory documenting the problem, but I can't figure out how to upload the file in this editor using the Image button. Can you give me some suggestions how it works?

I added your your code at the bottom of my themes/custom/mycustom_theme/css/style.css and cleared the cache via drush cr, but I noticed no change even when I inserted modified colors.

Regards,

Albert
 

🇧🇪Belgium vhelmont

Thanks for the tip, I will try it.

Regards,

Albert

🇧🇪Belgium vhelmont

Hello,

In my local drupal 10 site:

  • I installed adsense using composer
  • $ composer require 'drupal/adsense:^1.4@RC'

  • I enabled the module by:
  • Clicking Administration : Extend and searching the Adsense block.
    I checked AdSense
    I checked AdSence ads.txt
    I unchecked AdSense pre-2007 code
    I clicked Install at the bottom of the page.

  • I configured it via Administration : Configuration : Web services : AdSense
  • Under the Settings tab
    I inserted my Site Google AdSense Publisher ID.
    I unchecked the Display anti ad-block request? box.
    I temporary checked the Enable test mode? box
    I unchecked the Disable Google AdSense ads? box.
    I checked the Placeholder when ads are disabled? Box.
    The Placeholder text to display message field contains:
    Google AdSense
    Under the Managed Ads I kept the defaults
    Under Custom Search I kept the defaults
    I clicked the Save configuration button.

  • Position the ADS in a block.
  • Structure : Block layout
    The Olivero theme must be active
    Search the block where the ADS must be displayed:
    Sidebar
    Click the Place block button of the Sidebar block
    Click the Place block button of the Managed ad block

  • In the configued block page:
  • I inserted an Ad ID
    I kept the other defaults
    I clicked Save block

In my case a adsense place holder is shown in the sidebar.
The status report shows no errors.
As far as I can test, the administration pages keep working.

Regards,
Albert

🇧🇪Belgium vhelmont

Hello Gisle,

I learned a lot from this thread, seems google isn't always write.

I'll put your advice to the test on my local test site and let you know the results.

Many thanks.

Regards,

Albert

🇧🇪Belgium vhelmont

Hello Gisle

  • /var/www/drupal/sites/default/default.services.yml has the correct permission:
    -rw-rw-r-- 1 www-data www-data 9069 Jul  1 14:14 /var/www/drupal/sites/default/default.services.yml
    

    The parent directory seems to be the problem:

    dr-xr-xr-x 3 www-data www-data 4096 Jul  1 14:14 default

    The 555 protection, which seems to be needed by drupal, prevents composer from moving, removing the file /var/www/drupal/sites/default/default.services.yml and creating another file in the default directory.

  • I always learned that a website under apache needs to be owned by the user www-data. Isn't that the case anymore?
    If the website is owned by www-data, how can composer update it, when not executed by user www-data?
  • At the moment I am the only person managing the code base but that will change in the future.
    I probably have to create a new user, which manage the code base, and give other people which also need to manage the code base, access to tha t user.
  • At the moment the full website is situated at /var/www/drupal/ and www-data owns it.
    Are you suggesting that I have to move the drupal directory somewhere in my home directory, make myself owner of it and change the protection of all the items under the drupal directory to 755 allowing www-data to access it via the world bit (5) and giving me full access.
    Won't using the 744 protection, you suggested, produce problems on directories?
    To make it work I probably have to create a symbolic link from /var/www/drupal/ pointing to the drupal directory in my home directory.
    Is this corrector or is there a better solution?

Regards,

Albert

Production build 0.71.5 2024