Page 4 of 4 FirstFirst ... 234
Results 31 to 34 of 34
  1. #31
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Russian Language Pack (complete)

    Hi,
    Quote Originally Posted by Doodlebuckets View Post
    Try this file tpl_home_slider.php.
    PHP Code:
    <?php
    $slider_array 
    = array(
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide1.jpg''alt' => ''),
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide2.jpg''alt' => ''),
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide3.jpg''alt' => ''),
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide4.jpg''alt' => ''),
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide5.jpg''alt' => ''),
                          );
    define(ARROW_PREV'arrow-prev.png');
    define(ARROW_NEXT'arrow-next.png');
    define(PRELOAD'loading.gif');
    $slider_img_dir $template->get_template_dir(''DIR_WS_TEMPLATE$current_page_base'images');
    ?>
    <script type="text/javascript">
    $(function(){
      $('#slides').slides({
        preload: true,
        preloadImage: '<?php echo $slider_img_dir '/' PRELOAD?>',
        play: 5000,
        pause: 2500,
        hoverPause: true
      });
    });
    </script>

    <div id="container">
      <div id="example">
        <div id="slides">
          <div class="slides_container">
    <?php
    foreach ($slider_array as $slider_row) {
      if (
    is_file($slider_img_dir '/' $_SESSION['language'] . '/' $slider_row['img'])) {
        
    $slider_row['img'] = $_SESSION['language'] . '/' $slider_row['img'];
      }
    ?>
            <a href="<?php echo $slider_row['url']; ?>"><img src="<?php echo $slider_img_dir '/' $slider_row['img']; ?>" alt="<?php echo $slider_row['alt']; ?>" /></a>
    <?php
    }
    ?>
          </div>
          <a href="#" class="prev"><img src="<?php echo $slider_img_dir '/' ARROW_PREV ?>" width="24" height="43" alt="Arrow Prev" /></a>
          <a href="#" class="next"><img src="<?php echo $slider_img_dir '/' ARROW_NEXT ?>" width="24" height="43" alt="Arrow Next" /></a>
        </div>
      </div>
    </div>
    And load all russian slide images to includes/templates/sheffield_blue/images/russian/.

    P.S. The code may be typos - I did not check how it works.

  2. #32

    Default Re: Russian Language Pack (complete)

    Thank you! It works perfectly and the links on the slider go to the Russian pages :) Thanks so much!!!

  3. #33
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Russian Language Pack (complete)

    Hi,
    Quote Originally Posted by Doodlebuckets View Post
    Thank you! It works perfectly and the links on the slider go to the Russian pages :) Thanks so much!!!
    Happy to help! :)

  4. #34
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Russian Language Pack (complete)

    Upload Russian Language Pack 1.5.5a (complete) to https://www.zen-cart.com/downloads.php?do=file&id=1244

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b
    By torvista in forum Addon Language Packs
    Replies: 133
    Last Post: 10 Aug 2012, 09:49 PM
  2. RUSSIAN PACK v1.3.7
    By altryne in forum Addon Language Packs
    Replies: 3
    Last Post: 18 Aug 2007, 10:04 AM
  3. Russian Language pack
    By a_berezin in forum Addon Language Packs
    Replies: 2
    Last Post: 21 Mar 2007, 07:37 AM
  4. Russian Pack
    By ziggy60 in forum General Questions
    Replies: 5
    Last Post: 25 Feb 2007, 07:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR