This forum is for assistance with theme development.

Twig and Views

I've created an aggregated view of a certain content type 'faq'.

Each 'faq' node contains 2 entities - entity_icon and entity_faq.

After overriding the views-view.html.twig I want to print the values of those entities.

All I have is {{ rows }} which represent the list of found nodes.

How do I access the data of these entities inside the rows ?

Yaron

Hide Read More but still show the page views count on a Teaser?

I'd like to hide the Read More link from content types, I've done this by setting the Links to disabled on the Teaser, but then the view counter is hidden too. Is there a way to hide Read More but still show the page views count?

[solved] Drupal/Bootstrap, my SubTheme/css/style.css does work !

Hi,

the "*" means that before my auto-edit, it was "doesn't"; as it is an indication to use Bootstrap, I leave the message.

Drupal 7.63 Bootstrap 3.40

I did install my theme in sites/all/themes/ , copying bootstrap/docs/subtheme in sites/all/themes/, and changing the name by "mytheme";

--> My mytheme/mytheme.info has been created :

custom class for content type in a view or block template

I hope I'm not asking a question that has been answered somewhere... maybe I'm just not searching the right terms?

I am using the articles content type and have a few different views.  Page of teasers.  Sidebar Block of Fields (linked title only).

Change font color dynamically based on background

I have a few pages one with a full screen image and the other with a full screen video.  I have the main menu and site name overlaid on the image.  My questions is how can I make the font color change base on the background color.  I.E so that when the image is dark the text will be light and vica versa.

Member for

Hello,

how I can show how long someone user is a member on my site when he or she log in?

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development