No Code Attached Yet
avatar Scrabble96
Scrabble96
2 Jan 2022

Problem identified

In order to save changes to an article, it is necessary to check/tick the reCaptcha box first, but this only appears on the Content tab.
If you're working your way through an article, changing its content, adding a publishing date and then adding a meta description, then I would prefer to be able to save the article from that tab, rather than having to go back to the content tab first.

Proposed solution

Show reCaptcha on all tabs, i.e. Images and Links, Fields, Publishing, Metadata

Open questions

avatar Scrabble96 Scrabble96 - open - 2 Jan 2022
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jan 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Jan 2022
avatar Scrabble96 Scrabble96 - change - 2 Jan 2022
Title
[4.0] Shoud the front editor reCaptcha appear on all tabs - not just content?
[4.0] Should the front editor reCaptcha appear on all tabs - not just content?
avatar Scrabble96 Scrabble96 - edited - 2 Jan 2022
avatar PhilETaylor
PhilETaylor - comment - 2 Jan 2022

Show reCaptcha on all tabs, i.e. Images and Links, Fields, Publishing, Metadata

There can only be one reCaptcha. It should be outside the tabbed interface.

avatar Scrabble96
Scrabble96 - comment - 2 Jan 2022

Good answer!

avatar Scrabble96
Scrabble96 - comment - 6 Jan 2022

Does anyone have the know-how to change this? I don't.

avatar brianteeman
brianteeman - comment - 4 Mar 2022

As with so many things its just a template override. This time its the components/com_content/tmpl/form/edit.php

Just move this code to where you want it

				<?php if ($this->captchaEnabled) : ?>
					<?php echo $this->form->renderField('captcha'); ?>
				<?php endif; ?>

For example if you move it after the uitab.endTabSet it will show directly below the form no matter which tab you are on

image

Or if you move it inside a tab then it will show just on that tab

image

avatar brianteeman
brianteeman - comment - 4 Mar 2022

can be closed

avatar Quy Quy - change - 24 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-24 09:53:26
Closed_By Quy
avatar Quy Quy - close - 24 Mar 2022
avatar Scrabble96
Scrabble96 - comment - 24 Mar 2022

As with so many things its just a template override. This time its the components/com_content/tmpl/form/edit.php

Just move this code to where you want it

Thanks, Brian. I've only just seen this. It may be that "it's 'just' a template override" but anyone new to Joomla wouldn't know that. It took me months from first learning about Joomla (from a YouTube video) to discovering overrides, especially as I had no knowledge of PHP at the time.

Add a Comment

Login with GitHub to post a comment