I'm a Drupal newbie. Installing Drupal and modules, creating content-types and creating an image gallery all went very easy. I'm impressed by the power of Drupal. But then I tried to add a line of text to a specific content-type, I have been trying in vain for nearly a week...
What I did:
I have a custom content-type with machine name 'image_of_imagemanager'.
In theme debug mode I found the following possible template suggestions:
FILE NAME SUGGESTIONS:
* node--41.tpl.php
* node--image-of-imagemanager.tpl.php
x node.tpl.php
I'm new to Drupal and do not have any experience with twig and very little experience with PHP. I'm a front end developer.
I created a content type called Events which has 2 entity reference to a taxonomy term. 1 of the taxonomy term is called Venue and it in has the address field. How do I pull the taxonomy's address field value into my node--events.html.twig template?
I searched online and was able to get the taxonomy term title and that's it: {{ content.field_venue[0]['#title'] }}
I have a site on Drupal7 using bootstrap theme. I have 2 languages (persian and english) and I need to make a completely different pages for per language.
my default language (persian) has "page--front.tpl.php", "page--video.tpl.php" and "page.tpl.php".
now i want to have "page--front--en.tpl.php" for example.com/en , "page--video--en.tpl.php" for example.com/en/video and etc. In fact, I need a function (theme_hook_suggestions) for template.php.
My name is Santi (from Spain). This is my first time with Drupal - I would love to involve myself in this community.
We are trying to migrate our project from Wordpress to Drupal. We have no problems at the moment, but we need to find a good theme for a magazine. Our CEO is looking for a theme like the DailyWire.com one - they are using Drupal, as far as we know, but their theme is named "dw_theme" in their html: /sites/all/themes/dw_theme
I don't know if they developed their own theme, or they modified some existing theme.
So forgive me, I've only recently started using 'include' to load TPL files from my theme folder. What I was wondering was if there was a way to load a TPL file from an external server? I'm managing a base/sub theme combo for a large university, and I'd like to be able to load TPLs for the header, main menu, footer, etc. It would be really awesome if I could externalize the TPL files for loading into page.tpl.php (I'm using Zurb Foundation 5).