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

warning in category-calendar after the fix for category - archive #1875

Closed
jojo12 opened this issue Dec 22, 2024 · 13 comments
Closed

warning in category-calendar after the fix for category - archive #1875

jojo12 opened this issue Dec 22, 2024 · 13 comments
Labels
bug Something isn't working fixed Have a commit with the solution.

Comments

@jojo12
Copy link
Contributor

jojo12 commented Dec 22, 2024

(Tested in Responsive) , I get:
Warning: Undefined variable $archive_link in /home/folktanz/public_html/components/com_jem/views/category/view.html.php on line 150

@jojo12 jojo12 added the bug Something isn't working label Dec 22, 2024
mckillo added a commit that referenced this issue Dec 22, 2024
@mckillo mckillo added the fixed Have a commit with the solution. label Dec 22, 2024
@mckillo
Copy link
Collaborator

mckillo commented Dec 22, 2024

Check it, it should be solve it.

mckillo added a commit that referenced this issue Dec 22, 2024
@mckillo
Copy link
Collaborator

mckillo commented Dec 22, 2024

Sorry, forget to upload some lines... check the last commit.

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 22, 2024

Now there is no more the archived events in the calendar, even with setting "show archived events =yes"
EDIT: it seems this was never working in calendar category, but is prepared with the setting.

@jojo12 jojo12 removed the fixed Have a commit with the solution. label Dec 22, 2024
@mckillo
Copy link
Collaborator

mckillo commented Dec 22, 2024

Do you have tested the last commit a87b166?

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 23, 2024

Yes, and retried with cache cleaning before, doesn't show archived events in category calendar.

oops and retried category-archive in responsive: shows now venue_archive!!!

mckillo added a commit that referenced this issue Dec 23, 2024
@mckillo
Copy link
Collaborator

mckillo commented Dec 23, 2024

Sorry, call other route. See the last commit.

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 23, 2024

category - archive is back, thanks,
but category - calendar doesn't show archived events in calendar!

@mckillo
Copy link
Collaborator

mckillo commented Dec 23, 2024

No calendars have an archive icon (top right corner). In the code, there is no code about it.
This is for dev (new feature for calendars).
You can see the archive events in the calendar, if you set 'Show archived events' in the menu setting.

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 23, 2024

this is not true: at least the general calendar has this and the option is in menu settings!
I don't mean archive button, but archived events are shown in calendar!
grafik

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 23, 2024

You can see the archive events in the calendar, if you set 'Show archived events' in the menu setting.

No, event when this setting is yes, you can't see archived events in the category - calendar-

It is possible, that this was made only in calendar and not in category - calendar. (even if the setting is in the menu)

@mckillo
Copy link
Collaborator

mckillo commented Dec 23, 2024

Sorry but I don't agree, this option in menu setting was dev by me months ago. JEM hasn't haved the archive icon in the top-right for the calendar views. There isn't $archive_link in the code of these views.

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 23, 2024

I think there is a misunderstanding: there are two different things:

  1. archive button top right with link to archive
  2. menue setting to show archived events in calendar

The calendar views don't need (absolutely NOT) an archive button top right!
The general JEM calendar (menue) shows archived events when "show archived events=yes"
(I am not sure, but it could be a new feature, to show archived events in the other calendars too (venue calendar, category calendar, week calendar). It seems, this is prepared, because there is a menue setting "show archived events=" too.

But I would wait to add this

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 23, 2024

So I would say, the warning is away. The problem is solved.

@jojo12 jojo12 closed this as completed Dec 23, 2024
@jojo12 jojo12 added the fixed Have a commit with the solution. label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Have a commit with the solution.
Projects
None yet
Development

No branches or pull requests

2 participants