I want to add more than 3 images in the slide show on the home page.
Plz help, how to achieve this.

Thanks in advance....

Comments

jkeller.imagemark@gmail.com’s picture

Title: Slide show more than images » place more than three images in slide show
Assigned: Unassigned » jkeller.imagemark@gmail.com
Priority: Normal » Major

Need to be able to view more than three slides in the slide show. I'm pretty new to Drupal, but not new to web development. I can see that if I could edit the html, I could add more slides in the slides_container div. Is this something you must configure in the theme, or can you explain where in Drupal to put the edited html for this home page?

Thanks for all you do....

jkeller.imagemark@gmail.com’s picture

Title: place more than three images in slide show » [SOLVED] place more than three images in slide show
Assigned: jkeller.imagemark@gmail.com » Unassigned

I found the solution:
In theme-settings.php, duplicate the form elements and values for as many more slides as you need.

example; I copied lines 71 thru 86:

$form['clean_settings']['slideshow']['slide3'] = array(
    '#type' => 'fieldset',
    '#title' => t('Slide 3'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $form['clean_settings']['slideshow']['slide3']['slide3_head'] = array(
    '#type' => 'textfield',
    '#title' => t('Slide Headline'),
    '#default_value' => theme_get_setting('slide3_head','clean_theme'),
  );
  $form['clean_settings']['slideshow']['slide3']['slide3_desc'] = array(
    '#type' => 'textarea',
    '#title' => t('Slide Description'),
    '#default_value' => theme_get_setting('slide3_desc','clean_theme'),
  );




and changed "slide3" to "slide4", "slide5" etc.

I hope this is helpful to someone

devsaran’s picture

Status: Active » Closed (cannot reproduce)

In page.tpl.php file.

Add this code (multiple times) below line 163.

<div class="slide">
      <img src="<?php print base_path() . drupal_get_path('theme', 'clean_theme') . '/images/slide-image-4.jpg'; ?>" height="350" width="660"/>
     <div class="caption">
     <h3>Slide 4 Title</h3>
     <p>Slide 4 description</p>
     </div>
</div>

Put the slide image named slide-image-4.jgp inside image folder in theme folder.