Recently Active Questions

0 votes
1 answer
706 views

How to create reusable custom block templates or duplicate existing blocks?

Drupal noob here. Problem: Unable to reuse blocks created using Bootstrap Layouts module; being forced to manually re-enter data in order to duplicate a block in a new locaion. Details and any ...
1 vote
2 answers
577 views

Fixing identical Latitude/Longitude data for markers on maps (bug)

I have a Drupal 7 project that I want to add location information (latitudinal/longitudinal) to most of my content types. Currently I have noticed that if there are multiple nodes that are shown on a ...
0 votes
2 answers
828 views

How do I create a sticky navigation bar in Open Social?

I'm using D8 and working on new theme in Open Social witch uses bootstrap/sass. In my theme I want the navigation bar (in the header region) to be sticky at the top of the screen. I've made some ...
0 votes
1 answer
572 views

How to disable Rich Text Editor in image field caption ?

I am using Image Field Caption module. It provide a image caption field but I don't want any rich text editor appearing for the caption field. How to disable that for any specific field?
0 votes
1 answer
1k views

Custom form validation

I've created a custom module for populating a database and now I need to apply form validation to this form. I want a few different validation things to happen. I want to limit specific entries on ...
0 votes
1 answer
14 views

How do I get a list of deprecations when running phpunit tests?

When running phpunit tests, it will often output a list of deprecation notices; example: Remaining self deprecation notices (3) 3x: Renderer::renderPlain() is deprecated in drupal:10.3.0 and is ...
0 votes
1 answer
424 views

views to display list and related content on same page

I have created a veiws block which displays all the taxonomy terms of a particular type. This block is in left sidebar . Now what I want is ,"when i click on any of the term all nodes related to it ...
2 votes
1 answer
461 views

Pseudo field show/hide setting per node

I have created a pseudo field using hook_entity_extra_field_info() and displaying markup using hook_entity_view(). How can I create a checkbox setting in node create form so that I can show / hide ...
1 vote
2 answers
699 views

Add custom field in exposed form in view

I have a view with exposed form. I want to add some custom select field in this exposed form. I have tried with hook_form_alter() but the field is rendered in form submit button wrapper which is ...
2 votes
2 answers
424 views

Simplenews + Mime Mail + SMTP = occasional blank email

I have a client site that uses the Simplenews module with the Mime Mail and SMTP Authentication modules. The subscriber list has a little over 300 email addresses, and when newsletters go out the cron ...
0 votes
0 answers
6 views

Max message length of unique element of webform

The max message length for element marked as unique is 128. How to increase it? Note that the default message length is 155.
0 votes
3 answers
2k views

Automatic Node Expire / Unpublish with Renew Option

I have a classifieds site and would like to have a node expire after 45 days (unpublished), no matter how many times the user edits and saves the node. However after the node expires, the user has the ...
0 votes
1 answer
426 views

How to display specific blocks for specific roles alone w.r.t domains and subdomains

I want to display specific blocks for specific roles alone with respect to domains and sub-domains. I know i can give permission for roles in the block to be displayed.How do i differentiate anonymous ...
1 vote
1 answer
577 views

Add a user/author field formatter

i have a site where I use display suite for custom page display. And all works. Now I need to add a custom field formatter for the "Author" field, but I don't find how to link "author" to a new field ...
1 vote
3 answers
959 views

"[node:flag-vote-count]" displays the token name, not the number

I have a problem in the Flag module with the [node:flag-vote-count] token. I googled for a solution, but I couldn't find one. On my content page, the Flag module displays the token name (i.e. [node:...

15 30 50 per page
1
2 3 4 5
5877