Drupal 8: custom module translations (.po)

Hi!

How to use the D8 .po translations in my module after module install?

# mymodule.info.yml
name: mymodule
core: 8.x
version: 1
type: module
package: mymodule
description: My module.
interface translation project: mymodule
interface translation server pattern: modules/mymodule/translations/%project-%language.p

The lang file is:

mymodule/translations/mymodule-hu.po

The drush did not use it!

Menu items with Superfish menus

Hello,

I have been using Superfish for the creation of multi-level menus (Drupal8). In a tutorial it is mentioned that "every menu item has to point to a piece of content". Maybe I simply don't understand something very basic, but... 

All I want is that when clicking on the top-level menu item I want to see the menu items expanded immediately under it. In most of MY cases, there is NO "piece of content" a top-level item could point to but only subordinate menu items. So I want my menu structure to look like this:

Resizing images on viewsSlideShow

Hello,

I have defined an image slideshow for my startpage, using "VIewSlideShow". The dimensions of my images need to be adapted to the dimensions of the main-content container. I am using a subtheme of bartik on DR8. Is there a way to accomplish this easily - or even with some difficulty? E.g. - I want to use container percentages for width/height of the images, not pixels...

Thanks for any hints

H. Stoellinger

Invoking Drupal 8 from a client-executed PHP script

I have another question running about how to include a Drupal 8 page with PHP here:
https://www.drupal.org/forum/support/module-development-and-code-questio...

This question is slightly different.

Migrate files from drupal 7 to drupal 8

I have Drupal 7 website and i need to upgrade it to Drupal 8 i’ve followed drupal website documentation for upgrading to drupal 8 using web browser https://www.drupal.org/docs/8/upgrade/upgrade-using-web-browser#source-site

Now both sites installed in the same server with different domains.

Resizing images on viewsSlideShow

Hello,

I have defined an image slideshow for my startpage, using "VIewSlideShow". The dimensions of of my images need to be adapted to the dimensions of the main-content container. I am using a subtheme of bartik on DR8. Is there a way to accomplish this easily - or even with some difficulty? E.g. - I want to use container percentages for width/height of the images, not pixels...

Thanks for any hints

H. Stoellinger

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x