...

View Full Version : please help with slideshow script



eapro
07-16-2007, 02:54 PM
I just purchased PHP Classifieds 7.2d from Deltascripts for $179 and although it's nice it's missing some basic functions. Not to mention all the bugs. Anyway...

I have it to show slideshow of images from database but it's missing the "<< prev | next >>" controls.

Here is the JS code:

<script language="javascript">
var imgArray=new Array({$num_pictures});
var switchImage={$set_slideShow_sec};
var switchImageCountFrom={$set_slideShow_count_from};
{foreach item=image from=$image_list}
imgArray[{$image.nr}]="{$image.file}";
{/foreach}
</script>

For some reason though the PHP variables are not defined in the file...I was told it uses the Smarty Template Engine....but I don't know how to use that. Is it possible to figure this out using logic (not knowing the variable values?) If not, anybody know how Smarty works?

eapro
07-16-2007, 06:32 PM
no help :(



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum