Block: Where am I?

Hello,

I'm trying to create blocks for my module and besides the question how I can define where the block should be shown, I also need to know how I can show different stuff depending on which page the block is shown.

So for example if the block is shown on "/mymodule_country/*"/"entity.mymodule_country.canonical" it should show "population in this country" and if it is shown on "/mymodule_town/*"/"entity.mymodule_town.canonical" it should show "population in this town"

how can I do that, is there an example a can learn this from?

View Block only on certain pages

Hello,

I want to create a custom block as part of my module.
Then I want to show this block on two pages.

Is there a way, for example via these yml Files, I can configure that the block should be shown on pages with a certain routes.
I mean just like in the mymodule.links.actions.xml I would like to be able to create a yml file that says:

Add new page

Hi
i am new in drupal 8
and i create my front page in my website
now i want to create another pages like contact us page , about us

i used block layout to make the front page
how can i use blocks on my page if it possible?
how can i make these pages?
thanks

Viable CMS?

Hi All,

I'm completely new to drupal and first post on here. I am currently looking into using a new CMS for the company I work for.

We have a purpose built CMS but the resource is no longer available to keep it up to date, so I'm here.

The main feature of our CMS is the way it runs enterprise websites and I need a replacement CMS to do the same hopefully drupal can.

Chicken Soup for the Soul: Pet Food Site on Drupal 8

Pet Food Site Homepage Screenshot

Since early 2014, LCM has continued a productive, ongoing partnership with Chicken Soup for the Soul and supports their web properties and the associated infrastructure. In 2016, Chicken Soup asked LCM to launch two new and completely different Drupal 8 sites within a month. LCM worked off of prototypes from Chicken Soup for the Soul and was trusted to move quickly.

Sectors: 
Enterprise
Media
Retail and Distribution

theme installing in drupal 8.2.5

hi,
i am a newbie in drupal 8.2.5 when i want to install a new module for eg zen module(last version) in my drupal in localhost ..i have this error when i want to return home site (il y a une erreur inattentue)

please help me

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x