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

Video Embed custom thumbnail

Hi all,

How to get theme suggestion file working?

Hello,

This is the first time I am trying to get a simple custom module working with theme suggestions. The theme suggestion is showing in the twig debug output, but the actual twig file is not being picked up (used). I have looked at a few articles and the various API docs, but I am not able to figure out what I am missing.

My module name is: "programs".

In the base twig file (programs.html.twig) it simply outputs five letters: A, B, C, D, E.

How to Get Value of Customized Field of a Node Type

hi,

  We have a store entity type, and some new fields are added, such as Address, Phone# and etc.

  We want to display those value on the page, instead of the format in {{ content }}, we need to access the value of store.addresss in node--store.html.twig.

  However, we dump the variances available in this twig file, we cannot find any one related to message Address.

  How can I access the value in node--store.html.twig? Will this need to done via some hooks?

Thanks,

Way to show a list of filters

I just made a custom filter module for a site I'm designing. I got to wondering if there is a way to show all the filters, including custom ones, that a user has available?

sql not accepting symbols

Hi, i use Long text and summary field for comments

when users comment with symboles (for ex: 💜█ KiLLeR SpIDeR💜█💜 ) i got this message: 

The website encountered an unexpected error. Please try again later.

Pages

Subscribe with RSS Subscribe to RSS - Module Development and Code Questions