Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Feb 2007
    Posts
    113
    Thanks
    6
    Thanked 1 Time in 1 Post

    please help with slideshow script

    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:
    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?
    Last edited by eapro; 07-16-2007 at 02:59 PM.

  • #2
    Regular Coder
    Join Date
    Feb 2007
    Posts
    113
    Thanks
    6
    Thanked 1 Time in 1 Post
    no help


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •