This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

In page anchor links cut off top of page

Just a shot in the dark here but I've been fighting with an issue trying to set up an anchor link from a link field that brings you down to a section of the page. The problem is it cuts off everything above it and you can't scroll up anymore. This is probably more of a CSS/markup issue rather than Drupal but I wanted to ask in case someone knows of an issue doing this in Drupal. Thx

Symfony\Component\Routing\Exception\RouteNotFoundException Error

Hi All,

I am new in D8, I just installed drupal and created on custom module, worked fine till now!

than I added first_module.links.menu.yml file in my module(seeing code from net), following is code:

first_module.my_page:
title: 'My First menu D8'
description: 'Example how to make admin setting page menu link, I am writting this i module_name.links.menu.yml file'
parent: system.admin_config_development
route: first_module.my_page
weight: 100

Than it started showing following error:

Looping over json object in twig file

Hi,

I have a REST response that looks like this:

Help with my first custom module

Hello,
I created a module that performs a REST call to a server but I don't know how to make the module public therefore usable in a public page.
Currently the module only works as an administrator but I need the result of the call to be visible to everyone.
Could anyone point me to a tutorial?
Thanks for collaboration
Andrea

Display custom block in twig file (without use of Twig Tweak module)

Hi,

I have a custom block in drupal 8 which I want to render using a twig file. The twig file is in my templates folder. Is there a way to do so without using Twig Tweak module?

Thanks,

How to display a module on a page with text?

If in Joomla I do this:
{loadmodule my_module}
display my module on the page, how to do it in Drupal?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions