- Posts: 16
- Thank you received: 0
[SOLVED]: Extra Items groups not showing in item edit
- kash99
- Topic Author
- Offline
- New Member
-
Less
More
9 years 7 months ago #2053
by kash99
Extra Items groups not showing in item edit was created by kash99
Hi,
Just purchased the plugin yesterday. Running into some problems.
Initially, it was working fine.
I added another textfield and it fails to save the value for that fiend in the item edit option. Every time I saved it with some value, it saved as a blank field value.
The second problem has started now, there are no extra field groups displayed in 'Extra Field' tab in item. It only shows the one extra item group that is specified in a category as a primary extra field group, the other groups even though selected in the category does now show up in item edit.
I have Joomla v3.5 and K2 v2.7.0
The site is not live yet, I am working on localhost.
Just purchased the plugin yesterday. Running into some problems.
Initially, it was working fine.
I added another textfield and it fails to save the value for that fiend in the item edit option. Every time I saved it with some value, it saved as a blank field value.
The second problem has started now, there are no extra field groups displayed in 'Extra Field' tab in item. It only shows the one extra item group that is specified in a category as a primary extra field group, the other groups even though selected in the category does now show up in item edit.
I have Joomla v3.5 and K2 v2.7.0
The site is not live yet, I am working on localhost.
Please Log in or Create an account to join the conversation.
- mmmaug1977
-
- Offline
- Moderator
-
9 years 7 months ago #2054
by mmmaug1977
Replied by mmmaug1977 on topic Extra Items groups not showing in item edit
Please try this fix...
Edit the mefgfork2.php file, find this line:
and replace it with this line:
Then save and test.
Edit the mefgfork2.php file, find this line:
Code:
$K2("#catid").on("change",function(){
and replace it with this line:
Code:
$K2("#catid").unbind("change").on("change",function(){
Then save and test.
Please Log in or Create an account to join the conversation.
- kash99
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
9 years 7 months ago #2055
by kash99
Replied by kash99 on topic Extra Items groups not showing in item edit
Thank you for the prompt reply! It's fixed now.
Will you release another version of the plugin with this fix?
Will you release another version of the plugin with this fix?
Please Log in or Create an account to join the conversation.
- mmmaug1977
-
- Offline
- Moderator
-
9 years 7 months ago #2056
by mmmaug1977
Replied by mmmaug1977 on topic Extra Items groups not showing in item edit
You are welcome.
It is not a common issue, even it may happen with you on the localhost and when you upload to the server it may not happen.
Sometimes the jQuery handler of the core K2 category change event may take longer time than the handler of the plugin, and then the original result -which is the fields of the primary group- will be returned later and override the results of the plugin -which is the fields of all the groups assigned by the plugin- you can't notice this by your eyes because it is a matter of milliseconds.
So I prefer to apply this fix case by case because it may affect other K2 plugins using the same event.
Anyway, hope you like the plugin and looking forward to read your review on JED.
It is not a common issue, even it may happen with you on the localhost and when you upload to the server it may not happen.
Sometimes the jQuery handler of the core K2 category change event may take longer time than the handler of the plugin, and then the original result -which is the fields of the primary group- will be returned later and override the results of the plugin -which is the fields of all the groups assigned by the plugin- you can't notice this by your eyes because it is a matter of milliseconds.
So I prefer to apply this fix case by case because it may affect other K2 plugins using the same event.
Anyway, hope you like the plugin and looking forward to read your review on JED.
Please Log in or Create an account to join the conversation.