- Posts: 20
COMMUNITY FORUM
Closing the frontend dialog is not reloading page
- Frank
- Topic Author
- Offline
- Junior Member
Less
More
7 years 2 months ago #163808
by Frank
Closing the frontend dialog is not reloading page was created by Frank
Hello!
After upgrading from K2 2.7.2 to 2.8 I'm facing the following problem:
I do have a Joomla menu which is showing k2 items of a given category. On that page I do have custom button with a link index.php?option=com_k2&view=item&layout=itemform&task=add&Itemid=62 which opens the frontend add item dialog (itemform.php).
I can fill out the form and create a new item.
With K2 2.7.2: if I press the "Close" button my parent page was reloaded so the list which is showing items of a given category was refreshed and showed the newly created item at the very beginning of the list. Perfect.
But with K2 2.8 the joomla menu does not get reloaded automatically so the list does not show the newly create k2 item at the top. Only after to a manual page reload I do see the created item on the list.
Any ideas how to get the auto reload mechanism back?
Cheers
Frank
After upgrading from K2 2.7.2 to 2.8 I'm facing the following problem:
I do have a Joomla menu which is showing k2 items of a given category. On that page I do have custom button with a link index.php?option=com_k2&view=item&layout=itemform&task=add&Itemid=62 which opens the frontend add item dialog (itemform.php).
I can fill out the form and create a new item.
With K2 2.7.2: if I press the "Close" button my parent page was reloaded so the list which is showing items of a given category was refreshed and showed the newly created item at the very beginning of the list. Perfect.
But with K2 2.8 the joomla menu does not get reloaded automatically so the list does not show the newly create k2 item at the top. Only after to a manual page reload I do see the created item on the list.
Any ideas how to get the auto reload mechanism back?
Cheers
Frank
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 2 months ago #163818
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Closing the frontend dialog is not reloading page
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Frank
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
7 years 2 months ago #163848
by Frank
Replied by Frank on topic Closing the frontend dialog is not reloading page
Hello!
You had this feature in K2 2.7.2 - why did you remove it?
Any tips where I can look to manually patch it in again? Any hints are welcome because without an automatic reload the user experience is quiet odd.
Thanks in advance
Frank
You had this feature in K2 2.7.2 - why did you remove it?
Any tips where I can look to manually patch it in again? Any hints are welcome because without an automatic reload the user experience is quiet odd.
Thanks in advance
Frank
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 2 months ago #163865
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Closing the frontend dialog is not reloading page
Upon further inspection, the code is still there ->
github.com/getk2/k2/blob/master/media/k2/assets/js/k2.backend.js#L205-L218
Are you using the edit button or a menu item?
github.com/getk2/k2/blob/master/media/k2/assets/js/k2.backend.js#L205-L218
Are you using the edit button or a menu item?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.