All Questions

1
vote
2answers
540 views

drupal behind reverse proxy

I have multiple drupal instance behind f5 load balancer. If I use it as http, that is ok. But if I want to use http and https and ofload https on the LB. All css,js links in https site comes as http ...
2
votes
0answers
18 views

How do I import only user-related fields?

I am trying to do data migration from a Drupal 7 site to a Drupal 8 site. (No other entities are migrated). I am trying to import users which has 5-7 fields and I tried to import fields using: ...
0
votes
0answers
19 views

Migration with SOAP basic auth

I try to create a migration from a webservice but i can't set the authentication... In my YAML, i have this : source: plugin: url data_fetcher_plugin: http data_parser_plugin: soap ...
0
votes
1answer
31 views

SOAP with custom form select

I'm getting results from a SOAP call, but cannot display the values in a select list on my custom module. This is a part of my code: foreach($sxml2->NewDataSet->DepCity as $item) { $...
1
vote
0answers
207 views

SSL Timeout in Drupal's Akamai Module

Had posted this on SE, but someone suggested I repost here I have a client using the Drupal Akamai module to manage their site's caching. The client reports the following group of errors happen ...
0
votes
1answer
110 views

Cache SOAP search results from external web service

I've inherited an older Drupal 6 site which calls an external SOAP web service which not only takes a while to query and display results (approx. 5 seconds) but also re-queries the web service when ...
0
votes
0answers
38 views

SOAP connector instead of MySQL [on hold]

we have old solutions and we would like to upgrade them to Drupal. All our data are stored on an Orancle DB are accessible through webservices. Basically we have users and we like to use Drupal to ...
1
vote
0answers
226 views

View XML Request when using WSClient and Rules

I am building a website that uses 3rd party data from a web service. I decided to use WSClient...so far so good. I am using Rules together with WSClient to create the proper SOAP request, however I ...
1
vote
0answers
59 views

Expose Drupal nodes content throught soap

I'd like to build a SOAP server with Drupal but I have some problems. I've installed the soap server module (and i'm scared because of the beta status since 2011 ...), and the services module. I've ...
1
vote
1answer
89 views

Feeds Soap - importing items but can only add 1 item at a time?

I'm having problems with using this API to get my details from: http://api.tradera.com/v3/PublicService.asmx?op=GetSellerItems It imports almost all fields and create nodes as it should however the "...
2
votes
0answers
175 views

Index data under Solr from a SOAP web service to expose them via Search API (views)

We have to expose a subset of an external database coming via SOAP. To keep it simple, let's say that we have to handle products, product providers and product categories under Drupal. Products are ...
0
votes
1answer
39 views

How to create a custom Webform handler to submit to a SOAP API [closed]

I have a Webform that when submitted needs to be posted to a SOAP web service. I have search for a bit of direction but I can't seem to find anything about SOAP and Drupal 8/Webform. Can anyone point ...
2
votes
1answer
376 views

Is there any security consideration with webform and Salesforce API?

We are implementing the Salesforce webform module for our client and they are asking us if there are any security issues to consider by having SOAP installed on their server. (The Salesforce API ...
5
votes
2answers
952 views

views with a SOAP back end

views3 supports plugable backends rather than a RDBMS, there are backends for solr, sparql, mongodb. Is there such a plug in to enable views to be a front end for a SOAP api? I have found a number ...
0
votes
1answer
154 views

Drupal Ubercart Merchant ID and Key are incorrect?

When I checkout in Ubercart the merchant key and merchant id are incorrect. In my configuration they are correct, but when the login credentials are displayed during checkout, they are jumbled. I am ...
2
votes
1answer
1k views

Paging data from a web service

I'm working on a module that uses soap to fetch data from a webservices. Data are ok, and I'll use theme functions to display them as a list. I should also to split results in pages, like views. Is ...
0
votes
1answer
503 views

Webform onchange added with hook_form_id_alter

I have a webform on a Drupal 7 site I am working on with a form ID of 144. I have a module that alters this form to add default values to the fields within the webform. This is all working fine. I now ...
4
votes
3answers
2k views

Drupal and SAP integration - looking for case studies [on hold]

I'm looking for Drupal and SAP integration case studies, the only one I have seen that has good documentation is: http://10jumps.com/category/drupal-sap-integration In summary this appears to ...
3
votes
3answers
367 views

How do I cache an object loaded through SOAP from a third party that I use in forms?

I am loading and object that I use to populate a form. Then on form submit I return some of the fields through SOAP back to the third party. On submit the form building function gets called and loads ...
1
vote
0answers
48 views

Import a profile data

I`m trying to find a way to import the userprofile information of drupal to a external soap server, everytime a user is created, updated or deleted. I figured out that the rules module should be at ...
0
votes
1answer
193 views

How to debug queries and exports sent to Salesforce?

I'm using Salesforce Suite module. My initial investigation says that the connection is encrypted via HTTPS. Is there any easy way of debugging what is exactly sent to Salesforce? I ended up by ...
0
votes
0answers
17 views

How to use hook_views to add calculation to a field?

In a custom module (assoc), I have a custom Content Entity (Person) with these fields: $fields['lastname'] = BaseFieldDefinition::create('string') $fields['firstname'] = BaseFieldDefinition::create('...
0
votes
3answers
2k views

Why is the button to install a new module missing in the admin interface?

I am new to Drupal and am attempting to install pathauto. But when I click on "extend," I don't have a "install new module" button. Any suggestions?
0
votes
1answer
615 views

How do I import a library from Github when the module is installed

I want to add https://github.com/googleads/googleads-php-lib library to my module Drupal 8 I try to add composer. json in the folder module but is not load when I installed module this is solution to ...
2
votes
1answer
346 views

How to attach a library to a page controller that returns a plain Symfony response?

I created a custom module with a page controller that returns a Symfony response (Symfony\Component\HttpFoundation\Response). The thing is I don't want to render my custom theme in this controller, ...
0
votes
0answers
584 views

How to install wkhtmltopdf Libraries?

Drupal 7.59 I use Views extensively, and would like to add https://www.drupal.org/project/views_data_export_pdf module. As per the Module documentation, a prerequisite is the installation of ...
0
votes
1answer
805 views

Attach custom css library to entity print output

I need to attach custom css library so entity_print module uses it to generate the final PDF. The goal is to get custom css effect the generated PDF at /print/pdf/node/{{NID}} I have set the PDF ...
1
vote
1answer
775 views

How to make CSS and JS both load in the footer

We have a library slick_carousel in our mytheme.info.yml and mytheme.libraries.yml defined in our sub-theme (see below). How can we make the CSS and JS both load in the footer? Currently only the JS ...
3
votes
2answers
441 views

How do you disable the CSS from a core module in Drupal 8 using libraries-override?

I'm trying to disable the CSS styles from the layout discovery module in my theme.info.yml file. I've tried several options, but I can't seem to get it to work. This is what I have now. libraries-...
0
votes
1answer
98 views

Unable to install the “H5P.Scorm.h5p” library: “The uploaded file was not a valid h5p package”

Thanks to jackrabbithanna’s help on this other question I seem to be 1/2 way to getting H5P related libraries installed in my Drupal 7.59 install. I am attempting this on macOS High Sierra under MAMP ...
0
votes
1answer
166 views

Changing library path with hook_library_info_alter

I am having difficulties to change the library path defined by another module in *.libraries.yml via hook_library_info_alter Essentially I have one module defining a library component in its *....
1
vote
0answers
98 views

How do I get the list of all CSS files?

I'm trying to understand how I can have the whole list of the CSS, JavaScript, and the others files declared with the libraries method (or added in any right way to Drupal). Earth would be a better ...
1
vote
1answer
267 views

How to load library only on one twig template?

We have a custom theme, mytheme where we have the following library for the header-fix. I have also added {{ attach_library('mytheme/header-fix') }} to only one twig template block--myblock.html.twig ...
0
votes
2answers
70 views

How to prevent dynamic library definition from being cached?

I have a use case where i want to dynamic add library , Attributes of library will vary with page. In my case the $callback will be different depending on the page. $libraries['sample.my-lib'] = [ ...
3
votes
1answer
132 views

Can you override a library per environment?

In my libraries.yml file, I have something like this, being used to define "foo-bar" as a library that can be pulled in from various parts of the site: foo-bar: version: 0.0.x js: js/foo-dev....
1
vote
1answer
178 views

Module Library JS Some In Header Some In Footer

I have read that Drupal 8 by default loads library-defined files into the footer. My module libraries.yml file makes use of the "header: true" property as several JS files are needed to load in the ...
0
votes
0answers
11 views

What are the expected aggregated css files when there is a dependency?

We have the following setup for two libraries: mylibrary1 and mylibrary2. Additionally we have Aggregate CSS Files = true under /admin/config/development/performance. Due to Aggregate CSS Files ...
1
vote
1answer
241 views

How to load a library only once, or how to check if a library has been loaded?

I am making an asynchronous single page application in Drupal 8. So far everything is working nicely. However, it has a lot of libraries that are needed for a lot of different things, depending on ...
0
votes
1answer
146 views

How to add css files based on breakpoint in library?

We have the following mytheme.breakpoints.yml file and a simple library mylibrary that is added through our mytheme. Within the mylibrary there are two libraries, one that is optimized for desktop ...
0
votes
1answer
92 views

Local vs CDN libraries and how to check for available updates

For contributed Drupal modules, you can check whether you are using the latest version release of the module or not, by using any of the available methods such as Drush, Drupal console, Composer and ...
0
votes
1answer
60 views

How do I load a library using xautoload and libraries?

I am trying to load the facebook SDK (drupal 7) but I am getting the error Error: Class 'Facebook\Facebook' not found in FbPageSyncProcessSubmission::fbpagesync_facebook_sdk_initialize() ( My ...
1
vote
0answers
83 views

Unable to attach third-party library to theme

I have a multi value media field on a content type and I want to display it as a slider on the node if more than one image is uploaded to that media field.I am using slick library for this purpose. ...
1
vote
2answers
1k views

How to use Composer to install third party libraries [duplicate]

All I thought Composer takes care of any external library a contrib module requires automatically. I tried installing one, Composer took care of all its dependency modules, but not so much with the ...
0
votes
1answer
42 views

Loading a custom library after all other libraries got loaded

So i wan't to load a custom .js file at the very end of the page after all other .js files have been loaded. This is my library file: my_library: js: assets/js/custom.js: {} dependencies: ...
1
vote
1answer
38 views

How to inculde 3d parrty libraries into your module?

I am using the 3d party php library, and I do not know how to connect. The file structure of my project looks like following: -my_project --src ---Plugin ----Action -----MyAction.php ---libs ----...
1
vote
1answer
182 views

Why is my theme library load on every page?

I'm beginning with D8, but I work a lot with D7 and Magento. I follow the developer documentation to add a library in my theme, and I don't understand why it's loading it on every page. I only want ...
0
votes
1answer
44 views

How to use libraries function

I have the libraries module to add some libraries in my drupal site. Currently I need to use mailjet, I found some modules with some functions to talk with api but I've tested this for multiple hours ...
0
votes
1answer
31 views

Where do I place helper files? [duplicate]

I would like to place some (PHP)functions in a helper files, which requires across modules and themes. Do I have to create a new module or I can place a simple helper file with list of common ...
0
votes
1answer
246 views

How to add print stylesheets

How do I add a print stylesheet in Drupal 8? Here is what my libraries file looks like in my theme... global-styling: version: 8.0 css: base: css/style.css: {} theme: css/...
0
votes
1answer
47 views

PHP namespace error

I'm using libraries, not using composer, and it's on Drupal 7. I installed and enabled xautoload so that I can use classes from a library that has namespacing. I think I got the xautoload function of ...

15 30 50 per page