Skip to content

Conversation

@raj20889
Copy link

@raj20889 raj20889 commented Mar 1, 2025

Pull Request for Issue #45010

Summary of Changes

  • Made the alias field always visible in the article edit form.
  • Removed the condition that restricted alias visibility to only new articles.
  • Ensured consistency in the form structure and UI.

Testing Instructions

  1. Go to Content → Articles → Edit any article.
  2. The alias field should now be always visible, even for existing articles.
  3. Save the article and verify that the alias updates correctly.

Actual Result BEFORE Applying This Pull Request

  • The alias field was only visible for new articles and hidden for existing ones.

Expected Result AFTER Applying This Pull Request

  • The alias field is always visible, allowing users to modify it when editing an article.

Link to Documentation

Please select:

  • Documentation link for docs.joomla.org:
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org:
  • No documentation changes for manual.joomla.org needed

…ering, and conditional visibility for images and metadata fields.
@raj20889 raj20889 changed the title Fix: Updated Joomla content form with proper tab handling, field rend… Fix: Updated Joomla content form with proper tab handling, field rendering, and conditional visibility for images and metadata fields. Mar 1, 2025
@raj20889
Copy link
Author

raj20889 commented Mar 1, 2025

Hey, I’ve submitted PR #45044 to always show the alias field in the article edit form.
Could someone please review it when they have time? Thanks!

@ghost
Copy link

ghost commented Apr 3, 2025

@raj20889 Please change in the title "Fix:" to "[5.2]".

@HLeithner HLeithner changed the base branch from 5.2-dev to 6.0-dev April 15, 2025 16:44
@HLeithner
Copy link
Member

This pull request has been automatically rebased to 6.0-dev.

@richard67 richard67 changed the title Fix: Updated Joomla content form with proper tab handling, field rendering, and conditional visibility for images and metadata fields. [6.0] Updated Joomla content form with proper tab handling, field rendering, and conditional visibility for images and metadata fields. Apr 28, 2025
@ceford
Copy link
Contributor

ceford commented Jun 2, 2025

I have tested this item 🔴 unsuccessfully on be56882

Testing this in 6.0.0-alpha1-dev: the summary says a lot but the diff only shows one line changed in one file. Should this be a front end test - in which case the instructions make no sense.

I applied the patch and got this error in all edit pages:

0 Call to undefined method Joomla\CMS\Form\Form::renderControlFields() 

Call Stack
# 	Function 	Location
1 	() 	JROOT/components/com_content/tmpl/form/edit.php:153
2 	include() 	JROOT/libraries/src/MVC/View/HtmlView.php:416
3 	Joomla\CMS\MVC\View\HtmlView->loadTemplate() 	JROOT/libraries/src/MVC/View/HtmlView.php:204
4 	Joomla\CMS\MVC\View\HtmlView->display() 	JROOT/components/com_content/src/View/Form/HtmlView.php:197
5 	Joomla\Component\Content\Site\View\Form\HtmlView->display() 	JROOT/libraries/src/MVC/Controller/BaseController.php:697
6 	Joomla\CMS\MVC\Controller\BaseController->display() 	JROOT/components/com_content/src/Controller/DisplayController.php:123
7 	Joomla\Component\Content\Site\Controller\DisplayController->display() 	JROOT/libraries/src/MVC/Controller/BaseController.php:730
8 	Joomla\CMS\MVC\Controller\BaseController->execute() 	JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
9 	Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() 	JROOT/components/com_content/src/Dispatcher/Dispatcher.php:56
10 	Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch() 	JROOT/libraries/src/Component/ComponentHelper.php:361
11 	Joomla\CMS\Component\ComponentHelper::renderComponent() 	JROOT/libraries/src/Application/SiteApplication.php:218
12 	Joomla\CMS\Application\SiteApplication->dispatch() 	JROOT/libraries/src/Application/SiteApplication.php:261
13 	Joomla\CMS\Application\SiteApplication->doExecute() 	JROOT/libraries/src/Application/CMSApplication.php:306
14 	Joomla\CMS\Application\CMSApplication->execute() 	JROOT/includes/app.php:58
15 	require_once() 	JROOT/index.php:32 
```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/45044">issues.joomla.org/tracker/joomla-cms/45044</a>.</sub>

@brianteeman
Copy link
Contributor

This is only for the front end com_content form. Knowing that the instructions make perfect sense.

@exlemor
Copy link

exlemor commented Jun 6, 2025

I have tested this item ✅ successfully on be56882

Hello Raj, thanks for the work - I have tested this successfully.

I understand this is NOT in this PR, but this led me to realize that it would be great if the backend tooltip of hovering over the Check-In lock would include information on whether someone has checked out an article using Front-End or the Back-end - i.e. currently it only has:

Check-in
Emmanuel Lemor
Friday, 06 June 2025
22:53

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45044.

@muhme
Copy link
Contributor

muhme commented Jul 11, 2025

I have tested this item ✅ successfully on be56882


Tested with JBT before applying this PR

  • Checked in the frontend view, editing the article, the alias field is not existing

Applied this PR

@richard67
Copy link
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45044.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jul 11, 2025
@richard67 richard67 changed the title [6.0] Updated Joomla content form with proper tab handling, field rendering, and conditional visibility for images and metadata fields. [6.0] Made the alias field always visible in the article edit form (site) Jul 11, 2025
@softforge softforge merged commit f3b89f1 into joomla:6.0-dev Jul 24, 2025
3 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jul 24, 2025
@softforge softforge added this to the Joomla! 6.0.0 milestone Jul 24, 2025
@softforge
Copy link
Contributor

Thank you, @raj20889, for your work, and the testers involved in getting this over the line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants