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.

All sermons link

More
29 Dec 2018 10:38 #7365 by antt7
All sermons link was created by antt7
How to add link in Sermonspeaker module Horizontal layout to show all sermons (link to sermons in category, menu item)?
Is this correct?
Code:
<a href="<?php echo $params->get('custom_links');?>" >Show all</a>

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

More
29 Dec 2018 11:14 #7366 by Thomas Hunziker
Replied by Thomas Hunziker on topic All sermons link
Since the SermonSpeaker module doesn't have a parameter named "custom_links", that would do nothing.
I assume you want to do that in your override. There you can just create your own link like <a href="<?php echo JRoute::_('index.php?option=com_sermonspeaker&view=sermons&catid=123&Itemid=456);?>" >Show all</a>

The catid and Itemid are optional, but I would at least add the Itemid. The numbers are placeholders, you need to replace them with the ID of the category (catid) or menu item (Itemid).

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

More
29 Dec 2018 12:02 #7367 by antt7
Replied by antt7 on topic All sermons link
I have 3 different modules in one page. They show sermons from 3 different categories. I cannot add category id or itemid, but in settings of module there are options to Select menu entry and category.
How these links write in code?
In module Latest sermons i found link
<a href="<?php echo JRoute::_($link); ?>" >Show all</a>
but it does not work in Sermonspeaker module
Thanks

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

More
29 Dec 2018 17:55 #7368 by Thomas Hunziker
Replied by Thomas Hunziker on topic All sermons link
The SermonSpeaker module isn't meant to directly link to a sermons page. That's what the "latest sermons" module is intended for.
The menuitem setting is used for the speaker/series/categories links in the module. If you use that one for a link to the sermons page, you could mess up the other links.
But if you really want to use that parameter, you can fetch it using "$params->get('menuitem');"

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

More
15 Mar 2019 07:21 #7414 by antt7
Replied by antt7 on topic All sermons link

antt7 wrote: I have 3 different modules in one page. They show sermons from 3 different categories. I cannot add category id or itemid, but in settings of module there are options to Select menu entry and category.
How these links write in code?


I cannot find answer. Answer above does not work.

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

More
15 Mar 2019 12:10 #7416 by Thomas Hunziker
Replied by Thomas Hunziker on topic All sermons link
What exactly did you try?
And did you try it with the latest sermons module instead?

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

Time to create page: 0.102 seconds
Powered by Kunena Forum