


How to create a view to display event registrants?
I’m having troubles setting up a View that displays a list of registrants (not registrations!) for a particular event. I don’t know how to setup RELATIONSHIPS correctly? (I have already created a view that displays all registrations for a particular event,... read more
Custom validator for checking if fields match
I have two fields, value and copy that I’m trying to do some custom validation on to make sure they roughly match each other. So far in my module I have this: function HOOK_entity_bundle_field_info_alter(&$fields, EntityTypeInterface $entity_type, $bundle) {... read more
How to perform views date calculations using global math?
Is it possible to calculate date in Views like to calculate two cell using global math for this case? Example: Nick’s birth of date was 20/10/2005 Only 20 years old can join the club So before 31/10/2025 Nick cannot join the club, its mean Nick needs to wait for... read more
Redfin Solutions: Open Position for Full-Stack Drupal Developer
SoundCloud Repost Service SoundCloud Promotion Service Spotify Playlist Promotion Spotify Playlist Placements read more
Droptica: Best Drupal Hosting. Our Selection of Suppliers and Recommendations
Choosing the right hosting on which we’ll place the website or application is the first very important decision that we need to make. Many aspects of the functioning of a web page may depend on it. There are many hosting services, and each one may provide a lot of... read more
Gábor Hojtsy: Major Drupal configuration schema cheat sheet update – 7 years later
I apparently released the Drupal configuration schema cheat sheet 7 years ago (wow!) to help people adopt the then new format to describe configuration structure. I keep getting questions and requests about it, so decided to make a major update to it now and bring it... read more
Angular application and Drupal services
I am creating an Angular application using headless Drupal. I am using Drupal services module for web services. I am trying to implement login mechanism in this app. Login is working fine but to handle authenticated requests, it is necessary to use... read more
CKEditor Custom Paste Filters
SoundCloud Repost Service SoundCloud Promotion Service Spotify Playlist Promotion Spotify Playlist Placements read more
How do I show product attribute fields in a view?
I’m having difficulty with what seems straight forward and have tried many Drupal Commerce extra modules. Can anyone advise on showing product attributes in a add-to-cart form? I have product types: – “product” and – “boat... read more
Loading mixed content
I have a site loading over https. However, two items are being picked up in Chrome as targeting http, and I can’t figure out where to look to change them. They are: GSS search form: we are using Google Site Search module, and it’s posting to http. Drupal... read more
Upgrade Plan
TBD; SoundCloud Repost Service SoundCloud Promotion Service Spotify Playlist Promotion Spotify Playlist Placements read more
How do you make Varnish cache update when Drupal content changes?
I just started playing with Varnish cache. Looks like an awesome thing to have for speeding up page load times! How does one force the cached copy of a node/page/content to be updated when the content changes in Drupal? Would it be something in the VCL file? I am... read more
Custom Views Sort Order Using Filter Value
I have a View containing a list of events. There is a date field on the event content type which contains start and end time: There is a filter for start time, which is setup using the Views Between Dates Filter: This means that entering 11:00am in the filter will... read more
How to alter add content form to include a new setting panel?
Here is the code for creating a new Tab in the settings panel on “Add article” node. But it is not displaying.. what could be the errors ? function mltag_form_alter(&$form, &$form_state, $form_id) { if ($form_id == ‘article_node_form’)... read more
Is flush and clear cache the same? [closed]
Is flushing and clearing the cache the same? How should I I flush the cache? It seems like the only available option for me is clear cache, but I saw a video tutorial which uses flush cache in Drupal 7. What will I do to avail this option? Sponsored by SupremePR... read more
How do I call a function in a JavaScript file? [closed]
I have included a javascript in the module “myid” I’ve been developing in drupal by using this code: function myid_init() { drupal_add_js(drupal_get_path(“module”, “myid”) . “js/myid.js”); } This is my Javascript... read more
Add a canvas form element
I am developing a module and I have this HTML markup. <canvas id="cnv" name="cnv" width="500" height="100"></canvas> I want to add it in a form. Looking at the Form API reference documentation page, I don’t see... read more
How do I fix these errors?
I’ve been currently developing a module, which was working fine. Now, the console throws an error every time I click a link in the administrator menu. For example, when I click the Content link, I get this error. When I click the Dashboard link, I get this... read more