View Single Post
  #33  
Old 05-12-2010, 12:05 AM
 
ecollier2012 ecollier2012 is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 85
 

Default Re: Frontpage Slideshow

Thanks Dan but it does not work. I can create a standalone php file and it works...but placing the php code in the tpl file errors out.

Parse error: syntax error, unexpected T_ENDIF in /home/cola/public_html/pearlimporters/xcart/var/templates_c/%%0B^0BD^0BD7ADFC%%welcome.tpl.php on line 17


I have installed fpss in my root directory

www/pearlimporters/fpss

Added the following lines to www/pearlimporters/xcart/skin1/customer/main/welcome.tpl

<div>
{php}
// START of "Frontpage Slideshow" settings
$nameOfSlideshowToDisplay = "myslideshow";
// Enter the name of your slideshow. Slideshows are in folders inside /fpss/slideshows/.
$URLofyoursite = "http://www.pearlimporters.com";
// Enter your site's URL.
$AbsoluteServerPathofyoursite = "/home/cola/public_html/pearlimporters";
// 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
{/php}
</div>
__________________
Xcart 4.2.1
Xcart 4.1.9
Reply With Quote