Top new questions this week:
|
I'm writing a migrate source plugin for migrating D7 entityform (entityform module) submissions. If anyone has done this or knows an existing plugin, please let me know.
I am trying to extend the ...
|
A disclaimer first: I am a professional medievalist, not a programmer or a front-ender. I have some front-end knowledge, but not a lot. So, please, be easy on me.
Now, I am customizing a Bootstrap 4 ...
|
I have following content types: "Person" and "Publication" and I'm showing the publications using a view on a page, showing title, year, venue and authors. The authors in "...
|
I want to send notifications to users that have posted in a comment thread. I need to get the user IDs in an event subscriber that will be triggered when comments are created/edited, so performance ...
|
I'm new to Drupal (having used Perch CMS and PHP for years). Forgive me if I bumble the terminology a bit. I've been furiously going over documentation and tutorials. Sorry in advanced for being ...
|
I have a CSV file with two rows. I executed the migration and two nodes are imported.
Now I deleted one row from the CSV and execute the migration again.
I now want to unpublish the node which is ...
|
Ok so i have a custom entity and want to display a custom delete form. Have created the Route and everything works except for Drupal messenger displaying status message after submission, even after a ...
|
Greatest hits from previous weeks:
|
How can I change a user's password from the command line using Drush?
|
I ajaxly call a route and pass data to it, In my controller, I want to get $_POST['var'] , $_POST['var2'], it seems because of using HttpFoundation in drupal 8, $_POST and $_GET are not exists in old ...
|
I have this very basic block which just shows the current node's ID.
<?php
/**
* @file
* Contains \Drupal\mymodule\Plugin\Block\ExampleEmptyBlock.
*/
namespace Drupal\mymodule\Plugin\Block;
...
|
I created a view block, whose machine name is "news."
How do I display it using module_invoke() and the machine name of the view?
|
I wanted to retrieve taxonomy terms from a certain vocabulary in Drupal 8.
Apparently I can still do it using taxonomy_get_tree but it's deprecated.
I now have to use TermStorageInterface::loadTree
...
|
this has driven me crazy, I just couldn't find out what is wrong with it.
I moved my site onto a test directory under my domain '/drupal_test', I have transferred the database over, set up ...
|
Do you have any idea on what might be causing this error when I execute:
drush si geoslate --db-url='mysql://root:root@localhost/geoslate' --site-name=Geoslate
Command site-install needs a higher ...
|
Can you answer these questions?
|
I added a custom permission on "admin/commerce/config" to disable access for certain user roles.
class RouteSubscriber extends RouteSubscriberBase {
/**
* {@inheritdoc}
*/
public ...
|
Im currently using Drupal's http client manager module to pull data from a json endpoint. I am having trouble getting this to work for a nested structure like this.
{
count: 2431
page_info: []
...
|
In the Group module people can upload files if they're group manager. But the thing is, these files should be restricted to the group and everyone who isn't a member may not see this files.
The ...
|