Captcha's position
- GK User
- Sat Oct 31, 2015 3:25 pm
I have enabled recaptcha in my local site but it is positioned in between subject and message.
FYI. I have made no customizations
FYI. I have made no customizations
-
- Fresh Boarder
- GK User
- Sat Oct 31, 2015 3:32 pm
Hi,
if you want I can show you how to move under (but url requested).
But in my option it's not so bad location anyway , only captcha header label can be hidden
if you want I can show you how to move under (but url requested).
But in my option it's not so bad location anyway , only captcha header label can be hidden
-
- Platinum Boarder
- GK User
- Sat Oct 31, 2015 3:36 pm
I'll report that issue to our devteam.
-
- Moderator
- GK User
- Sat Oct 31, 2015 3:40 pm
You can simply fix that by editing this file:
/templates/gk_photo/html/com_contact/contact/default_form.php
and moving this block of code:
one or two lines down.
/templates/gk_photo/html/com_contact/contact/default_form.php
and moving this block of code:
- Code: Select all
<?php //Dynamically load any additional fields from plugins. ?>
<?php foreach ($this->form->getFieldsets() as $fieldset): ?>
<?php if ($fieldset->name != 'contact'):?>
<?php $fields = $this->form->getFieldset($fieldset->name);?>
<?php foreach($fields as $field): ?>
<?php if ($field->hidden): ?>
<?php echo $field->input;?>
<?php else:?>
<p> <?php echo $field->label; ?>
<?php if (!$field->required && $field->type != "Spacer"): ?>
<span class="optional"><?php echo JText::_('COM_CONTACT_OPTIONAL');?></span>
<?php endif; ?>
<?php echo $field->input;?></p>
<?php endif;?>
<?php endforeach;?>
<?php endif ?>
<?php endforeach;?>
one or two lines down.
-
- Moderator
- GK User
- Sun Nov 01, 2015 1:46 pm
Thanks Cyberek.
-
- Fresh Boarder
- GK User
- Sun Nov 01, 2015 2:39 pm
No problem.
If you have any additional questions regarding this topic, please let me know.
If you have any additional questions regarding this topic, please let me know.
-
- Moderator
- GK User
- Thu Dec 31, 2015 10:08 am
This change was also added to our template and will be delivered with next release.
-
- Moderator
7 posts
• Page 1 of 1