uartur1
  uartur1
Silver Member
  Saturday, 17 August 2024
  10 Replies
  211 Visits
0
Votes
Undo
Hi.
We use multilingualism on the website.

We created categories in 2 languages, linked them together, created icalevent.edit_page files in 2 languages.

When editing an event, when switching from one language to another, two categories are displayed in the CATEGORY field, both for one language and the other, marked e.g. medicine and medycyna (pl-PL).

How can I make sure that only categories in English are displayed on the English version of the website, and only categories in that language are displayed on the website in another language?

Regards,
Artur
uartur1 marked this post as Resolved — 2 months ago
2 months ago
·
#235483
0
Votes
Undo
In JEvents you don't have to use associated multi-language categories so since the event can be in a single category and still be translated

I'll add a config option to strictly limit the category by language for the next release - the config option will be next to the 'allow multi category' events option.

While you are waiting for this change if you replace the file /components/com_jevents/libraries/jeventshtml.php with this version it should do what you need.

Remember to change the config option when you upgrade JEvents

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 months ago
·
#235502
0
Votes
Undo
The category issue seems to have been resolved. Although I can't find the configuration field (enable/disable)... :-)

Where exactly is it? In the global configuration, in the Edit Events tab?

Or maybe the field itself will only be added to the configuration after the next JEvents update?

Artur
2 months ago
·
#235557
0
Votes
Undo
The configuration field isn't there yet. Its in the new release (due tomorrow). Watch out for it once you've upgraded

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 months ago
·
#235558
0
Votes
Undo
Thank you :-)
2 months ago
·
#235596
0
Votes
Undo
Hi.
I updated JEvents. There is a problem with updating JEvents - Categories Module.

I can't find the option to set categories in the configuration. :-) Should it be in the 'EDIT EVENTS' tab?

You wrote that there should be "next to the 'allow multi category' events option." Next to it I have the following tabs:

...
'Standard end time (for the edited event)'
'Enable multi-category events'
'Lock parent category selection'
'Enable Bootstrap 'Chosen' style form enrichment'
...

Artur
2 months ago
·
#235625
0
Votes
Undo
Hi.
Where exactly is this option I am writing about above?
This is most likely the reason for my numerous problems :-)

Artur
2 months ago
·
#235664
0
Votes
Undo
I'm sorry - I did the work above on my laptop when I was away from the office and forgot to merge it in to the main development tree when I returned :(

I'll merge it in now - give me 20 minutes

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 months ago
·
#235665
0
Votes
Undo
This build should resolve the issue - sorry for the confusion :(

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 months ago
·
#235666
0
Votes
Undo
Hello.
Thank you. No problem ;-)

I haven't checked thoroughly yet, but I can see that after installing and turning on, only the selected language categories are actually visible.

The problem is when switching the language in the detailed view. An error pops up.

Category introduced during editing: 'medicine' in Polish. The category is related to 'medicine' in English.

Example: https://www.inconferences.com/pl/o/187/xliv-zjazd-polskiego-towarzystwa-ortopedycznego-i-traumatologicznego.html

Artur
2 months ago
·
#235669
0
Votes
Undo
I think this again caused by the fact that the event is only in a polish category - try putting it in both polish and english category

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.