- Posts: 3
- 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.
Modifying frontendupload to hide "Scripture +"
17 Nov 2012 02:46 #2735
by Molla
Modifying frontendupload to hide "Scripture +" was created 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.
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.
- Thomas Hunziker
-
- Offline
- Administrator
-
17 Nov 2012 08:15 #2737
by Thomas Hunziker
Replied by Thomas Hunziker on topic Modifying frontendupload to hide "Scripture +"
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
If you delete this whole part, you will not see the scripture anymore in the form.

Look at
You will find something like this:/components/com_sermonspeaker/models/forms/sermon.xml
Code:
<field name="scripture" type="scripture" class="inputbox"
label="COM_SERMONSPEAKER_FIELD_SCRIPTURE_LABEL" description ="COM_SERMONSPEAKER_FIELD_SCRIPTURE_DESC"
size="30"
readonly="true"
/>
Please Log in or Create an account to join the conversation.
17 Nov 2012 21:53 #2740
by Molla
Replied by Molla on topic Modifying frontendupload to hide "Scripture +"
It worked! Thanks so much.
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
17 Nov 2012 22:13 #2742
by Thomas Hunziker
Replied by Thomas Hunziker on topic Modifying frontendupload to hide "Scripture +"
Of course it does 
Just keep in mind that you will have to delete it again after the next update.

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.
20 Nov 2012 04:25 #2751
by Molla
Replied by Molla on topic Modifying frontendupload to hide "Scripture +"
Sure, thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.263 seconds