Basic 2 column + side bar Bootstrap 4 Drupal 8 [Howto]

Hello.

I'm deploying a new website with Drupal 8 and have initial contents and the structure (content types, menu, pages, blocks and views) ready under latest Drupal 8 version. Now I'd like to style it making use of Bootstrap 4 which I've already used in other (non-Drupal) projects. I've found 3 main Bootstrap Drupal themes:

  • Bootstrap 8.x-3.11

  • Bootstrap Barrio 8.x-4.9

  • and Bootstrap Mint 8.x-4.0

Views Filter Group And/Or not functioning in 8.5.3

Hi.  On all of the upgrades we've done to 8.5.3 we've noticed that the Views filter group function is broken.  The UI doesn't function correctly; dragging a filter into the "box" results in the filter being placed outside of the box unless very careful and a second filter cannot be placed in the box.  Weird behavior.  An additional, 3rd,  And/Or selector is created and finally we're unable to save the results.  Nothing appears in the logs.  Some of this behavior was present in 8.4.x but this function was usable.  Now it seems completely broken.  Is anyone aware of a patch or workaround for

Views 3 Field HTML Output

Hello,

I want to display HTML in a personalized field in Views 3. But Views is cleaning HTML code and removing thing I need like inline style which is my purpose.

Even on rewriting other field type output, inline style is stripped.

I want to ouput something like this :

<div style="background:url(image.jpg)"> Some content </div>

Please, don't tell me to put CSS elsewhere because in this particular case it will not work. I have to get the background image from each view row.

Thank you for you time.

Changing the output of a view field

Hi,

I have a view that has the title of a specific content type. I'm trying to apply a function on it. Considering for instance the template views-view-field--title.html.twig which has 

Separate my "Views" result with a horizontal rule

Hi.  I'm currently trying to port my website (made with a custom CMS) over to Drupal 8.x.  For the "blog" section on my site, I have it display 5 of my posts at a time, separated with an <hr> tag.  I've figured out, using the Views module, to get those "5 posts at a time," but I can't see to figure out how to separate the results in the content area of my site.

How can I get this to happen?

How do I get a term's parent, for rewriting label?

I'm using Facets to pull in some filters based off taxonomy terms. What I need is to be able to rewrite the label of a term to include parents. 

in other words, instead of:

- ParentTerm
--ChildTerm

I want "ParentTerm ChildTerm"

As an absolute beginner in writing modules, this gets me almost all the way there: https://www.drupal.org/project/facets/issues/2941661

...but I don't know how to pull in a term's parent to use.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x