This forum is for assistance with theme development.

New to Drupal: How do I identify which .tpl file is associate to a particular view/node/pane etc?

I've never used Drupal before and have been given a task of simply adding some CSS classes to a View element on the page.

When I click on the little gear icon and select Edit I am taken to a 'Details' page where I see Title, Pane settings, Fields etc, but no indication of which .tpl file I would need to edit to change any HTML.

There is a Theme: Information link in the 'Other' section but this lists about 40 .tpl files, none of which seem to actually exist in my theme's directory.

Can anyone point me in the right direction here?

Many thanks in advance!

Contact form on specific path

Hello everyone. I want to have a contact form on my website. I intend to use Drupal's core contact module. Now by default Drupal places the form at /contact. I have built a custom theme with a custom layout, I want the form to appear at a page I created, /contactus in a specific region of the page.

This is possible right?

Drupal 8 Theme Issues

Hi! I'm new to Drupal. Very new. I started using 7 last week, but decided to play with 8 on a new install to see if this was something we needed to use instead of 7.

I tried copying the Bartik theme which came pre-installed in 8. It works, except it seems to be missing a lot of the formatting, like the size boxes and navigation. The originally installed Bartik theme works fine, but the copy does not. I also tried installing other themes which were 8 compatible, and they're also missing styles and formatting. The only one which works is the original Bartik theme.

How override the default form template ?

I generate a simple module "myformtest" with a simple Class form "MyformtestForm". I want override the default form template and pass to the template a custom array generated from my build method of form Class.

I followed this great tutorial . I added a "_theme_suggestions_alter" hook in my "myformtest.module", I also added the hook theme.

My "suggestion theme" is "form--myformtest-form.html.twig". Then in my module directory:

Theme especifico para cada View

Hola, perdonen las molestias. No se si este es el foro indicado ya que es la primera vez que entro.

Fatal error: Call to undefined function user_profile_form_submit()

Bizzarre problem. This core function exists and works perfectly, but when the theme 'Rebuild Registry on Every Page Load' setting is *DISABLED* I get this error:

Fatal error: Call to undefined function user_profile_form_submit() in /sites/all/modules/prlp/prlp.module on line 134

Context:
I am using the Password Reset Landing Page module (https://www.drupal.org/project/prlp).

Pages

Subscribe with RSS Subscribe to RSS - Theme development