joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.77k stars 3.65k forks source link

[4.0] IMPROVEMENT categories #25619

Open Open2logic opened 5 years ago

Open2logic commented 5 years ago

A website can have corporate information, for example: about us?, address, services, tec.

But you can also have organized content: classified ads,, directories, news, etc. EXAMPLE: Categoriy parent named: SPORTS Categories children named: FOOBALL, BASKET, GOLF, TENNIS, etc

Now there are two deficiencies

FIRST IMPROVEMENT: ADD ANOTHER CATEGORY BUTTOM Joomla can not show articles of several chosen categories

NOW 1 category joomla4-1

and show EDIT or CLEAR joomla4-2

THIS IS BETTER, button for ADD ANOTHER CATEGORY joomla4-another

SECOND IMPROVEMENT: CHOSEN CATEGORIES IN FORM Now a user who can add an article necessarily sees all the categories of a parent or a predetermined category

NOW all category or default category cat-joomla4

THIS IS BETTER, select ctegories to show for the user in the form user-4

They usually put a predetermined category, In this example SPORTS, but they can not choose the children catergoies FOOBALL, BASKET, GOLF, TENNIS, etc.

THANKS

HLeithner commented 5 years ago

You should use tags for this. Joomla categories are designed to only have one category per item. This generates also an unique url for the article.

micker commented 5 years ago

ar use a CCK (some of this have add multicategory)

ghost commented 5 years ago

closed for Comments above. Please reopen if further Discussion needed.

Open2logic commented 5 years ago

My English is very bad, but really three people nobody has understood what he has exposed.

Open2logic commented 5 years ago

I do not speak of articles in several categories, I do not speak of a cck, I do not speak of labels, I speak of being able to choose to show several categories in blog format, something very necessary in directories, advertisements, etc.

Open2logic commented 5 years ago

You should use tags for this. Joomla categories are designed to only have one category per item. This generates also an unique url for the article.

When you associate an item to a parent category, you are showing articles of various categories., It's about being able to choose which specific categories.

brianteeman commented 5 years ago

If you have a category structure like this Blog -- news -- joomla -- web

And then create a blog menu item to point to the category BLOG and include subcategories then you achieve what you are looking for. That is exactly how I have created my home page (https://brian.teeman.net). image

Open2logic commented 5 years ago

Bravo Brian, thank you very much, it's exactly that, but it's not very intuitive, nor did I stop to understand what the explanatory text says, how many users do not know this functionality for blogs?

Open2logic commented 5 years ago

Brian certainly what I indicated to choose certain categories was a request that you liked in the past but was dismissed because Joomla 3 opens a modal window to choose the category and it looked complicated, that's why I wanted to recover the request for Joomla 4 but with a better UX than the current one, the current one and thinking carefully about the current function, there are still limitations that depend on the order and number chosen in the subcategories to be displayed.

brianteeman commented 5 years ago

I dont think making the user select each category instead of simply checking to include subcategories is any easier

Open2logic commented 5 years ago

But currently the subcategories must belong to the same father and also have to be in order, are limitations for a blog

Open2logic commented 5 years ago

https://github.com/joomla/joomla-cms/issues/15249#issuecomment-302823905

brianteeman commented 5 years ago

You see a limitation - I see good data structure

Not sure why you post that link as it was related to submitting content on the front end and not to displaying content

Open2logic commented 5 years ago

Show the link because it also has a reference to the subcategories added in the menu item not in the blog view but is in the view of this form to add article. for example Brian on your website: https: //brian.teeman.net). If you create a form to add an article associated with your parent category, what categories and how many will the user see? I'm going to try it as you indicate.

Open2logic commented 5 years ago

Fo rme not work, include a number in subcategories, the intem to blog show all articles of all categories.

multi

I will try a new instance

Pablo234 commented 5 years ago

I agree with this improvement.

Also include the possibility to create a new article just in selected category and subcategories.

For example:

You have a news blog. You want people write news, but you have 2 subactegories (sports, health).

Now joomla just allow you to select category (news) or subcategory (sports or health). The new must be in subcategory, not in parent.


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

Open2logic commented 5 years ago

I am a Joomla course teacher (7 years) and when I put the exercise of creating a Blog all students (who have a basic vision of the needs) ask me the same question: why can't I choose the subcategories). This improvement is simple but necessary for Blog, ads websites, news websites, directories, etc. Joomla would be perfect for this type of websites with this improvement. Thanks for seeing it.

Open2logic commented 5 years ago

If you have a category structure like this Blog -- news -- joomla -- web

And then create a blog menu item to point to the category BLOG and include subcategories then you achieve what you are looking for. That is exactly how I have created my home page (https://brian.teeman.net). image

I tried this

Categories and subcategories of a news website:: categories

And its corresponding articles articles

I create a blog menu button boton

And the blog layout options Include 2 subcategories (they should be the closest to the father) Football & Bastketball options

But the website show this: view1 new2

NO WORK, the website show Articles of 4 categories no of 2. And where are the number of columns and column order options?

Joomla! 4.0.0-alpha10

SharkyKZ commented 5 years ago

Include Subcategories option sets subcategory level limit, not the total number of included subcategories.

Open2logic commented 5 years ago

Sorry this is the option, in Category Tab. levl

But if it is true that the text indicates LEVELS of subcategories to show no number of subcategories to display. But when I tell you to show me categories of the second level it also shows those of the first level (which seems logical) So it is impossible to display articles from several selected categories, I think this new functionality is very necessary.

thanks