- Posts: 4
- Thank you received: 0
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.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.
Speaker Biography should be repositioned
26 Dec 2012 15:26 #2827
by Iasmin
Speaker Biography should be repositioned was created by Iasmin
Hello there,
I have a page with the speaker listing all his series/sermons. I am using the tiles layout. In the backend, for the speaker, there is a place for Intro text and Biography text. But when I go to see the page both the Intro and Biography texts are under the Biography header. I don't think that this is right. I would suggest moving the Biography header to be just above the Biography text and leave the Intro text without a header.
This is what the components/com_sermonspeaker/views/speaker/tmpl/tiles-series.php file looks like:
This is what I changed it to:
I hope it is of use
I have a page with the speaker listing all his series/sermons. I am using the tiles layout. In the backend, for the speaker, there is a place for Intro text and Biography text. But when I go to see the page both the Intro and Biography texts are under the Biography header. I don't think that this is right. I would suggest moving the Biography header to be just above the Biography text and leave the Intro text without a header.
This is what the components/com_sermonspeaker/views/speaker/tmpl/tiles-series.php file looks like:
Code:
<?php if (($this->item->bio && in_array('speaker:bio', $this->columns)) || ($this->item->intro && in_array('speaker:intro', $this->columns))) : ?>
<h3><?php echo JText::_('COM_SERMONSPEAKER_SPEAKER_BIO'); ?></h3>
<?php
if (in_array('speaker:intro', $this->columns)):
echo JHTML::_('content.prepare', $this->item->intro);
endif;
if (in_array('speaker:bio', $this->columns)):
echo JHTML::_('content.prepare', $this->item->bio);
endif;
endif; ?>
This is what I changed it to:
Code:
<?php if (($this->item->bio && in_array('speaker:bio', $this->columns)) || ($this->item->intro && in_array('speaker:intro', $this->columns))) : ?>
<?php
if (in_array('speaker:intro', $this->columns)):
echo JHTML::_('content.prepare', $this->item->intro);
endif;
echo '<h3>' . JText::_('COM_SERMONSPEAKER_SPEAKER_BIO') . '</h3>';
if (in_array('speaker:bio', $this->columns)):
echo JHTML::_('content.prepare', $this->item->bio);
endif;
endif; ?>
I hope it is of use
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
26 Dec 2012 17:02 #2828
by Thomas Hunziker
Replied by Thomas Hunziker on topic Speaker Biography should be repositioned
The way it's currently is kind of how articles work with the readmore function. So it's working as intended. However it's basically up to the layout how it will be displayed.
You can also create your own layouts. Look in the doc section how it works.
You can also create your own layouts. Look in the doc section how it works.
Please Log in or Create an account to join the conversation.
26 Dec 2012 17:45 #2829
by Iasmin
Replied by Iasmin on topic Speaker Biography should be repositioned
Thanks for the reply.
Please Log in or Create an account to join the conversation.
Time to create page: 0.258 seconds