X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   banner in content (https://forum.x-cart.com/showthread.php?t=43564)

JWait 01-12-2009 05:08 AM

Re: banner in content
 
You say "but it's still giving me smarty file not found error even though folder "banner" is there with banner files html banner files."

But it appears from your statement "http://yoursite.com/revolver/banners.php" that there is no "banner" folder. Is it inside the "revolver" folder?

anandat 01-12-2009 05:35 AM

Re: banner in content
 
I doubbled checked folder & it's there 100% !

But I guess that function $banner.html giving loading problem in the banners.php file

following is banners.php file

<?php
srand ((double) microtime( )*1000000);
$numbanners = 2;
$banner = rand(0,$numbanners);
echo "<table align=center class=maincats bgcolor=white width=468><tr><td>";
include ("./banners/$banner.html");
echo "</td></tr></table>";
?>
if you type the url http://localhost/store/banners.php then it's working but not working inside the x-cart :(

JWait 01-13-2009 04:50 AM

Re: banner in content
 
What is the smarty error you receive


All times are GMT -8. The time now is 10:52 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.