- Posts: 5
COMMUNITY FORUM
Extra field "Date" - problem with calendar button
- dswiss
- Topic Author
- Offline
- New Member
Less
More
11 years 4 weeks ago #117871
by dswiss
Extra field "Date" - problem with calendar button was created by dswiss
I have set up on K2 an extra date field. When Ι enter an item and fill out the extra date field creates a problem.
When I want to choose a date I press the calendar button and everything is working properly. But when Ι first change the category of the item and then press the calendar button then becomes reloading, thus losing that I write. This only happens when I change the category of the item and then choose the date.
This happen in BACK END.
Is that a bug? If so, is there a solution?
When I want to choose a date I press the calendar button and everything is working properly. But when Ι first change the category of the item and then press the calendar button then becomes reloading, thus losing that I write. This only happens when I change the category of the item and then choose the date.
This happen in BACK END.
Is that a bug? If so, is there a solution?
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
11 years 4 weeks ago #117872
by Yiota
Replied by Yiota on topic Re: Extra field "Date" - problem with calendar button
What Joomla! and K2 versions do you use?
Please Log in or Create an account to join the conversation.
- dswiss
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 4 weeks ago #117873
by dswiss
Replied by dswiss on topic Re: Extra field "Date" - problem with calendar button
Hi,
K2 v2.6.7 and Joomla! version 3.1.1
K2 v2.6.7 and Joomla! version 3.1.1
Please Log in or Create an account to join the conversation.
- Falcon
- Offline
- New Member
Less
More
- Posts: 5
11 years 3 weeks ago #117874
by Falcon
Replied by Falcon on topic Re: Extra field "Date" - problem with calendar button
Yea !! This problem do exist in my situation, only if the category is pre-selected . Any solution about it, please share it !! Urgent need. thanks !!
My version as follow:
K2 v2.6.7 and Joomla! version 3.1.5
My version as follow:
K2 v2.6.7 and Joomla! version 3.1.5
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
- Offline
- Platinum Member
- Joomla Developer
11 years 3 weeks ago #117875
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Replied by Mohamed Abdelaziz on topic Re: Extra field "Date" - problem with calendar button
I found this problem in a project for one of my clients, and I remember that I fixed it with hacking a Joomla file.
I will look for the fix and write it here.
I will look for the fix and write it here.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
- Offline
- Platinum Member
- Joomla Developer
11 years 3 weeks ago #117876
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Replied by Mohamed Abdelaziz on topic Re: Extra field "Date" - problem with calendar button
Hi,
I found the workaround that fixed this problem for my client:
Edit the file: libraries/joomla/html/html.php
Go to the line ~883 and find this line:
'window.addEvent(\'domready\', function() {Calendar.setup({
And replace it with this line:
'window.addEvent(\'load\', function() {Calendar.setup({
Save the file and test.
Hope this solves the problem for you.
I hope also that K2 developers find a solution to this problem
I found the workaround that fixed this problem for my client:
Edit the file: libraries/joomla/html/html.php
Go to the line ~883 and find this line:
'window.addEvent(\'domready\', function() {Calendar.setup({
And replace it with this line:
'window.addEvent(\'load\', function() {Calendar.setup({
Save the file and test.
Hope this solves the problem for you.
I hope also that K2 developers find a solution to this problem
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- dswiss
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 3 weeks ago #117877
by dswiss
Replied by dswiss on topic Re: Extra field "Date" - problem with calendar button
Ηι Mohamed,
I tried the solution you gave but unfortunately the problem remains! thank you for your help!
I tried the solution you gave but unfortunately the problem remains! thank you for your help!
Please Log in or Create an account to join the conversation.
- Falcon
- Offline
- New Member
Less
More
- Posts: 5
11 years 3 weeks ago #117878
by Falcon
Replied by Falcon on topic Re: Extra field "Date" - problem with calendar button
My Joomla version is 3.1.5, do not have specific path, could you tell me what classes is that? And then that is Joomla core library, I think K2 can't change anything. I think the solution should make it at K2 files..
Please Log in or Create an account to join the conversation.
- Francisco Saballos
- Offline
- New Member
Less
More
- Posts: 1
11 years 1 week ago #117879
by Francisco Saballos
Replied by Francisco Saballos on topic Re: Extra field "Date" - problem with calendar button
Hey men, the path is: libraries/cms/html/html.php
Please Log in or Create an account to join the conversation.
- Falcon
- Offline
- New Member
Less
More
- Posts: 5
11 years 1 week ago #117880
by Falcon
Replied by Falcon on topic Re: Extra field "Date" - problem with calendar button
already change, but not working also.
Please Log in or Create an account to join the conversation.