drupal business themes default slideshow not work other page only home page, so i'm active default slideshow every page. please help me?

Comments

silverwing’s picture

Project: Drupal.org site moderators » Business
Version: » 7.x-1.9
Component: Spam » Code

Guessing on version

fransoa’s picture

Slideshow in Business is a frontpage Slideshow only.
You can add a slideshow on other page using View slideshow or another module.

AxlRenner’s picture

Can I add this:

<?php if (theme_get_setting('slideshow_display','business')): ?>
    <?php 
    $url1 = check_plain(theme_get_setting('slide1_url','business'));
    $url2 = check_plain(theme_get_setting('slide2_url','business'));
    $url3 = check_plain(theme_get_setting('slide3_url','business'));
    ?>
      <div id="slider">
        <div class="main_view">
            <div class="window">
                <div class="image_reel">
                    <a href="<?php print url($url1); ?>"><img src="<?php print base_path() . drupal_get_path('theme', 'business') . '/images/slide-image-1.jpg'; ?>"></a>
                    <a href="<?php print url($url2); ?>"><img src="<?php print base_path() . drupal_get_path('theme', 'business') . '/images/slide-image-2.jpg'; ?>"></a>
                    <a href="<?php print url($url3); ?>"><img src="<?php print base_path() . drupal_get_path('theme', 'business') . '/images/slide-image-3.jpg'; ?>"></a>
                </div>
                <div class="descriptions">
                    <div class="desc" style="display: none;"><?php print check_markup(theme_get_setting('slide1_desc','business')); ?></div>
                    <div class="desc" style="display: none;"><?php print check_markup(theme_get_setting('slide2_desc','business')); ?></div>
                    <div class="desc" style="display: none;"><?php print check_markup(theme_get_setting('slide3_desc','business')); ?></div>
                </div>
            </div>
        
            <div class="paging">
                <a rel="1" href="#">1</a>
                <a rel="2" href="#">2</a>
                <a rel="3" href="#">3</a>
            </div>
        </div>
      </div><!-- EOF: #banner -->
	<?php endif; ?>

in the file page.tpl.php?

boutit_boy@yahoo.com’s picture

Issue summary: View changes

I had this same issue. Finally I went back to my original zip file and opened it in the desktop and compared to the site folder. It appears my "js" folder under the business theme lost some of its files, specifically the "sliding_effect". Make sure the files "html5", "sfmenu", "superfish", and "supersubs" are also included in your site's theme's "js" folder. I did this with success.

vidit.anjaria’s picture

Status: Active » Needs review
Related issues: +#2034593: Slider on every page