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

autocomplete doesn't report anything (since migrate from Drupal 9.3 to 10.2.2)

Hello,

I'm working on Drupal 10.2.2 version. I have a field which is an entity reference of view which returns 2 contents type. One can fills this field by an autocomplete mecanism.

When I type a letter in the autocomplete field, there is no proposed result. 

This solution worked on Drupal 9.3 version but since the web site is migrated to Drupal 10.2.2 it doesn't work. When I go to admin view interface there are results in the entityreference view.

In the Log entries, the only message I have is a warning message :

How to exclude some node fields and all comments from search dataset and search index

I am running Drupal 10.2. I just enabled the search module and it created search dataset table . This dataset includes everything on the "viewed" page ... all node fields including taxonomy terms and comments.

I do not want to add comments and taxonomy terms in the search dataset.

Is there any way to exclude some node fields and all comments from search dataset ?

Please let me know

Clear deriver cache on entity based block deriver

Hi !!

I build a module to create some blocks, based on entity creation. I have a "Banner" entity, a BannerBlockDeriver deriver and a BannerBlock block implementation that use the BannerBlockDeriver class as deriver. The BannerBlock implementation allow the user the select the view-mode to use on display.

All is ok : I can create a new "Banner" entity, attach an image and the deriver generate a new block with my entity informations. I can embed the block via the block layout panel and add my own block configuration.

toc_js module not returning table of contents

I am using the toc_js module to load a table of contents at the top of a content node. Currently experiencing a problem in the container is rendering on the page but non of the headers <h2> - <h4> load. I have attempted to debug this in the wiziwig and in the module but have had no luck. This is the user experience right now. Does anyone have experience debugging this issue and/or know what to do here?

How to use hook_views_post_render function to make changes to rendered view?

I have got a view showing a table of rows of records. I want to change some table cell values after the view is rendered. So I thought hook_views_post_render is the hook I should implement in my module. I tried to change the cell values and they changed inside the implemented function ... however on the html page output I still see the old strings.... Means the changes I made have vanished.

I was/am under the impression that since the signature of this function is ...

Keep Russian characters in url

Hello,
i am wondering how to keep Russian characters in the url alias that is generated by Drupal.
ex.

Спорт и природа

alias generated is = /sport-i-priroda
but i want to keep
/Спорт-и-природа

Any idea ?

Pages

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