Closed (fixed)
Project:
Frontpage Slideshow
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2009 at 08:13 UTC
Updated:
3 Jun 2011 at 12:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
DjC4 commentedI think the problem is within this sction of code within fpss.module starting on line 221.
engines path and templates path are all declared using drupal_get_path. but then filepath is used to setup the stylesheet_folder.
$filepath = file_directory_path()
is filepath really "stylesheet_path". I'm confused as to how this section is laid out.
Anyone else not able to get their CSS folder detected?
Comment #2
wilco commentedYup. I've corrected this and it should now work in the new patched module.
Comment #3
DjC4 commentedAwesome! Thanks for the patch. Will begin testing new code.
Comment #4
DjC4 commentedTried the new code and I'm still getting the same error. I'm going to keep playing around it. I attached a screen shot just to make sure my folder hierarchy is correct.
Comment #5
wilco commentedI think I see the problem... you'll note the error message in red next to the CSS path. This means the path is not set correctly. I'll have to clean up those instructions better. Basically, the CSS folder must be somewhere other than in the FPSS folder and preferrably not in the files path. For some reason, and I have as of yet to resolve, if the CSS exists in the site folder and you clear the cache, it wipes those files and then each CSS relating to a FPSS template has to be rebuilt.
The module also has some pretty terrible implementation and interface issues that need to be resolved. It was a conversion from Drupal 5 to D6 which dragged with it some nasty relics of code.
Anyway, I'm getting away from my point. Try creating a CSS folder in your theme and filling in the path properly. For instance:
if you have a theme in the sites folder of you drupal installation, it might read something like sites/domain.name/themes/theme_name/css.
Does that make any sense?
Comment #6
wilco commentedI'm changing the condition of this problem as the code has been fixed in the latest beta and the code provided is not required. Thank you for your input though. Much appreciated.
-wil
Comment #7
DjC4 commentedYup works now. Good thing I put up a screen shot ahahaha. Thanks for your help Wilco.
Comment #8
wilco commentedGreat. If you have any more questions, don't hesitate to ask!
Comment #9
psicomante commentedi have the same problem and using the last stable versione. Thanks for any help.
Comment #10
wilco commentedIf you are having the same problem, read over the information I provided DjC4 and see if that helps. Otherwise, there really isn't much I can do for you unless you describe the problem.
Comment #11
psicomante commented@wilco
I saw the code and i found the place where i should put the folder. I didn't understand that it should be on root.
Thanks for this amazing module!
Comment #13
cmacuna28 commentedHey,
I've followed the instructions for creating the right path and have linked it to my theme's css folder (sites/all/themes/colourise/css) and the red message has gone away. I am really new at css, so is there anything else I need to add in this css folder besides the css files already associated with the theme I am using? The reason I ask this is because when I create a slide show this message appears: "The selected file /private/tmp/fileOlVY4s could not be uploaded, because the destination sites/all/themes/colourise/css/fpss-FSD.css is not properly configured."
and "FPSS stylesheet failed."
Any help is much appreciated,
Christian
Comment #14
stillnikaien commentedwere can we find this patch?
Comment #15
JoNaHLoMu commentedthe right path
sites/all/themes/[YourTheme]/css
Comment #16
stillnikaien commentednot the path! the patch to fix the module. In post #2 wilco said "Yup. I've corrected this and it should now work in the new patched module." but were is this patch he's talking about?
Comment #17
rollingnet commentedComment #18
nicolasM commentedThat description helps me to display fpss : http://tips-linux.net/en/content/frontpage-slideshow-drupal
Comment #19
jbfelix commentedin fpss.module line 246:
replace:
variable_get('fpss_stylesheetfolder', 'css');
by
$stylesheetfolder = drupal_get_path('module','fpss').'/fpss/'.variable_get('fpss_stylesheetfolder', 'css');