All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Using Drupal 8 Feeds with Xpath parser, can I concatenate two attribute values that appear in a single tag?

I have a dataset content type and an xml structure like this: <dataset> <purpose>blah blah</purpose> <abstract>blah blah</abstract> <authors>blah blah1, ...
0
votes
0answers
12 views

Custom link in views block

Drupal 8. In Drupal 7 i did this with https://www.drupal.org/project/views_panes_more_link I have multiple blocks in views and i add them to sites. I used panels but i am open to any soulution with ...
-1
votes
0answers
19 views

How do I get the node values a preprocess function? [duplicate]

I want to get the value of some fields for a particular node in a preprocess function. I have done a test, but it doesn't show the values I am looking for. This is the code I am using. function ...
0
votes
2answers
21 views

Is there a way to create a Webform automatically via script using Drush or another method?

I'm automating a base Drupal 8 install using a bash script with Composer and Drush commands that installs Drupal and uses Drush and other methods to set my basic site configurations. I'd like to also ...
1
vote
0answers
9 views

Metatag migration from html

Drupal 8.8 Modules: Metatags & Migration plus. I am trying to convert a tag in an XML file to an open graph image metatag. File: modules/custom/my_module/dataxml.html This is the url that has ...
-4
votes
0answers
18 views

How do I create a workflow in using a JSON file? [closed]

I want to create a workflow with these functionalities. How can I achieve them? Create a PDF file and name it Textbook-{Name}.pdf The PDF must be password protected and the password must be {ID} ...
0
votes
0answers
11 views

How to use Media Library Tab order widget in CK editor

I'm trying to make the media embed button in CK to behave the same way as a Media field with the widget set to Media Library Tab order. At the moment, I can only select a view (see screenshot) What ...
-3
votes
0answers
36 views

Will Drupal meet my needs? [closed]

I need to create content for a number of clients which will be posted to their websites or to social media or even adverts. I have built the posting tool and I have built an ability to consume RSS ...
1
vote
0answers
21 views

Render blocks of custom type

Either I'm stupid or I can't search. Sorry if this is a duplicate, but I can't find any answer to my problem. I made a custom block type in admin panel, named it content_under_listing, and then I made ...
0
votes
0answers
12 views

How to change the Add another item button text for a multivalued field?

I have tried with this in template_preprocess_input function mymodule_preprocess_input(&$variables) { $element = $variables['element']; if (!empty($element['#name']) && $element['#...
0
votes
0answers
16 views

How can i move public file directories files & folders to the public file directory in drupal 8? [duplicate]

I want to change the file directory path to private from public but i don't know how to move the previously uploaded files to the private directory.
0
votes
0answers
13 views

Custom column in commerce view?

I have a view that lists all the orders. I want an action/operations column in the view which has buttons/links for eg: edit, repeat, delete, upload, download, reset, print. I cannot find a way to ...
-1
votes
0answers
15 views

how to remove local task menu from the page for a paticular user in drupal 8

good morning guys , in my project i have a content type with a field 'admins' with a list of user , i want to show the task menu and give to those admins and to grant for them the right to edit and ...
-2
votes
0answers
17 views

How to solve theme Jquery error? [duplicate]

I have a CRM application running under drupal 7.x which seems to be working fine with default theme. I wanted to revamp the website so installed a different theme. But after installation keep ...
-3
votes
0answers
18 views

How to add custom style css and script file for wysiwyg editor in drupal 8? [closed]

I want to change the list style type when every time user press the tab button. I want to write my custom css and script to perform that function.
0
votes
0answers
15 views

twig template to fetch details of linked nodes

I have a content page say content type "spl content" which has few related pages(added using field entity reference). when i create page in admin I can link multiple pages to my page using entity ...
0
votes
0answers
19 views

Manage Display Format options not saving

I'm trying to edit a field label under Product Type > Manage Display. I expand the settings and type in "Product Name" and his "Update" and then scroll to the bottom and his "Save". When I expand the ...
1
vote
0answers
40 views

Create a route that redirects users to a path via parameter

I'm working on a custom module that needs to act as a mediator between a third party service and this Drupal site to manipulate some parameters. I've created a route: my_module.process_redirect: ...
0
votes
2answers
31 views

How can you filter an integer column by “Starts with”?

I have a view, and I want the users to be able to filter on an Integer field. String fields allow for filtering by 'Starts with'. I would like to do the same but with an integer. If the user enters ...
2
votes
1answer
18 views

How to add highlighting to exposed views_autocomplete_filter in Drupal 8

Is there a way (a hook perhaps) that would allow me to modify the autocomplete fields returned by an exposed views_autocomplete_filter field? I'd like to style the text typed into the field ...
2
votes
1answer
41 views

Error “The module ldap does not exist” after composerizing project

I've inherited a tarball-based Drupal 8.7.8 project. I'm moving it to new hosting, and assuming responsibility for updates and maintenance. After updating core to 8.8.2, and updating all contrib ...
0
votes
0answers
15 views

Deployment of full database dump still causes error

I want to deploy my local DB to a staging server. The local DB dump was exported with all tables. Including the "cache_" prefix table structures with no data exported. After deployed to staging (...
1
vote
0answers
23 views

How to change <drupal-entity> to HTML

I have a view that returns JSON-serialized content. When there is a link to a file embedded in the content, the response includes the embedded file as tag, rather than regular HTML. My front-end app ...
-1
votes
1answer
21 views

Allow guests to subscribe to specific taxonomy terms and send them weekly updates/notifications

I would like to display a block to my visitors, where they can enter their email, name and a list of topics (taxonomy terms) they are interested in (e.g. "technology", "health", "science"). When ...
0
votes
1answer
38 views

What's the proper way to refer to all the code in `core/lib/Drupal`, or the code in `core/lib/Drupal/Core' or `core/lib/Drupal/Core/Foo`?

When we say 'core' we mean the whole of Drupal core that you get from the Drupal project page. On D7, core code that wasn't in modules tended to be called 'the includes' IIRC. But on D8 they're not ...
0
votes
0answers
20 views

Can't run database update script, webforms not display webform tab

We are running Drupal 6.69 under PHP 7.3.13 on Bluehost. Not sure what happened, but when I try to browse to update.php to perform database updates, I get the prompts as expected to update the ...
-3
votes
0answers
14 views

How to change the color of individual radio buttons in drupal 8 webform

I want to change the appearance of a Drupal 8 webform (version 8.x-5.8) radio element as per the options. Basically, the radio element is being visually presented as buttons and I was able to theme ...
0
votes
0answers
11 views

InvalidParameterException for node must match “\\d+” [closed]

My Drupal 8 has for a long time this error, which happens when I just login, or edit some webform. Even after updating it persists. Backend log: Uncaught PHP Exception Symfony\\Component\\Routing\\...
0
votes
0answers
13 views

Migration hierarchical taxonomy terms with same terms (without unique id)

Hello I'm using the Migrate module in Drupal 8.8.2 Currently I am working on a migration of products via an XML file. The products are available in different coatings an colors. The hiëarchial ...
-3
votes
0answers
25 views

Why does Webform not send emails from my local machine?

I have a problem with Webform in localhost, which does not send emails after anonymous submission. The core mail system works well, since the Contact and system messages are sent. Tried the same ...
1
vote
0answers
31 views

How can I keep logs of all outgoing emails?

I am using SMTP Authentication Support module to send emails with drupal 8.When I see watcdog mail-log from admin it shows only emails sent for registration or password reset, that is also with single ...
0
votes
1answer
34 views

Creating ajax modal from event

Here's the deal. I want to create a modal popup when an add to cart event is triggered. I've got the event working just fine but can't seem to get the ajax to work properly. What I'm working off of ...
0
votes
0answers
21 views

Installation with Lando failed to open stream

I am having this error when I try to install drupal8 using Lando. Warning: require(/app/vendor/composer/../ircmaxell/password-compat/lib/password.php): failed to open stream: No such file or ...
-2
votes
1answer
34 views

How can I delete vocabulary terms at a certain level?

I know there are several threads here about deleting terms with various techniques; I'm going to experiment deleting terms with drush at a certain level, say level three terms and below in the ...
0
votes
1answer
18 views

drush up fails with Unknown archive format

Today, I am getting an error message when I run the Drush download or update command. drush up -y captcha fails with Unable to extract /.tmp/drush_tmp_1582749966_5e56d90e14736/captcha-7.x-1.7....
0
votes
1answer
19 views

Are there any quality of life add ons for Content Admin page? Easier sorting, searching, etc [closed]

I think the words make it vague for a google search since I'm not really finding anything. Looking for enhancements to the Content screen in Admin (that lists all of your content items). You can ...
0
votes
0answers
17 views

How to reuse value from a custom Views field handler in a second Views field?

I have a custom Views field handler: function MY_MODULE _views_views_data() { $data['Customer']['Cust_Number'] = array( 'field' => array( 'title' => t('Customer Number'), '...
0
votes
2answers
50 views

How do you programmatically include an entity type to a workflow?

I have a workflow to which I want to include entity/content types programmatically since these content types will be included to the system by the installation of the module to which they reside. I'm ...
-1
votes
0answers
17 views

enabled module display The following module is missing in the file system warning

I have a drupal 7 web site which I want to install the optional email field module on it. The module will be enabled and works only if I clear the cache. The hook_form_alter will be called and ...
-1
votes
0answers
9 views

Store type and Product type permission (add / edit / delete)

Is there any permission on Drupal 8 / Commerce 2 to let admin create,delete or edit store type and product type with Restful endpoints? As you can see in the picture below, there is only (read only) ...
0
votes
0answers
33 views

Event Subscriber for User fields event not working as intended

I am trying to auto approve users who have a certain domain in their email who signup with Google Login (Social Auth Google) by creating an Event subscriber using the User Fields Event. The code ...
0
votes
0answers
12 views

How to submit Webform multiple key field as individual entry

I have a webform with a multiple key text field. I would like to make the multiple value submitted as individual webform submission entry, so I can export them in csv later. I also have a custom ...
2
votes
0answers
41 views

Broken live site after upgrade although upgrading locally and stage was no problem

I have just upgraded a site from Drupal 8.7 to 8.8, and I now have a broken site. Pages on the site (mainly admin pages) are now giving the following error: Drupal\Component\Plugin\Exception\...
0
votes
0answers
7 views

View showing a list of tagged nodes related to term reference field

Drupal 7 Taxonomy vocabulary = Company activity (Activity 1, Activity 2, Activity 3 ….). This vocabulary has an OG group field. Content type 1 = Company with an entity (terms) reference field ...
0
votes
0answers
14 views

How to access custom fields of Menu item content fields module from twig?

Installed "Menu item content fields" module: https://www.drupal.org/project/menu_item_fields And also "We mega menu": https://www.drupal.org/project/we_megamenu Then I added one image field to ...
-3
votes
2answers
31 views

How can I prevent memory size exhaustion when dumping variables in Twig? [duplicate]

hello everyone i have a problem with kint , in my twig page i want to listing all variables contains int 'content' variable to make some logic on it , but the page can't loaded because the big pip ...
-2
votes
0answers
21 views

Display both options on flag [closed]

I am using the Flag module. I have to display yes/no both link on the same time while page is loaded. I have tried using different link type but non of them is displaying link on the page. Can ...
0
votes
1answer
21 views

Can I turn a regular content type into a Commerce product display?

I have an existing working site with lots of content. I've come to the realisation that I could actually sell this content. So is there a way to turn my existing content type into a product display ...
-4
votes
0answers
20 views

How to implement a tablesort with ajax in D8 [closed]

I have implemented a table sort using TableSortExtender in drupal 8 , since i'm using tab i need a table sort to be called using ajax. please tell me if anybody knows the solution. Thanks in advance.
-1
votes
0answers
13 views

How do you add fields to content payment entity for an off-site payment method?

I would like to create some fields on payment entity and make different bundle of it, if possible, so I can use it with an off-site payment. Some of the fields regarding the payment are stored before ...

15 30 50 per page
1 2 3 4 5 1640