Closed (fixed)
Project:
Slideshow Creator
Version:
6.x-1.32
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2008 at 03:08 UTC
Updated:
12 Dec 2008 at 17:31 UTC
1) Since I had seen a mention of default base set to sites/all/files, I wondered if SlideShow Creator will work with multi sites where each (sub)domain has it's own /files ? It didn't work w/ relative paths -- though it would be nice if it used the current multi-site domain rather than 'all'.
2) SC worked fine in my regular 5.x installation, though not in a multi-site test setup. now that I'm trying 6.x, I've installed JQuery plugin and latest SlideShow Creator. enabled SC in Input Formats. I can put in a series of img= and that works.
but dir= isn't adding any images at all -- even when using full path starting w/ http://
?
Steve
Comments
Comment #1
saweyer commentedafter some experimentation, multisite slideshows do work (in Drupal 6.x) -- with the proper settings.
Site Configuration > File System
File system path: sites/example.com/files
alternatively, you can put this into settings.php
$conf = array(
'file_directory_path' => 'sites/example.com/files',
);
then make sure that the dir= path starts with / in [slideshow: ] expression
so if slide filess are in sites/example.com/files/images/...
dir=|/images/
(my misunderstandings:
- having multisite rewrite rules in /files/.htaccess works fine for links and IMG but not for server directory listing (non-http)
- Drupal 5 dir= slideshows need to omit "files/" prefix when migrating to Drupal 6
- I thought 'file_directory_path' might be smarter, i.e., check if there's sites/example.com/files for each multisite
- SC docs implied it was always using sites/all/files
)
btw, Drupal 5.x slideshows do work w/ multi-site. however, the above info doesn't work.
(older slideshow_creator-5.x-1.24 must handle paths differently)
instead what I had to do: dir=|sites/example.com/files/images/...
(I'll just migrate to 6.x)
Steve