Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6998263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:23:20+00:00 2026-05-27T20:23:20+00:00

I do slider on the website. On one slide I have two div. The

  • 0

I do slider on the website. On one slide I have two div. The data displayed on the SMARTY.

Slider div’s

{foreach $slider as $sliderr}
    <div id="sliderBox">
<div id="showcase" class="showcase">
        <div class="showcase-slide">
            <div class="showcase-content">
{$sliderr.img}
            </div>
        </div>
        <div class="showcase-slide">
            <div class="showcase-content">
                {$sliderr.img} // ?? I need img+1
            </div>
        </div>  
</div>
</div>
{/foreach}

I need the next record from the table slider. How to read the next record SMARTY in a loop?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:23:20+00:00Added an answer on May 27, 2026 at 8:23 pm

    Maybe this works for you:

    {foreach from=$slider key=i item=sliderr}
        <div id="sliderBox">
    <div id="showcase" class="showcase">
            <div class="showcase-slide">
                <div class="showcase-content">
    {$sliderr.img}
                </div>
            </div>
            <div class="showcase-slide">
                <div class="showcase-content">
                    {$slider[{$i+1}]}
                </div>
            </div>  
    </div>
    </div>
    {/foreach}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've incorporated the Awkward Showcase content slider into my website and on one of
I am making a portfolio website and have a horizontal slider which will slide
I have one problem with my website. It uses accordion image slider, which is
I have a Coda slider on one webpage (hand-crafted, not using the plugin, but
I have an slider animation but on clX.click event #close div hides before it
I have a jQuery image slider on the header section of my website that
I have a slider-like widget which is basically, a div of sub-divs containing some
On my website I have several hidden div's with comments. Each comment div is
I have a slider with values ranging from 0 to 100. I want to
In the code: slider.init({ foo: bar }); var slider={ init:function(data){ } } If I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.