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.
Current text:
The path to a directory for OpenLayers to look for UI graphics. If blank, default graphics are used. Use either a Drupal path (and the appropriate base path will be prepended), an absolute path (such as /path/to/images/), or a full URL.
New text:
The path to a directory of UI graphics. Leave blank for default graphics. Use either relative path (without leading slash, base path will be prepended, f. ex. "sites/all/themes//
/"), absolute path (with leading slash, path will start from sites root directory, f. ex. "/path/to/images/) or a full URL. Always include trailing slash.
Comment | File | Size | Author |
---|---|---|---|
#4 | 1128928-trailing-slash.patch | 8.63 KB | DjebbZ |
Comments
Comment #1
mansspams CreditAttribution: mansspams commenteduh, some escapes there, please fix before committing.
Comment #2
jeffschulerI'm not sure the proposed text here is much clearer than the current, but knowing about the trailing slash requirement would have saved me 10 minutes and head-scratching.
Comment #3
zzolo CreditAttribution: zzolo commentedHi. Many thanks for thinking about this. This seems to be only for image paths. Can you provide one for CSS paths? Also a patch would be great.
Comment #4
DjebbZ CreditAttribution: DjebbZ commentedHere's a patch for both fields descriptions. Used the same template for both. Added a link function for the original css file.
Comment #5
zzolo CreditAttribution: zzolo commentedThank you for the patch! Committed:
http://drupalcode.org/project/openlayers.git/commit/6f6a193