This forum is for assistance with theme development.

Module which identifies template files?

I have searched without luck for a D7 dev module which can help identify which template file is the source of each section of html output (I would imagine that it would do this by inserting comments such as
<!-- begin sites/all/themes/foo/bar.php.tpl --> and
<!-- end sites/all/themes/foo/bar.php.tpl -->

Is there such a beastie? Or some other means of determining what needs to be overridden?

Adding css to Drupal 8 Basic theme

On page 212 of the Apress book "Beginning Drupal 8", there are the following instructions to modify the Basic theme:

3. Create the CSS in the css/style.css style sheet to render the regions as 33% of the width of the page, floating each of the regions next to each other:

Render Teaser Image in search block using Twig

Hi, i am trying to render the teaser image in my search block using twig. I created a Entity Reference Media field for articles and i made a views taxonomy to display them, i've added a new display and called it "teaser". In my node--article--teaser-default.html.twig i display the Entity Reference Media field like this

Article list Layout

Hi, I'm trying to modify the layout of each article in the article list page.

Inactive products

Goodmorning,

Yesterday I did something really stupid , I got all my products put on inactive . Now my site is empty and I'm afraid I have to put 100s of items manually back on active status . Can this at once ?? Thanks in advance for thinking.

Marcella

Showing link/url values of Field Collection Module

I'm creating a page template and I like to output the values of different fields from Field Collection Module

Basically I have this line of code:

Pages

Subscribe with RSS Subscribe to RSS - Theme development