Support for SermonSpeaker 3.x is canceled as it is for Joomla 1.5. I will gladly assist you with minor issues but I will not fix any bugs anymore in this releases.
The fix is to upgrade to SermonSpeaker 4.x, which is better anyway.

"control the player" jumps to top of page

More
09 Oct 2012 22:55 #2619 by Mark Landry
Hi,
I have a list of sermons with both the play icon and title set to control the player. When the icon is clicked, all works fine, but when the title is clicked, the player starts, but the page jumps to the top of the page. See here:

www.mentorleadershipteam.com/index.php?o...=sermons&Itemid=187#

Thanx for any help you can provide.

Mark

Please Log in or Create an account to join the conversation.

More
10 Oct 2012 08:24 #2622 by Thomas Hunziker
That's actually how HTML works.
The icon is not a real link, it's a picture with an onclick Javascript event. The title however is set up as a link which points to an undefined anchor (#) and also has the onclick event.
That's why the title link jumps to the top and the icon doesn't.

Please Log in or Create an account to join the conversation.

More
15 Oct 2012 14:05 #2632 by Thomas Hunziker
While working on the Joomla 3.0 layouts I found the solution for your problem.
If you look at the file

components/com_sermonspeaker/helpers/sermonspeaker.php

you can search for the following code:
Code:
$options['onclick'] = 'ss_play('.$i.')';
Change that to the following one:
Code:
$options['onclick'] = 'ss_play('.$i.');return false;';
and it should work.

Please Log in or Create an account to join the conversation.

More
15 Oct 2012 19:45 #2638 by Mark Landry
Thanx Thomas,
I had already disabled the link to the sermon, but if that causes any probs I'll give this a try.

Mark

Please Log in or Create an account to join the conversation.

Time to create page: 0.170 seconds
Powered by Kunena Forum