Hi everyone,

There seems to be some problems about starting this awesome module up. I am also having problems getting this started, and this is what I get it from now: there is a manually installation of the standalone version of FPSS, wich is documented here http://drupal.org/node/265100 , wich I repeatly tried, but I keep getting the same error

    * warning: include_once(/fpss/fpss/mod_fpslideshow.php) [function.include-once]: failed to open stream: No such file or directory in C:\wamp\www\drupal-6.14\includes\common.inc(1685) : eval()'d code on line 8.
    * warning: include_once() [function.include]: Failed opening '/fpss/fpss/mod_fpslideshow.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\drupal-6.14\includes\common.inc(1685) : eval()'d code on line 8.

There is also this module, so the configuration of FPSS via administration functions in Drupal.

So, I'd like to use it as a module, saves me a lot of time and doesn't make me go more into php files then I do already.

Now, I would gently ask the owner of this project to make a compact and easy documentation how to get his module working if this is possible?

Comments

apoc1’s picture

Title: Can the owner please make a compact installation of the module? » How I got it to work...

Ok, for some reason, I always find a solution for a problem, shortly after I made a issue in a forum.

Anyway, This is how I got it to work (as the standalone version)

I followed the instructions on the following topic: http://drupal.org/node/265100 but difficulty for me was changing the right tags in the code you need to paste in a block. Especially the $AbsoluteServerPathofyoursite tag.

I found a nice trick how to find what you got to fill in there.
1. Make a php file and call it abspath.php and paste the following code in it

<?php
$abspath = getcwd();
echo $abspath;
?>

Save it and upload it to your site's directory and acces the file via your internetbrowser. What you see , you need to copy paste in the $AbsoluteServerPathofyoursite

so, pasting the following code in a block with the php input format selected (can be enabled via modules) did the trick for me:

<?php
// START of "Frontpage Slideshow" settings
	$nameOfSlideshowToDisplay = "myslideshow"; 					// Enter the name of your slideshow. Slideshows are in folders inside /fpss/slideshows/.
	$URLofyoursite = "http://localhost/drupal-6.14"; 					// Enter your site's URL.
	$AbsoluteServerPathofyoursite = "C:\wamp\www\drupal-6.14";	// Enter the root path of your site on the server.
	
	// do not edit below this line
	include_once($AbsoluteServerPathofyoursite."/fpss/mod_fpslideshow.php");
// END of "Frontpage Slideshow" settings
?>

I hope I helped atleast some of you!

Greetings

ludovici’s picture

apoc1,

I'm struggling to get this to work the way I want! If I paste the code into the page.tpl.php file it works fine, however when pasted into a block the appears only on the front page the block is not displayed. Since it works fine when the code is in the file, I assume my installation is correct, so I must be missing something with the block. The block is currently used for calling a swf file via PHP, so, as I understand it, I should only have to paste the code into the block and save it.

What am I missing?

Thanks in advance....