All Questions

0
votes
1answer
15 views

How to alternate image on left/right using “Views Parity Row” module

This great tutorial explains everything except the CSS work. http://gogrow.org/tutorials/views_parity_row I need to add CSS class to each row so I can set left/right alignment accordingly in css ...
1
vote
0answers
39 views

How to add nofollow to all external links?

I have a site with external links and I want to add nofollow to all the links that direct to another site than mine. There is a module to do this : https://www.drupal.org/project/nofollowlist But ...
-1
votes
0answers
23 views

Replacing hook_boot() by using an Event Subscriber vs settings.php

OK, I’m trying the best way to handle this: On a Drupal 7 site I had a poor man’s URL shortener. I created a slug by encoding a node’s NID using an algorithm that wouldn’t contain a vowel. In ...
-1
votes
0answers
13 views

How to access RTL style?

My website theme should support RTL, but it is not loading RTL style. How to enforce it to load RTL style? I saw the answers to how to load RTL style in RTL language, but I don't know in which file ...
0
votes
0answers
26 views

Does an ajax callback work within a Views style plugin?

My module has a custom Views style plugin. In the style settings form, I want to implement an ajax callback, such as described here: https://www.drupal.org/docs/8/api/javascript-api/ajax-forms ...
0
votes
1answer
11 views

Display the exclude dates on a node

I have a Drupal 7 site with a content type called Weekly Repeating Event, and events of this type repeat at the same time and day each week. I use a custom template file to display this node type by ...
-1
votes
1answer
15 views

Views Bulk Operations on checkbox field

I have a field that's only 1 checkbox with "yes" that I use to categorise my list of people. I'd like to use bulk operations to add or remove the tick but I'm not sure what value to insert in the next ...
-1
votes
1answer
39 views

I need help with logging in

I'm in over my head. I work for a company who recently had to let go of a bunch of personnel. One of those people was the web developer. I have worked on Wordpress sites before but never a site built ...
-1
votes
0answers
25 views

Moving images to another location when entity update

I have an image field in my content type and when I upload image it will save to a location as expected. Now I want to move that saved image to another location when entity inserting or updating ...
0
votes
0answers
10 views

Convert content types to forum topic types and view in the forum tables

I want to migrate a site from Drupal 7 to Drupal 8. All right, perfect import. However, on the Drupal 7 site I populated some forums through RSS using the Feeds module. But the transfer from Drupal 7 ...
-4
votes
0answers
18 views

Upgrade Drupal 7 to Drupal 8 using Migrate Module [on hold]

when i am going to upgrade D7 to D8 than showing error "Source Database is Drupal version 8 but version 7 was selected " so plz tell me what i do.
-2
votes
0answers
14 views

Import images from RSS with Feeds module without Feeds Image Grabber

I'm passing all the sites from D7 to D8 and so far so good. But one of my sites gives me a couple of problems. I was populating the RSS site in Drupal 7 using Feeds Image Grabber. Now, Feeds Image ...
0
votes
1answer
13 views

Migrating input formats causes errors

I am trying to write custom migrations to migrate my Drupal 7 website to Drupal 8. I am currently using Drupal 8.6.7 and Drupal 7.61 for a copy of the production website. So far I have set up the D8 ...
-1
votes
1answer
24 views

How to place after each 5th item in a view a different content type?

I want to create a view with news which outputs another content type after every 5th result, in my case a newsletter subscription. How can I do this?
-1
votes
0answers
9 views

Drupal 7 Theme CSS js

my site upgrade drupal 7 to drupal 8 also install theme but CSS and js file not working . can you tell me how to embed CSS and js or any other solution ?
0
votes
0answers
50 views

How to print “Time” field in twig template

I have a time field in my content type. But when I entered time in the format 05:00 AM, I get a five digit timestamp eg. 18000 (for 05:00 AM). When I print this using node.field_time.value|date('h:i ...
0
votes
1answer
21 views

How to disable field on register form but keep show in edit profile?

I need to know how to disable field on register form but keep show in edit profile? because now if I can only enable in both section, edit profile / register. I need only show username + email field ...
1
vote
0answers
37 views

Preprocess function not running on theme

I am trying to query my database and return a number to store in a twig template called node--course.html.twig. So I started by writing the function completionCheck() in class FormaRegis.php. ...
0
votes
0answers
7 views

User profile local task link

How can I create a link with comments/%user in the local task in user profile page for all users. This want to include it after the "Edit" and do it programatically in the .theme file. . If I try ...
2
votes
1answer
24 views

Conditionally register a user based on fields

I have a Drupal 8 User registration form that has several text fields to gather information about the user. I'd like to write a custom hook that examines the values in those fields and then either ...
0
votes
0answers
26 views

Views block doesn't show up at the user profile page

I created a views block and try to make it appear on the user profile page. I did the following steps, but it doesn't show up: Block layout -> Place block Tab Pages: Select "Show for the listed pages ...
-1
votes
0answers
12 views

Merging taxonomy fields within the theme

I'm wanting to merge taxonomy_term/4/field_hero_image/en/full and taxonomy_term/4/field_field_hero_mobile_image/en/full together so they are not separate, ideally so they don't have duplicated child ...
2
votes
1answer
27 views

Cannot get subscriptions to send out at correct intervals

I set up the "subscriptions" module and have set it so that all members of the page have access to a number of panels. One allows them to set the frequency of emails, one allows them to pick and ...
0
votes
1answer
25 views

Module with block plugin not using custom template

I am struggling to get my custom module template to get use by by block plugin. I have followed the solution given at: Twig Template for a Custom Block Plugin but continually get this error: The ...
0
votes
0answers
16 views

Linking webform submission with Commerce 2 order

I'm trying to implement a way for people to register and pay for an event on a D8 site. I am using Commerce 2 and the Commerce Webform Order module and have a webform set up that collects information ...
1
vote
1answer
13 views

Problem with Unorganized content on page

So I am not familiar with Drupal at all and need help. I am a graphic designer and trying to change the order of the layout on one of my pages. We had a developer design and organize our site but she ...
0
votes
0answers
19 views

Get apachesolr module to work with solr 5.5 without reindexing

I upgraded my drupal apachesolr search module from 1.8 to 1.11 and I also upgrade the apachesolr version from version 4.10 to 5.5, and managed to upgrade the index folder so that it can be used for 5....
-1
votes
0answers
19 views

Payment Gateway needs Initialize and Authorize

I am developing Saferpay payment gateway for Commerce 2.x Drupal 8. It should be off-site (iFrame) payment. So in short. In order to complete transaction, first I have to call "/Payment/v1/...
0
votes
0answers
14 views

How to add a “pay later” option to the order fulfillment states in Commerce 2?

I have a checkout flow with two payment gateways, Credit Card (Stripe) and Pay Later (Manual Gateway). The Stripe checkout flow works fine. I overrode the fulfillment flow in mymodule.workflow.yml: ...
0
votes
0answers
17 views

Acquia Lightening, BLT, Github and CircleCI - How to deply to Acquia Cloud

We have a multi-site Drupal install set up on Acquia Cloud and have a local development team building out a site, this development work is version controlled in one of our own Github repos. This repo ...
0
votes
1answer
9 views

Making 'Check out' option appear

I am using the Commerce module and Paypal WPS on Drupal 7. When logged in as Admin to my website on a product page I can see the 'Check out' link next to 'View Cart'. However, if I log out and select ...
-1
votes
0answers
24 views

How to fix add custom currency sent error PHP

Hi my dear drupalian friends I have a problem with the currency module when I want to add custom currency and when i want translate in specific language Error: Call to a member function getSign() on ...
-4
votes
0answers
15 views

Programmatically get labels from webform [on hold]

it may require loading the webform programmatically (not a submission, the form itself) then using x-debug to see what is returned there will probably be an array in there some place that we can loop ...
0
votes
1answer
24 views

Form alter overriding submitted values

I have a form_form_id_alter function that sets some default values and a checkbox checked. If I submit the form, with the checkbox unset and it fails validation, the re-rendered form re-sets the ...
-2
votes
0answers
21 views

Different behaviour in twig file when debug is true [on hold]

something weird is happening with my Drupal site. I have some content and display them in unformatted view-rows. I use the core twig theme views-view-unformatted.html.twig. views-view-unformatted....
-1
votes
0answers
10 views

Multi-image image field for a custom content entity

I'm creating a custom entity and requires a field that takes up multiple images, such as in the case of slick carousel, on drupal 8. Any help on how to approach this?(New to drupal)
-2
votes
1answer
24 views

How to filter Data on the basis of id or uuid by Rest API?

I am using Drupal 8 I have installed the poll module. I created a view with REST export enabled. Now when I get the data by this url http://localhost/poll/rest/polling I am getting all the data of ...
0
votes
1answer
28 views

Drush command from contrib module not recognized

I have installed a new module called S3fs using Composer. When I try to execute /root/.composer/vendor/bin/drush drush_s3fs_copy_local, it shows the following error. Command "drush_s3fs_copy_local" ...
0
votes
1answer
18 views

How to increase the size of the field in Search API?

I am using Search API for my drupal 8 website, after indexeing some fields (interested in entity reference type fileds), in the database I can see that my field field_name:entity:title gets trimmed, ...
0
votes
1answer
27 views

How do I get the field definition of a paragraphs image field

I need to get the resolution of the image using getFieldDefinitions(). For normal fields I can get the field definitions with below. $fieldDefinition = \Drupal::entityManager()->...
-2
votes
0answers
44 views

Going live via Git and Composer

Can someone explain the roles that Git and Composer have in the process of pushing a localhost build (Drupal 8 in MAMP on Mac) to a live cPanel shared hosting server? I have SSH / shell access by the ...
0
votes
0answers
21 views

Using a class to call a call a custom drush service

I have created a drush service and I can use it on the command line, but I am trying to use dependency injection to use it from another class. However, it is saying that the service cannot be found. (...
0
votes
1answer
17 views

redirecting midway out of a webform wizard

I am building a webform that has multiple pages. The idea is that the user leaves the wizard after each page that he submits. When he later returns, he automatically starts the form on the unanswered ...
-1
votes
0answers
17 views

One user account stuck on www.example.com/user [on hold]

I have a problem where my admin account is stuck on our website "www.example.com/user" Any computer we use, it stills shows my admin account. I am on drupal 7.44. How can I log out from all access so ...
0
votes
0answers
31 views

“Broken pipe” between Nginx and PHP-FPM

On 6th January, I updated my Drupal 8 development system (composer update). The following ls listing shows the modules that were updated. drwxr-xr-x 7 drupal8 www-data 4096 Jan 6 02:36 checklistapi ...
0
votes
0answers
27 views

Why drupal 7.63 update disabled my custom module?

I have a strange problem: I created custom module, named Media Track, that creates a field type. It worked fine since drupal 7.56 version. Now, I updated to drupal 7.63, all other modules I created ...
0
votes
0answers
10 views

Managing Users on Multiple Drupal Sites

To give you some background: I help run a small website development company and we host close to 50 Drupal sites (each with their own, separate cPanel) on our dedicated server. We need more fine-tuned ...
0
votes
1answer
25 views

Can we move a module from the directory “/modules” to the directory “/modules/contrib” without uninstalling it?

We have a Drupal 8 application which has modules directly in the directory "/modules" on the file system. I want to move a contributed module from the directory "/modules" to the directory "/modules/...
0
votes
1answer
5 views

How to deactivate keyboard navigation when using the “Views Slideshow: Swiper JS” module

So I am using the Views Slideshow (7.x-3.9) module in conjunction with the Views Slideshow: Swiper JS (7.x-4.0) under Drupal 7.61 and it’s working great for my needs. But have run into an issue. The ...
0
votes
0answers
14 views

Webform: File upload - rename files feature

So in webforms module, there's a checkbox to Rename files. The File Name pattern text field. What are some examples on what to use? I noticed that I put in a text string "fileupload" and it ...

15 30 50 per page