Support for SermonSpeaker 4.x is canceled as it is for Joomla 2.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 5.x and Joomla 3.x, which is better anyway.

Scripture Links

More
11 Aug 2011 04:17 - 11 Aug 2011 04:38 #848 by Andrei Chernyshev
Tried to post this on Scripture links forums, but when i log in i get errors. Attached is scripture links plugin. I've tested it out on 1.7 so far, haven't tried 1.6 yet. Thomas can you help me move JavaScripts into the head? also replace all function is bugged, in 1.5 and current version i want to see if i can debug it also.
Attachments:
Last edit: 11 Aug 2011 04:38 by Andrei Chernyshev.

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

More
11 Aug 2011 12:34 - 11 Aug 2011 12:37 #852 by Thomas Hunziker
Replied by Thomas Hunziker on topic Re: Scripture Links
JHTML::Script() is to include an extern javascript file. Like this:
Code:
JHTML::Script('media/com_sermonspeaker/player/audio_player/audio-player.js');
If you want to declare a script you can use JDocument::addScriptDeclaration
In SermonSpeaker we use it like this:
Code:
$this->document->addScriptDeclaration(' AudioPlayer.setup("'.JURI::root().'media/com_sermonspeaker/player/audio_player/player.swf", { width: 290, initialvolume: 100, transparentpagebg: "yes", left: "000000", lefticon: "FFFFFF" });');
In the view, the document is already present. In a plugin maybe you need to get an instance first
Last edit: 11 Aug 2011 12:37 by Thomas Hunziker.

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

More
11 Aug 2011 13:47 #854 by Andrei Chernyshev
thanks, here is button for scripture links.
Attachments:

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

Time to create page: 0.110 seconds
Powered by Kunena Forum