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.

Module Sermonspeaker+Layout Tiles

More
28 Feb 2013 20:49 #3120 by antt7
Is it possible to show list of speakers in Tile-layout? (like in menu: Speakers list (Layout:Tiles).

Thanks

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

More
28 Feb 2013 21:48 #3121 by Thomas Hunziker
There is currently only one layout available in the SermonSpeaker module. Showing the speakers as tiles is not an option at the moment.
However in Joomla almost everything can be customized with template overrides.

There happens to be a nice new tutorial on magazine.joomla.org about alternative layouts for components and modules.

This is how you can do it, or you could just copy the existing layout in /modules/mod_sermonspeaker/tmpl/default.php.

The content is available in the array $list and each object in this array represents a speaker. Each speaker object has then the following properties which can be used in the layout:
  • id (internal number)
  • title (name)
  • tooltip (intro)
  • pic (picture)
  • slug (id:alias, used for creating links)
So you can do something along this way:
Code:
<?php foreach ($list as $item) : ?> <div class="tile"><img src="<?php echo JURI::root().$item->pic; ?>"></div> <?php endforeach; ?>
Of course this is a very basic example. You probably want some links to the speaker and maybe also tooltips with additional informations. And you need to style everything with CSS rules in your template CSS file.
The following user(s) said Thank You: antt7

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

Time to create page: 0.133 seconds
Powered by Kunena Forum