Essentially, I have a content type with two textareas and a boolean checkbox. I want it so when the box is checked, the first textarea will display, but if it is unchecked, only the second textarea shows. Essentially, the checkbox is a toggle between displaying the contents of the two textareas.
I am starting on drupal 8 module development so I am rather a newbie !
I tried to use hook_user_login by entering the following code in my loremipsum.module file of my loremipsum module:
/**
* Implements hook_user_login().
*/
function loremipsum_user_login(UserInterface $account) {
drupal_set_message('Thank you for logging in and welcome!');
}
But this does not result in a message displayed.
When I enter the codeline : drupal_set_message('Thank you for logging in and welcome!');
Dears , i have enterprise website built using IBM websphere portal and IBM CMS , we need to replace the existing CMS with Drupal CMS so is there any advise about that , based on my reading the only way is to expose the drupal data using REST(as JSON/XML) then build a code under IBM portal to read from a URL and display the needed data , but i believe with this i will loose the capabilities for both IBM & Drupal
I use NGINX as a web server - both as a front-end SSL terminator and as a backend to a Varnish v4 cache.
Now that Drupal8's here I'm trying to install it on that stack.
Is there any official/complete documentation on how to configure Drupal8 properly for use with Varnish v4?
I'm specifically looking for deployment docs that DO NOT assume/use the 'Varnish' module. I.e., I want a config that works with out-of-the-box Drupal8, with no additional modules installed or required.
Is that even possible with Drupal8? And if so where are complete docs?
i installed drupal 8 and i'm trying to set up bootstrap sub-theme.
i installed bootstrap theme from here: https://www.drupal.org/project/bootstrap,
i went to:
mysite > themes > bootstrap > starterkits. then i copied less folder into this directory:
mysite > themes > less.