| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Frontpage Slideshow | ||||
![]() |
|
|
Thread Tools |
#31
|
|||||||
|
|||||||
![]() Can someone post which files need to be modified...
It looks like to add the script code you need to modify xcart/skin1/customer/home.tpl The you need to add the <div > code to the welcome.tpl... Is that correct...can someone post examples of from their site? That would help out a bunch. Thanks Ed
__________________
Xcart 4.2.1 Xcart 4.1.9 |
|||||||
#32
|
|||||||||
|
|||||||||
![]() Hi Ed,
Hope this helps? Mine is placed in skin1/customer/main/welcome.tpl and looks like this: (You just need to change URL of your site and if your server path is not the same as mine) Quote:
Quote:
|
|||||||||
#33
|
|||||||
|
|||||||
![]() 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 |
|||||||
#34
|
|||||||
|
|||||||
![]() No idea why but now it works using the following in the welcome.tpl file
{* $Id: welcome.tpl,v 1.33 2008/10/30 17:57:31 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} {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}
__________________
Xcart 4.2.1 Xcart 4.1.9 |
|||||||
#35
|
|||||||||
|
|||||||||
![]() Glad you got it sorted!
The dir. paths from person to person will always be different. The code I provided was where my files was located. If you don't mind me asking what else did you do different to make yours work? Quote:
|
|||||||||
#36
|
|||||||||
|
|||||||||
![]() Thank you everyone for this thread, I've been looking at different xcart banners but these frontpage and the css slider seem to be the ones.
Ta |
|||||||||
#37
|
|||||||
|
|||||||
![]() I just purchased this banner tool but can not figure out why it doesn't seem to like my path info. Has anyone used this in the last 2 years?
I get this from the example.php page Frontpage Slideshow (standalone) Warning: include_once(/home/glvftp/greatlakesvaccum.com/fpss/fpss.php) [function.include-once]: failed to open stream: No such file or directory in /home/glvftp/greatlakesvacuum.com/example.php on line 49 Warning: include_once() [function.include]: Failed opening '/home/glvftp/greatlakesvaccum.com/fpss/fpss.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/glvftp/greatlakesvacuum.com/example.php on line 49 This demo uses the "Movies" template and the sample data that come bundled with the purchase package
__________________
X-Cart 4.5.4 Gold (Live Business Site) X-Cart 5.1.9 Business (In Development Now) |
|||||||
![]() |
|
Thread Tools | |
|
|
|
|||
X-Cart forums © 2001-2018
|