- Posts: 14
COMMUNITY FORUM
fixed order in backend messes frontend
- natanja
- Topic Author
- Offline
- New Member
Less
More
8 years 5 months ago #155165
by natanja
fixed order in backend messes frontend was created by natanja
Hello,
I was really happy when I read about the fix in order to delete values without messing the order. See topic: www.joomlaworks.net/forum/k2-en/45526-solved-order-of-values-of-extra_fields#154107
But today I noticed that it goes horrible wrong in the frontend with newly added values for a extrafield. All newly added values are combined together as one value in the frontend. Can this also be fixed? I hope so!
Kind regards
I was really happy when I read about the fix in order to delete values without messing the order. See topic: www.joomlaworks.net/forum/k2-en/45526-solved-order-of-values-of-extra_fields#154107
But today I noticed that it goes horrible wrong in the frontend with newly added values for a extrafield. All newly added values are combined together as one value in the frontend. Can this also be fixed? I hope so!
Kind regards
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #155175
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic fixed order in backend messes frontend
Hello natanja,
Which version of K2 and Joomla! are you using?
Which version of K2 and Joomla! are you using?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- natanja
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
8 years 5 months ago #155184
by natanja
Replied by natanja on topic fixed order in backend messes frontend
the reply button is back, yeey!
I have joomla 3.5.1 and k2 2.7.0.
I have joomla 3.5.1 and k2 2.7.0.
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Elite Member
Less
More
- Posts: 169
8 years 5 months ago #155189
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic fixed order in backend messes frontend
Hi natanja,
Can you share a screenshot or give me more details on this so to better understand the issue ?
Can you share a screenshot or give me more details on this so to better understand the issue ?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- natanja
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
8 years 5 months ago #155221
by natanja
Replied by natanja on topic fixed order in backend messes frontend
Hi Teo,
screenshot: imgur.com/LHwQ4rl
you see after the word test: 10203040, while 10, 20, 30 and 40 are four different values of the extrafield test.
I had multiple extrafields with multiple values before changing the code in order to fix the backend issue.
After I added the fix, I added some more values in one of my extrafields.. In the backend I can select just one value, but in the frontend al new added values after the fix are combined together as one value. Not only in my item template but also in my extrafield search dropdownbox I only see last added value.
screenshot: imgur.com/LHwQ4rl
you see after the word test: 10203040, while 10, 20, 30 and 40 are four different values of the extrafield test.
I had multiple extrafields with multiple values before changing the code in order to fix the backend issue.
After I added the fix, I added some more values in one of my extrafields.. In the backend I can select just one value, but in the frontend al new added values after the fix are combined together as one value. Not only in my item template but also in my extrafield search dropdownbox I only see last added value.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #155230
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic fixed order in backend messes frontend
Can you try backing up (I cannot stretch this enough) and installing the 2.7.1 DEV version?
github.com/getk2/k2
github.com/getk2/k2
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- natanja
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
8 years 5 months ago #155233
by natanja
Replied by natanja on topic fixed order in backend messes frontend
I have installed 2.7.1 (dev)
but that did not fix the issue.
I noticed that 10,20,30 and 40 are now working as seperate values. But newly added values after installing 2.7.1. are still combined.
I did another test by clicking on the save button after adding one value. And after the save I added one value again and saved it, and then the values are not combined but seperate.... but that is not ideal when adding multiple values to a extra field.
I also noticed that every item has the latest added value 120, even when I did not set any value (so it should have the null value) but als when I had set a value (for example 40), it is changed to 120 because of the newly added values :-(
oh I also get a blue warning message after saving my item that has images but I did not upload any images upon saving: "The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server."
but that did not fix the issue.
I noticed that 10,20,30 and 40 are now working as seperate values. But newly added values after installing 2.7.1. are still combined.
I did another test by clicking on the save button after adding one value. And after the save I added one value again and saved it, and then the values are not combined but seperate.... but that is not ideal when adding multiple values to a extra field.
I also noticed that every item has the latest added value 120, even when I did not set any value (so it should have the null value) but als when I had set a value (for example 40), it is changed to 120 because of the newly added values :-(
oh I also get a blue warning message after saving my item that has images but I did not upload any images upon saving: "The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server."
Please Log in or Create an account to join the conversation.
- natanja
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
8 years 5 months ago #155453
by natanja
Replied by natanja on topic fixed order in backend messes frontend
what should I do? Go back to 2.7.0. and not removing values of extra fields? or will there be soon a fix for these bugs?
Please Log in or Create an account to join the conversation.
- natanja
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
8 years 5 months ago #155513
by natanja
Replied by natanja on topic fixed order in backend messes frontend
I have tried a new version of the k2 dev and the extra fields are working great now!! YEEEEY :-)
(warning message: "The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server." is still there. Whether I save a article with an image, without an image or with a new image which uploads fine, I get this message when saving an item)
(warning message: "The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server." is still there. Whether I save a article with an image, without an image or with a new image which uploads fine, I get this message when saving an item)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #155515
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic fixed order in backend messes frontend
Nice to hear this :)
I will test the latest build. Are you using any 3rd party extensions?
I will test the latest build. Are you using any 3rd party extensions?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.