- Posts: 60
- Thank you received: 0
Support for SermonSpeaker 3.x is canceled as it is for Joomla 1.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 4.x, which is better anyway.
The fix is to upgrade to SermonSpeaker 4.x, which is better anyway.
Series Menu View Messed Up
- Manuel Kuhs
- Topic Author
- Offline
- Senior Member
Less
More
05 Jan 2011 13:11 #11
by Manuel Kuhs
Series Menu View Messed Up was created by Manuel Kuhs
I really love SermonSpeaker and use it for our church website.
However, I have come across what seems to be an error in the design.
If I create a menu entry to show sermons from a specific series, the list of sermons is pushed below the bottom of all modules on the right hand side. See here .
However, if I create a menu entry simply listing all sermons or menu entries listing sermons by category, it works perfectly fine. See here and here .
However, I have come across what seems to be an error in the design.
If I create a menu entry to show sermons from a specific series, the list of sermons is pushed below the bottom of all modules on the right hand side. See here .
However, if I create a menu entry simply listing all sermons or menu entries listing sermons by category, it works perfectly fine. See here and here .
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
- Offline
- Administrator
05 Jan 2011 14:18 #12
by Thomas Hunziker
Replied by Thomas Hunziker on topic Re: Series Menu View Messed Up
I had someone bugging this as well earlier but didn't hear an answer if it's solved or not.
Can you try the following change:
It's related to the file /components/com_sermonspeaker/views/serie/tmpl/default.php
Around line 25 it says
This seems to break out of your template and put the following code below the whole template layout, thus creating this empty space. Changing it to
should remedy the problem.
The funny thing is that this is working on the templates I test with, so I believe it's some compatibility issue with your template or some module/plugin you use. Not sure what excactly is causing this behavior.
Can you tell me if this change works for you?
Can you try the following change:
It's related to the file /components/com_sermonspeaker/views/serie/tmpl/default.php
Around line 25 it says
Code:
<br style="clear:both" />
Code:
<br />
The funny thing is that this is working on the templates I test with, so I believe it's some compatibility issue with your template or some module/plugin you use. Not sure what excactly is causing this behavior.
Can you tell me if this change works for you?
Please Log in or Create an account to join the conversation.
- Manuel Kuhs
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 60
- Thank you received: 0
06 Jan 2011 09:55 #14
by Manuel Kuhs
Replied by Manuel Kuhs on topic Re: Series Menu View Messed Up
Thank you very much for your help.
The file /components/com_sermonspeaker/views/serie/tmpl/default.php is as follows:
The file /components/com_sermonspeaker/views/serieS/tmpl/default.php is:
Both of these don't contain the line you refer to...
The file /components/com_sermonspeaker/views/serie/tmpl/default.php is as follows:
Code:
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JHTML::_('behavior.tooltip');
JHTML::_('behavior.modal');
/* JS Script f
The file /components/com_sermonspeaker/views/serieS/tmpl/default.php is:
Code:
<?php
defined('_JEXEC') or die('Restricted access');
JHTML::_('behavior.tooltip');
JHTML::_('behavior.modal');
?>
<div id="ss-series-container">
<h1 class="componentheading">
<?php echo JText::_('COM_SERMONSPEAKER_SERIES_TITLE').$this->cat; ?>
</h1>
<p />
<?php if ($this->rows){ ?>
<div class="Pages">
<div class="Paginator">
<?php echo $this->pagination->getResultsCounter(); ?><br />
<?php if ($this->pagination->getPagesCounter()) echo $this->pagination->getPagesCounter()."<br />"; ?>
<?php if ($this->pagination->getPagesLinks()) echo $this->pagination->getPagesLinks()."<br />"; ?>
</div>
</div>
<hr style="width: 100%; height: 2px;" />
<form action="http://<?php echo $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] ?>" method="post" id="adminForm" name="adminForm">
<table cellpadding="2" cellspacing="2" width="100%">
<tr>
<?php if($this->av) { echo "<th width='10'> </th>"; } ?>
<th align="left"><?php echo JText::_('COM_SERMONSPEAKER_SERIESTITLE'); ?></th>
<th align="left"><?php echo JText::_('COM_SERMONSPEAKER_SPEAKER'); ?></th>
</tr>
<?php
$i = 0;
$base = JURI::root();
foreach($this->rows as $row) {
echo "<tr class=\"row$i\">\n";
$i = 1 - $i;
if ($this->av) {
if ($row->avatar != '') {
echo "<td><img src='".SermonspeakerHelperSermonspeaker::makelink($row->avatar)."' ></td>";
} else {
echo "<td> </td>";
}
}
?>
<td align="left" nowrap><a title='<?php echo JText::_('COM_SERMONSPEAKER_SERIESLINK_HOOVER'); ?>' href="<?php echo JRoute::_("index.php?view=serie&id=$row->id" ); ?>"><?php echo $row->series_title; ?></a></td>
<td align="left">
<?php echo $row->speakers; ?>
</td>
</tr>
<?php } ?>
</table>
<br />
<div class="Pages">
<div class="Paginator">
<?php echo $this->pagination->getListFooter(); ?><br />
</div>
</div>
</form>
<?php } else { ?>
<div class="no_entries"><?php echo JText::sprintf('COM_SERMONSPEAKER_NO_ENTRIES', JText::_('COM_SERMONSPEAKER_SERIES')); ?></div>
<?php } ?>
</div>
Both of these don't contain the line you refer to...
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
- Offline
- Administrator
06 Jan 2011 10:13 #15
by Thomas Hunziker
Replied by Thomas Hunziker on topic Re: Series Menu View Messed Up
The first file should be the correct one. The second one is for the series listings (where you see a list of series), while the first one is for the single series (in german "Serie" )
The part you posted is only a fragment of the file. The first 30 lines look like this (assuming SermonSpeaker 3.4.2):
The part you posted is only a fragment of the file. The first 30 lines look like this (assuming SermonSpeaker 3.4.2):
Code:
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JHTML::_('behavior.tooltip');
JHTML::_('behavior.modal');
/* JS Script für Joomla Sortierung */
JFactory::getDocument()->addScriptDeclaration( "
function tableOrdering( order, dir, task ) {
var form = document.adminForm;
form.filter_order.value = order;
form.filter_order_Dir.value = dir;
form.submit( task );
}"
);
?>
<div id="ss-serie-container">
<h1 class="componentheading"><?php echo JText::_('COM_SERMONSPEAKER_SERIE_TITLE').": ".$this->serie->series_title; ?></h1>
<div class="ss-serie-desc">
<span class="ss-avatar"><?php if ($this->serie->avatar != "") {
echo "<img src='".SermonspeakerHelperSermonspeaker::makelink($this->serie->avatar)."' >";
} ?>
</span>
<?php echo $this->serie->series_description; ?>
</div>
<br style="clear:both" />
<?php if ($this->rows){ ?>
<?php if ($this->params->get('series_player')){ ?>
<hr style="width: 80%; height: 1px; text-align: center;">
<?php
$lnk = "index.php%3Foption%3Dcom_sermonspeaker%26view%3Dfeed%26series_id%3D".$this->serie->id;
Please Log in or Create an account to join the conversation.
- Manuel Kuhs
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 60
- Thank you received: 0
06 Jan 2011 10:45 #16
by Manuel Kuhs
Replied by Manuel Kuhs on topic Re: Series Menu View Messed Up
Ah yes you're right, my apologies! For some reason my webhosting file viewer didn't show that part of the file...
And yes, that did it, problem now fixed!
Vielen Dank
Ist die Mehrzahl von "Serie" auf deutsch nicht "Serien"?
And yes, that did it, problem now fixed!
Vielen Dank
Ist die Mehrzahl von "Serie" auf deutsch nicht "Serien"?
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
- Offline
- Administrator
06 Jan 2011 11:11 #17
by Thomas Hunziker
Replied by Thomas Hunziker on topic Re: Series Menu View Messed Up
Doch, aber als ich die Views anfangs benannte dachte ich die Einzahl von Serie ist in Englisch auch "serie"Manuel Kuhs wrote: Ist die Mehrzahl von "Serie" auf deutsch nicht "Serien"?
Please Log in or Create an account to join the conversation.
Time to create page: 0.117 seconds