This forum is for assistance with theme development.

Creating an Instagram link list view and template?

If you're not familiar with Instagram, you are allowed one link your bio. A lot of people use products like linkin.bio or linktr.ee as landing page to then link to blog posts. I have a Drupal 8 blog and thought why not solve this problem the Drupal way, so it brings people directly to my site and uses the same theming. But after days of trying out a few different things, I'm at a loss. 

Pager of comments

Hi guys.

How to get a pager of comments in template node.html.twig?

How to display 2 content by clicking on a tab ?

I have a page with 2 tabs.

I want the pills-public tab to display :

PUBLIC BLOCK 1

I want the pills-private tab to display :

PRIVATE BLOCK 2

PRIVATE BLOCK 1

Note that the 2 PRIVATE content is not in the same region.

How to do this ? The code below does not work.

https://codepen.io/anon/pen/JqwJQd

How to change 2 contents with a tab ?

I have a Drupal 8 site and Bootstrap 4.

On my page I have 2 tabs that change the block when clicked.

The first tab displays a single block, but the second tab displays 2 blocks.

The pills-public-tab tab should display :

{{ drupal_view('message_activity_stream_timeline_public', 'block_1') }}

The pills-private-tab tab should display :

twig to check value of field

Hi Folks

I am trying to check a value that is returned in the view-view-fields--classes--block-1.html.twig page

I have the page override working the way I want but Im stuck with two things actually that I am hoping you can assist with.

1. I want to change what is displayed based on the fields value, I've tried the following which I thought should work but doesn't 

How to scroll a modal window on Bootstrap ?

I have a site with Drupal 8 and Bootstrap 3

I created a custom module to display a page in a modal window. The page contains a lot of text and I want it to have a scrollbar on the modal window.

How can I do this ? Here is the code of my module and the information I found :

https://getbootstrap.com/docs/4.3/components/modal/#scrolling-long-content

Pages

Subscribe with RSS Subscribe to RSS - Theme development