Override page.html.twig for view

HI,

i have some pages built from view, and i want to change the page.html.twig, but i have no idea how to do it.

I have already made override for pages based on content type name, i tried some name like page--view-name page--view--view-name etc but with no luck.

Is there any code to be added on .theme file?

hope to get out of this trouble with your help

Remote Image as Media Entity?

In Drupal 8.5, is there a way to add a remotely-hosted image as a Media entity (so it can be displayed with Views)?

Spam plugin development + Sponsourship

Hi,

Just wondering if any drupal guru wants to have a go at developing a spam plugin via our professional api for drupal registrations.

If you are interested and want more details please get in touch via private message.

Thanks

Radio button in entity form

Hi,

I create an entity contain a field gender as a select list :

Drupal 8 - Where is CKEditor?!

CKEditor is supposed to be in Drupal 8 core, yet when I installed D8 I couldn't see anyway to activate CKEditor. All my text formats, including FullHtml are basic text.

Where can I find CKEditor in D8??

how to target page elements based on block position?

for example I want to add a class to form attribute in menu block

template page ( form.html.twig )

{% if page.primary_menu %}
  <form{{ attributes.addClass('form-inline my-2 my-lg-0') }}>
    {{ children }}
  </form>
{% else %}
<form{{ attributes }}>
  {{ children }}
</form>
{% endif %}

however this does not work, any suggestions?

a better question is how do I add a class to <!-- THEME HOOK: 'input__submit' -->

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x