Hi,

I opened the page--front.tpl.php file and copied and paste the code related to one picture to add a 4th image.
I called the picture "slide-image-4.jpg" and put in the images folder.
But how you can see in the home site page it doesn't appears while the blue dot and timing is working.
Besides, in the theme settings I see the new Slide 4 link that opens but the text is not shown in the slideshow.
This is the homepage link http://www.expo2015-italy.com/druped/
I attach the modified page--front.tpl.php file and a shot of the settings page in a zip file
I wish someone can help me understand my mistakes

I'm a very newcomer in the drupal and php use

Thanks
Angelo

CommentFileSizeAuthor
shotandfront-template.zip80.29 KBAngelo Giammarresi

Comments

guitarma’s picture

Hopefully this will help you. This is what I've found:
I cannot get the slideshow to work in IE8.
For page--front.tpl, your code looks a bit different than mine for the text in the slidshow. This is what mine looks like:

<div class="descriptions">
<div class="desc" style="display: none;">This is where my first description is</div>
<div class="desc" style="display: none;">This is the description for my 2nd photo</div>
<div class="desc" style="display: none;">This is the description for my 3rd photo</div>

And so on.... and they are working fine in Firefox.

I hope that helps!

Angelo Giammarresi’s picture

Thank you but it doesn't works.

I made all changes and I can state that the problem is in the pictures array counter because if you check my link the dot changes 4 times as well as the timing pause but neither the description n.4 nor the picture, it still use the n.3 description and picture n.3

I'm not so experienced to find where this array counter is located, I tried and doubled checked the front--page.tpl.php but nothing to do.

I wish someone can have some more suggestions.
Thanks

Angelo Giammarresi’s picture

Solved!
I asked to my provider assistance and they found out there was an error in this section "paging" when I copied the line 3 to convert in line 4 I made a mistake inadvertently.

I changed only the number 4 and not the rel=...

Thank you for helping
Regards,
Angelo

devsaran’s picture

Status: Active » Closed (fixed)

Thanks guitarma for providing assistance to Angelo..

Angelo Giammarresi’s picture

I want to say you thank you and inform that I found an inversion of slide picture number inside the original
front-tpl.pl page code.

If you look it up there's in

print url<strong>($url1)</strong>; ">Only local images are allowed. print base_path() . drupal_get_path('theme', 'business') . '/images/<strong>slide-image-3.jpg</strong>'; ">

You see url1 related to slide-image3 it can mislead if people want to change the pictures in the sequence...
I point out cause I also found me in problems when I changed the pictures and their not showed in the right sequence...You can change it or write some lines in documentation to indicate this line to correct.

I wish it is helpful to someone

Thanks
Angelo