Us js file in a theme already use by a module

Solutions

Okay this was easy... I realise that the js file is in the library views_slideshow_cycle/jquery_cycle, created by the module.

So i just have to add it has a dependencies to my theme

mytheme
   dependencies : 
     views_slideshow_cycle/jquery_cycle.
Tags: Drupal 8 / Theming

Similar questions

'The alias is already in use' when editing a node that had an alias generated programmatically
I'm currently using an event subscriber to latch onto an event from a module that creates and/or updates nodes. I'm programmatically setting the url alias based on a user inputted field by doing the following It works but when I open the node and attempt to edit it, I get the message The alias is already in use When I try to save it. Is there somet...
SKU already in use
I just installed commerce on Drupal 8. I created a Store, Product Type, and a few products. When I was creating the products I was often getting an error message that the sku was already in use. If I create a view based on the Product Variations and show "sku" and "Product Variation Title" I the result shows that there are skus that are not associa...
Following Drupal 8 Commerce custom offer tutorial, but getting "name already in use" error
I am following the tutorial for creating a custom offer at the official Drupal 8 Commerce documentation. But I'm getting an error that I pasted below when I click on any of the conditions, and none of the forms are appearing for any of the commerce built-in offers. I followed the tutorial exactly, except for extending the OrderPromotionOfferBase cl...
What rule to use to redirect users, unless already redirected?
I'd like users with certain roles to be redirected to the page /civicrm when they login, unless they've already been redirected elsewhere. For example, an email might have a link that directs them to the page /elsewhere. When I tried the module 'login destination' I can only achieve one or the other, never both - either the redirect works but a reg...
How do you use mod_rewrite for a custom variable node with a Drupal system that is already using clean URLs?
Situation setup: -Drupal 7 -Clean URLs have been enabled inside Drupal, and they are working -The stock .htaccess in the root and subdirectory are unmodified. (I have the Drupal install sitting in a directory called 'main'.) -Shared hosting environment -Custom Drupal node/page that is accepting a variable and then performing some php work on that v...
File uploads: Warning: session_start(): Cannot send session cookie - headers already sent
When I check watchdog, I have lots of PHP warnings like this: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /srv/bindings/9c42927e5316467d82a6fb1be50ed34e/code/includes/file.inc:1972) in drupal_session_start() (line 287 of /srv/bindings/9c42927e5316467d82a6fb1be50ed34e/code/includes/session.inc). ...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.