Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
First of all i want to say thanks for spending your time in the development of this nice module.
I am working now in an aegir set-up and its not posible to detect the library unless you place it in the route/sites/all/libraries of this multi site setup.
Maybe you could change the code that defines the default shadowbox path to work together with the libraries module so that you can use the functions libraries_get_libraries() & libraries_get_path($name, $base_path = FALSE). In this way you will always have the correct path i think.
grts
frederic
Comments
Comment #1
manfer CreditAttribution: manfer commentedBut the path to shadowbox library is configurable in the shadowbox setup admin/config/media/shadowbox so even if you install the library in different place than sites/all/libraries/shadowbox you still can configure the correct path there on a per site basics if you want.
The only thing that shadowbox do is to look by default on sites/all/libraries/shadowbox for the library but it doesn't restrict where to install the library. It just doesn't look automatically in other places.
Comment #2
manfer CreditAttribution: manfer commentedComment #3
manfer CreditAttribution: manfer commentedI don't know how those aegir setups work but if you install the shadowbox library in different place the variable that holds the path is shadowbox_location. So if there is a way to programatically do changes on that setup you have to do what variable_set do.
variable_set('shadowbox_location', 'your_desired_path');