This forum is for assistance with theme development.

Implementing core functionality to theme content type

Hi

What is the best practice when one wants to implement core functionalities into a theme content type?

For instance; when I create a content type of whatever, I can implement modules like Node Embed, and it works for this content type, but is it not working if I make theme content type? Am I missing something here?

Anything is hugely obliged!

Slideshow panel size incorrect

I can't seem to find what is causing this problem. Maybe I've stared at it too long and am just missing it.

It's on this page: http://inv3nt.tgci.com/

The "Check out our trainings" block

The code is inserting a width that is not correct. You can see it when you do "inspect". You'll see that it says:

page.tpl.php override in a Zen subtheme: renaming templates/ folder does not restore the default page.tpl.php

To override the default page.tpl.php template in a Zen sub-theme I have placed the overriding page.tpl.php in the templates folder. This worked fine.
Then to restore temporarily the default I have renamed the templates folder and flushed all caches but this
did not work as expected.
The overriding page.tpl.php continued to remain active and to restore the default page.tpl.php was not enough to rename the templates directory but was necessary to empty it or delete it.

Zeropoint Theme: How to get url or alias in rotate.php?

I try to modify the rotate.php in /zeropoint/_custom/headerimg. The goal is to enance this script to get on some specific pages a specific background not a random one as like on all other pages. Therefore I want to evaluate the url, node id or the alias of the page.

But what ever I try, I don't get this information.
Has anyone an idea how to get the url, node id or alias of the page in this specific script "rotate.php" by drupal standard function or variable?

Many thanks in advance

Cleaner template source code?

Hi everyone,

I’m new to Drupal so forgive me if this is a really basic, stupid question but here goes...

Get registration form

Hi guys,

I am just getting started with Drupal, and seeing how Drupal 8 just came out, I figured I'd just start with it.
I managed to create a new theme, to make the front page pretty much look how I want it.

The problem I am facing is that I need to have the registration form on the front page, maybe in a pop-up.
I could really use a step by step mini-tutorial of how I can achieve that.

Pages

Subscribe with RSS Subscribe to RSS - Theme development