- Posts: 9
- Thank you received: 0
Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.
Scripture links not working
- Jonathan Tice
- Topic Author
- Offline
- New Member
Less
More
17 Jan 2016 22:53 #5794
by Jonathan Tice
Scripture links not working was created by Jonathan Tice
See
www.dovermaranatha.com/sermons-list
The scripture links have weird characters and none of the scripture link plugins work. Currently, I have BibleLink XT enabled. Any help would be appreciated.
The scripture links have weird characters and none of the scripture link plugins work. Currently, I have BibleLink XT enabled. Any help would be appreciated.
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
- Offline
- Administrator
18 Jan 2016 07:41 #5795
by Thomas Hunziker
Replied by Thomas Hunziker on topic Scripture links not working
Looks like an encoding issue somehow. How did you enter the scripture? Maybe copy-pasted from somewhere?
Please Log in or Create an account to join the conversation.
- Jonathan Tice
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
18 Jan 2016 18:10 #5796
by Jonathan Tice
Replied by Jonathan Tice on topic Scripture links not working
No, I'm not copy-pasting. I use the button for adding a scripture on the 'Files and details' tab when editing a sermon. If I use the 'Free Text' field the characters don't happen, but either way the scripture plugins don't work. For 17 January I used 'Free Text'.
Please Log in or Create an account to join the conversation.
- Jonathan Tice
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
18 Jan 2016 18:33 #5797
by Jonathan Tice
Replied by Jonathan Tice on topic Scripture links not working
So I think I have two separate bugs.
1) When adding scripture with the book/chapter/verse fields, scriptures appear like this:
Adding a scripture with the 'Free Text' field works fine.
2) The scripture tags under Global options aren't working for me.
I have the fields set to
and
and the plugin does nothing. If I add a scripture as 'Free Text' with the plugin tags included, then the plugin works. For example, for 10 May I did
and it makes the verse into a link.
1) When adding scripture with the book/chapter/verse fields, scriptures appear like this:
Code:
2Matthew 9�
2) The scripture tags under Global options aren't working for me.
I have the fields set to
Code:
{bib=
Code:
}
Code:
{bib=Proverbs 1:7-8}
Please Log in or Create an account to join the conversation.
- Jonathan Tice
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
18 Jan 2016 18:56 #5798
by Jonathan Tice
Replied by Jonathan Tice on topic Scripture links not working
Digging into the code (disclaimer: I'm not a programmer), if I comment out line 609 of com_sermonspeaker/helpers/sermonspeaker.php (3rd line below), everything works as expected.
Code:
if ($text && $addTag)
{
//$tags = self::$params->get('plugin_tag');
// Due to a strange behavior of the menuitem (Registry?), I manually retrieve component params if "Use Global" was selected.
if (!$tags)
{
$tags = JComponentHelper::getParams('com_sermonspeaker')->get('plugin_tag');
}
$text = $tags[0] . $text . $tags[1];
}
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
- Offline
- Administrator
18 Jan 2016 19:52 #5799
by Thomas Hunziker
Replied by Thomas Hunziker on topic Scripture links not working
I think the two issues are related
Can you check the menu item parameters? Make sure you don't have any (invisible?) characters saved there for the plugin tags parameters. Best set it it "Use Global" if it's not already done so.
The code you commented would fetch that parameter from the menu item.
If that doesn't fix it, I would be interested what happens when you have more than one scripture saved for a single sermon. Does the strange symbol repeat after each scripture or is it there only once?
Can you check the menu item parameters? Make sure you don't have any (invisible?) characters saved there for the plugin tags parameters. Best set it it "Use Global" if it's not already done so.
The code you commented would fetch that parameter from the menu item.
If that doesn't fix it, I would be interested what happens when you have more than one scripture saved for a single sermon. Does the strange symbol repeat after each scripture or is it there only once?
Please Log in or Create an account to join the conversation.
Time to create page: 0.118 seconds