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?
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.
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?
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.