Hello everybody,
i am from Switzerland and i am new to Drupal .Firstly, sorry if my english is not very good.
I have a problem with drupal 8. I have installed drupa in local on my pc. I use Wamp.
Every time I clear the cache or install a new module, i have a white page with only : "Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it. "
I dont know how to not have this message . Could someone help me step by step to do to not have this message ?
I'm currently developing a new theme for Drupal 8. I really like the markup of Classy, using classes like menu--main in the markup. Primarily, I'm just using Classy's markup and implementing my own CSS styles. So, often I need to remove Classy's stylesheets or overwrite styles. I know, that you can remove stylesheets one by one, by adding a line for each stylesheet in .info.yml file, like:
Hi,
New to Drupal and this forum, and I am creating my first Drupal 7 theme. This question, or similar, may have been asked in the past, so my apologies if it turns out to be the case!
I'm working on my first Drupal 8 site and I'm having trouble with the php ajax forms when I place them into twig templates.
For example, I'll access the form using the path and the ajax events will work.
When I access the form rendered on a twig template the ajax events won't fire.
To get the form in the TWIG template, I'm using a preproccess_html hook and loading the form with the drupal form builder.
My question is how do I get the AJAX events to fire when rendering my form in a twig template? Do I need to create a twig extension?