I have a custom module and now I'm creating a custom theme for it, I d like to override the tpl.php file so I can theme where the fields go on the page.
I'm going to do this in a theme and not in the module so I can learn more about how to write a theme but what would I call my .tpl.php page for every page that is meeting/% and a different one for meeting/%/edit.
These pages call data back my fields from a custom table in the database so they are not content types.
Hello :) I have a problem in my DRUPAL 8 project can you help ?
So I have a content type (Product) and i have a field related to a contact form (Product Contact Form). I created a custom twig template for display the nodes of all products in my theme. In the template i am trying to manage the display the fields of the contact form on by one instead of render the full form. I already made the renders of all fields but i cant have access to the attributes of the form tag and without that i cant submit the form data. Do you know what i a missing ?
Under Optional Steps #7: Choose your preferred page layout method or grid system. "By default your new sub-theme is using a responsive layout using Zen Grids. If you are more familiar with a different CSS layout method, such as Susy, Foundation, etc., you can replace the layouts/layout- line in your styles.scss file with a line pointing at your choice of layout CSS file."
What would be the benifits of using views-view-mypagename-page.tpl.php vs page-mycontenttypename.tpl.php?
I'm making customized pages for a site. I currently have created a few custom content type for instance (testpage), and then created a template file page-testpage.tpl.php to control the look of those specific pages.
I was told I should be making view templates instead, example (views-view-testpage-page.tpl.php). Can anyone tell me the benifits to making a view-page instead of just a page of a certain type?
I'm new on Drupal! I need to create a custom template for a form that i have on my page. I saw on the core templates that exist a form.html.twig file. I copied this file to my custom theme but i don't know which name should have it. The file name suggestions doesn't appear while i am debuggging.