This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.
Hi dear
I use the statistics counter module in D8
This module does not display the number of views where I want and I want to customize the number of views in page
I needed a hook to put this {{ pageveiws }} wherever I wanted
thank u
I want to get route url in the JS file where I am writing an ajax function
My JS file is
Hello I cannot add javascript to my twig file
My libraries.yml file
register-form: version: 1.x js: js/register-form.js dependencies: - core/jquery - core/drupal - core/jquery.once donetyping: version: 1.x js: js/donetyping.js: {} dependencies: - core/jquery - core/jquery.once
My register-form.js in js folder of my module:
I need to get the main menu into a multidimensional array format. I know you can get the 'main' menu like this:
$parameters = new MenuTreeParameters();
$tree = \Drupal::menuTree()->load('main', $parameters);
But this gives me all links in the menu. I want the restricted version of the menu that has access restrictions. Any ideas?
Hi friends
i'm building a new site on drupal 8, but now all my content type is on drupal 7,
so the question is, how can i export all my content type and its content from drupal 7 and import on drupal 8?
i was thinkig to creare a xml file and read that file and save my content, but i dont know if there is another way to do that.
Could you please help me?
Regards
When I add custom twig template for my custom form it gives following error
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName()
My form buildForm is like this