Hi
If I have availability calendar enabled for a node, if i create a new node the body field will display content, also, if i edit some copy for a current node the body field will display content, e.g. see 'some test copy, this will disappear if edited' text on http://www.exclusivenorthdevon.co.uk/dev/luckenborough.html. However, if i now go and edit this, the body field will be blank, so, if i save, the 'some test copy, this will disappear if edited' will disappear. So, if i have to edit anything else, i have to keep uploaded copy, obviously not doable/sustainable.
I have other nodes of different content types that this does NOT happen to.
I have found that if i disable the availability field for the content type, i do not get this problem, so, as far as I can see, i only have the problem when availability calendar is enabled.
Anyone else experience this?
fietserwin - any ideas?
Matt
Comments
Comment #1
fietserwinVery weird problem. Of course, when I tested this locally, it does not happen. So I need more information. My first wild guess would be that there is some sort of javascript error on the page that makes wysiwyg not working/communicating correctly.
This will need a look on your dev system, will contact you privately.
Comment #2
fietserwinI don't think it has to do with A.C. itself. You get a warning ("This web site needs a different Google Maps API key") and (subsequently?) there's a javascript error "G_NORMAL_MAP is not defined". I think that after that error, other javascript may malfunction.
- If I use plain text instead of full html, and thus no wysiwyg editor with its own js, the text does get saved (there's no js involved to process a plain text value in a standard textarea).
- On other sites, (that don't have Google maps included) it does work fine when both a body and a calendar field are used.
Why it works if you disable the calendar field? I'm not sure, but it might have to do with the fact that A.C., as one of the few modules, puts its javascript in the footer. But this is a wild guess.
All in all, I'm inclined to close this as a non-error. Please feel free to reopen if you do think otherwise and the error still appears after you have installed a correct key and the javascript error is gone.
Comment #3
mattys commentedok thanks Erwin
I will do google maps api and see if that sorts it
Comment #4
mattys commentedHi Erwin
I have deactivated gmaps, so key no longer required, but, text still goes missing in full html mode,, but only when AC activated, so i have reopened.
I have searched for anyone else having similar problems, but cannot find anything, so, this issue area is my only hope!
Comment #5
fietserwinGo to the status report of the site (/dev/admin/reports/status) and you can see that there are lots of errors in your set-up. One of them about CKEditor, and I now get a javascript error from CKEditor.js. When the page is loading I saw that the text is put in the textarea, but when the editor loads, the text is gone.
I changed some settings: full html is not using CKEditor, filtered html is: text loads in textarea and when switching to filtered html, text also shows in wysiwyg.
I changed another setting: disabling overlay (and shortcuts) and it seems to work now.
I still have no clue what is going on, on your site, but it might be a time-out in CKEditor due to calendar processing???
Can you please resolve all your status report errors, test some more, and get back to me with your findings?
Comment #6
mattys commentedwill do, thanks a lot for checking
Comment #7
fietserwinI guess that by now you have been able to solve it? Or went it away? Please feel free to reopen if you are still struggling with the issue.