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

Publish hidden pages and include them in the menu

Hello

We took over a website from a customer that was built with Drupal 7.64. Now we noticed that there are a few pages in Google that cannot be accessed via the website.

Can someone tell me how I can find these in Drupal and then integrate them into the menu or make them visible?

Is there something like a directory where all pages and their associated status can be seen?

Thank you!

setExposedInput and Search api locations

I want to use setExposedInput($param) views API in order to set input need by the module "Search api location".

What values for $param, given that through the browser url when I have to use for exemple geofield[distance][from]=10&geofield[value]=56.555552,2.6326965 in order to get the results inside a radius from a latitude/longitude

Custom Search Conversion - from Latin to Cyrillic during the search

Hi All,

I am building a local community web site which will be fully written in Serbian Cyrillic. Problem being is that we in Serbia use both Latin and Cyrillic. Now, when user searches in Cyrillic, Drupal search does it job. However, the search will not work if user using Latin for search.

I have never developed any Drupal module, and bellow is a code I have come up with, but it doesn't work.

Any help would be appreciated.

<?php

[BUG] The Content > Content tab is displayed by Claro theme even though the Node module is not enabled

I'm developing a CMS using the Drupal 9 framework and it only comes with custom entities - hence the Node module is not enabled and will never be. Still, the Claro administrative theme displays the Content tab, and consider it as the default tab when the Content section is displayed.

Of course, the Node module being disabled, there can't be any administrative item to display here.

I assume this tab is hard-coded instead of the tabs list being dynamically constructed based on the registered entities.

jsonapi This entity (file: 100) cannot be referenced

Following practices for uploading files that are part of POST  binary files associate with a node in this post, I can see it successfully created by visiting mysite.org/jsonapi/file/file/ 

Where is the API documentation for core field definitions

Hey community,

I'm developing a Drupal module that adds custom entities. These entities - obviously - come with field that are defined in the code by field definitions - instance of Drupal\Core\Field\BaseFieldDefinition.

The problem that I'm facing is that I don't know where the API documentation of the core field definitions is. Typically, I have no idea how to setup a "file" field because I can't find the documentation for the settings that this field definition accept:

Pages

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