In Drupal 8 how can I change the tag of a field

I created a custom content type that collects different fields of type text. I need some to display in <h2> tags and others to display in <h3> tags. When a page is rendered the fields are displayed in <div> tags instead.

I can alter the field twig template but i don't know if this is the correct approach.

Migration configuration, DateFormat: How to format 2018-09-20T20:30:00+02:00

My site (8.5) is set to Europe/Amsterdam timezone
I am using migration to import an atomfeed. The date source value is 2018-09-20T20:30:00+02:00
in my configuration I use:
<code>
field_from_date:
    plugin: format_date
    from_format: 'Y-m-d\TH:i:sP'
    to_format: 'Y-m-d\TH:i:s'
    from_timezone: 'Europe/Amsterdam'
    to_timezone: 'UTC'
    source: from_date
</code>

However this displays as 22:30
How to make it so that it actually displays 20:30?

Arabia Monitor Multilingual eCommerce Platform

Arabia Monitor Drupal 8 Website

Arabia Monitor is an independent economic and strategy research firm that specializes in the Middle East and North Africa (MENA) region. Arabia Monitor boasts 80+ years of experience distributed amongst teams of native analysts that specialize in Iran and all 18 Arab countries.

Sectors: 
Banking and Financial
E-Commerce
Publishing

Multisite database prefixes problem

Hi,

I am having the following issue:

When I create my multisite, I have one database and I want to share some tables like users, sessions, etc. For some reason, the shared tables are only created for the shared_ prefix, and my second_site, but not mydefaultsite. But I want those table to be created for each site as well.

Another problem that I am facing is that even if I have the shared_users and secondsite_users, when I create an user in my default site, it does not appear for my seconsdite. And I need to share users.

Adding video to drupal Open social

Hello,

I am testing open social that I find good: I want to give the possibility to user connected with the rights to be able to add video to the community;  Currently it can only add  image ..
In other words, if I want to say something to the community, I must also be able to add a video.

 Second thing, is it possible to replace Landing page Hero (the full-width image) with block of slideshow image ?
 

virk

Easier way to publish a block on multiple pages?

Hi All,
We are working on a new site which is content heavy (over 120 pages) and this need to be publish into both our Staging and Prod URL, I just wanted to know if there an easier way to push all those pages live in one hit rather than going in one by one and pushing it live one page at a time? 

any help would be appreciated

Cheers,

Sop

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x