This forum is for assistance with theme development.

Deprecated function theme on D8

Im trying to replace some php code in .php.plp file to change it to a html.twig file, i dont know if im able to replace all the logic with just twig when i have php code deprecated or drupal functions wich one i cant use inside twig tags, and of course i can't use php and twig on same file (at least with my knowledge).The php.plp code is 

how to create drupal 7 theme using viewer and content

Now i have create drupal 7 theme my homepage contain some block/regions as bellow

1.header
2.catwalk
3.topstories
4.footer

the content type contain fields( title, body, category (in order to classtify catwalk news and topstories news , image) I have 6 news ( 3 news for catwalk and 3 news for topstories) i declare the mytheme.info as bellow

Render webform form in twig template

Hi,

I would like to render one of my forms built with the webform module in my twig templates, how can I do this?

Thank you

How to test the existence of a file in a webform email twig template

Hi, I have a webform with a Document File field. In my twig email template, I want to test if that field is empty. For text area fields for example, this syntax works :

Cloned View CSS Problem

Hi All,

I've inherited a website that is built on Drupal 7 using what appears to be a modified version of Zen Gravity Starter. Unfortunately, the original developer who created this site is no longer available, so I need help working through this issue. (Quick side note, I'm very comfortable with WP, but I am new to Drupal).

Ansible playbook for Theme/Core?

Hello, 

Is there a Ansible playbook for theme/Core updates?

I would like to auto update the core/theme every time there's a new release of core/theme.

Is there any such script which enables this feature automatically, especially with ansible playbook?

Thanks in advance!

Pages

Subscribe with RSS Subscribe to RSS - Theme development