Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature: There should be integrated a category 'uncategorised' as default #1907

Open
jojo12 opened this issue Feb 10, 2025 · 7 comments
Open
Labels
Milestone

Comments

@jojo12
Copy link
Contributor

jojo12 commented Feb 10, 2025

When I compare Joomla articles with JEM events, then I think, it would be better to have a category 'uncategorised' as default.

Actually when starting, there is not yet any category. So a event creator starts filling the fields...then he comes to the category field.
Then he must finish to restart creating a category. He must make double work.

(With this solution, there could be a problem of abuse, when then a lot of 'uncategorised' events are published, because all have the rights to create such events. But perhaps this can be avoided deciding, that such events are not yet 'published' until they have got a real category.)
EDIT:
I don't know if this is a good idea and if this is easy to program

@mckillo
Copy link
Collaborator

mckillo commented Feb 11, 2025

I agree. You can see #1439 for my request 2 years ago.

@jojo12
Copy link
Contributor Author

jojo12 commented Feb 11, 2025

I am so sorry, @mckillo

@mckillo
Copy link
Collaborator

mckillo commented Feb 11, 2025

Don't worry, better late than never :-). Now there are two of us who want a default category in the initial setup of JEM.
Noted for implementation.

@mckillo mckillo added this to the JEM 4.4.0 milestone Feb 11, 2025
@mckillo mckillo self-assigned this Feb 11, 2025
@mckillo
Copy link
Collaborator

mckillo commented Feb 11, 2025

Image
In a new installation of Joomla Event Manager (JEM), the "Uncategorised" category is created by default. Administrators can create events and assign them to this initial category. Later, they have the option to rename it as needed.

mckillo added a commit that referenced this issue Feb 11, 2025
In a new installation of Joomla Event Manager (JEM), the "Uncategorised" category is created by default.
@mckillo mckillo added the fixed Have a commit with the solution. label Feb 11, 2025
@mckillo mckillo removed their assignment Feb 11, 2025
@jojo12
Copy link
Contributor Author

jojo12 commented Feb 11, 2025

works fine.
Can be closed

@jojo12
Copy link
Contributor Author

jojo12 commented Feb 20, 2025

After creating an event with "uncategorised"
I got in backend events:
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in C:\components\com_jem\classes\output.class.php on line 1621

@jojo12 jojo12 reopened this Feb 20, 2025
@jojo12 jojo12 removed the fixed Have a commit with the solution. label Feb 20, 2025
mckillo added a commit that referenced this issue Feb 20, 2025
@mckillo
Copy link
Collaborator

mckillo commented Feb 20, 2025

Here the fix in the last commit.
Another workaround is to run the following in MySQL:
UPDATE xxxxx_jem_categoriesSETpath= 'uncategorised' WHEREid = 2

@mckillo mckillo added the fixed Have a commit with the solution. label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants