joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[5.1] New Article site

Open brianteeman opened this issue 2 years ago • 13 comments

If you are authorised to create content on the front end of the site then in a category list view you have an edit button for each article and a button to create a new article

If you are authorised to create content on the front end of the site then in a category blog view you have an edit button for each article and NO button to create a new article

This PR adds a new article button to a category blog view

To test Apply PR Log in to the front end of your site and go to any blog category page and you will now have a new article button at the bottom

image

brianteeman avatar Dec 27 '22 21:12 brianteeman

It works. But the button looks so out of place that I will leave my vote against. Without speaking in principle about the button at the very end of the page, when there can be quite a lot of articles on it like for a blog, there is also an option when the blog is the main page and this button also looks out of place. As for me - the ability to create articles is better controlled by any menu item in any menu in the right place. In principle, the same situation applies to the LIST layout, where we currently have a create button.

Kostelano avatar Dec 27 '22 21:12 Kostelano

Going to ignore those comments. This is no different to the list view

brianteeman avatar Dec 27 '22 21:12 brianteeman

See issue #39558, there is a problem with the New Article button on the list view in that it uses the wrong category.


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

Catriona avatar Jan 12 '23 13:01 Catriona

This pull request has been automatically rebased to 5.0-dev. No new features will be merged into Joomla! 4.3 series. Joomla! 4.4 series is a bridge release to make migration from Joomla! 4 to 5 as smooth as possible.

HLeithner avatar May 08 '23 15:05 HLeithner

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

HLeithner avatar Sep 30 '23 22:09 HLeithner

I have tested this item :white_check_mark: successfully on b2c6654cb329b6c28a955a60e1cd0d7b9ccca863


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

dorisdreher avatar Feb 24 '24 09:02 dorisdreher

I have tested this item :white_check_mark: successfully on b2c6654cb329b6c28a955a60e1cd0d7b9ccca863

good work


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

faustonenci avatar Feb 24 '24 10:02 faustonenci

RTC


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

richard67 avatar Feb 24 '24 10:02 richard67

Hi @brianteeman, I applied the patch but the "New Article" button does not appear in blog view. I'm using a child of Cassiopeia.

If I go to Templates Customise: /templates/cassiopeia_rlm/html/com_content/category/blog.php I can see the change compared to the original file

diff

But it is not reported as "Override Files" change

diff 2

I confirm that by returning to the Cassiopeia parent template I can see the New Article button from the front end.

walturbo avatar Feb 24 '24 11:02 walturbo

That is expected behaviour

brianteeman avatar Feb 24 '24 11:02 brianteeman

I have tested this item :white_check_mark: successfully on b2c6654cb329b6c28a955a60e1cd0d7b9ccca863


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

devcodemonkey avatar Feb 24 '24 11:02 devcodemonkey

I have tested this item :white_check_mark: successfully on b2c6654cb329b6c28a955a60e1cd0d7b9ccca863


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

pe7er avatar Feb 24 '24 11:02 pe7er

I have tested this item :white_check_mark: successfully on b2c6654cb329b6c28a955a60e1cd0d7b9ccca863


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

walturbo avatar Feb 24 '24 11:02 walturbo

Thx

bembelimen avatar Feb 28 '24 17:02 bembelimen

Thanks all

brianteeman avatar Feb 28 '24 17:02 brianteeman