This forum is for assistance with theme development.

Drupal 7 Theme from Scratch Documentation

Rather than relying on a hundred or so browser bookmarks to reference, I've chosen to document everything I've learned online on how to create a Drupal 7 Theme from scratch. It wasn't easy and it wasn't fun and I don't wish to do it again. So I posted a web page for myself and my colleagues and now I'm sharing it with the community. Feel free to use it as your reference guide and I'd love to hear your feedback.

Drupal 7 Theme from Scratch

site/user not showing the logon

Hello

I am a Drupal-newcomer who had for a various reasons a splash-in entry into Drupal-world.

I have quite successfullly deployed two new sites in a couple of days. Because of the time window, I chose (at least to start up) the fast road, converting the HTML-code more or less straight into page.tpl.php.

The first site works fine but the second one doesn't show the login window, even with /?q=user or /user.

It says though "User account" on page title, but no form is available.

Field suffix

Hi,

I need to customise certain text fields in the node edit form by appending a suffix (ex. adding KG after a weight value).

The integer field won't work because not all the values should be numerical. It's easy enough to add the suffix with DisplaySuite or other modules, however I need it displayed also on the node edit form, so the user is aware that the suffix will be automatically added.

Thank you.

Firefox Block Display

Hello,

I have been using bartik theme to develop my website. I created a new block called menu block. I placed the superfish menu and slideshow in the block. It works good in safari , chrome and IE browsers. But in Firefox browser the image comes inline to the menu bar and goes out of the page.

Any help will be appreciated.

Thank you.

Drupal 8 : Big problem to see my block from a view

Hello,

I am friendly with Drupal 7 but Drupal 8 makes me sick.
I have two big problem and I think that I am not alone.
I've created a view for a block but I can't see it : I have an error message : Template "core/modules/views/views-view-fields.html.twig" is not defined ().

The other problem is the upload and display of the pictures with CKEditor. Nothing appears. My PHP config is ok. With Drupal 7, everything was OK. In the block, same problem, no pictures. Everything that I've tried NO picture appear in my website.

Please help me I am going crazy !

field--node--field-fieldname.twig.html need some help

Hi,`

i´m using D8 and i need some help with my field--node--field-fieldname.twig.html
I want that my field is only shwon for logged in users, so i tested:

{{logged_in}} and {{is_admin}}

these variables are ever 1, so i think i do not get the right variables, or i can not use them.

I want to do it like this:

Pages

Subscribe with RSS Subscribe to RSS - Theme development