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.

Modifying frontendupload to hide "Scripture +"

More
17 Nov 2012 02:46 #2735 by Molla
I have been trying to hide "Scripture +" in detail section of frontendupload.

This is what I did so fart:

Inside view folder, I opened /frontedupload/templ/default.php and try to comment out particular line that has to do with "Scripture" label but I couldn't find anything. I generally figure out the section that deals with this particular section as shown on the code below. How can I find the line that deal with "Scripture" line including the "+" image.
<fieldset>
<legend><?php echo JText::_('JDETAILS'); ?></legend>
<?php foreach($this->form->getFieldset('detail') as $field): ?>
<div class="formelm">
<?php echo $field->label; ?>
<?php echo $field->input; ?>
<?php if ($field->fieldname == 'picture'): ?>
<div style="clear:both"></div>
<?php endif; ?>
</div>
.
.
<fieldset>


For detail please refer to the attached image.

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

More
17 Nov 2012 08:15 #2737 by Thomas Hunziker
It's a bit tricky to find if you don't know how Joomla forms work. But it's very easy once you found the file :-)

Look at

/components/com_sermonspeaker/models/forms/sermon.xml

You will find something like this:
Code:
<field name="scripture" type="scripture" class="inputbox" label="COM_SERMONSPEAKER_FIELD_SCRIPTURE_LABEL" description ="COM_SERMONSPEAKER_FIELD_SCRIPTURE_DESC" size="30" readonly="true" />
If you delete this whole part, you will not see the scripture anymore in the form.

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

More
17 Nov 2012 21:53 #2740 by Molla
It worked! Thanks so much.

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

More
17 Nov 2012 22:13 #2742 by Thomas Hunziker
Of course it does :-)

Just keep in mind that you will have to delete it again after the next update.

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

More
20 Nov 2012 04:25 #2751 by Molla
Sure, thanks.

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

Time to create page: 0.308 seconds
Powered by Kunena Forum