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
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
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 :
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).