joomla drag and drop issue

Hi there , I installed a bare bones version of joomla Version 1.5.20
I have an issue with dragging events from one day to another
It won’t let me drop the event into a different timeslot on a different day
It will only let me drop the event to the EXACT same time on a different day
Otherwise it just keeps following my cursor … I have used the Scheduler here
( although its the standalone version right ? ) and I have no problem with dragging and dropping
Anyone have any idea on how this is happening ?

And on another note , Is it possible to get the multiple resources view in the joomla component
( as seen here :- dhtmlx.com/docs/products/dht … units.html )

Thanks in advance and I couldnt seem to find the answers in the forum .
Cheers

Ok no Scrap that . Did a clean install of joomla again and re-installed joomla_com_scheduler.zip .
Now if i resize the event ( Drag the box down ) it never lets go . Just follows my mouse . I have to refresh the page to get my mouse back . lol .Also when i move an event from one day to another it does the same thing ( Never lets go ) Frustrating ! Has anyone got any idea ?
I tried using the frame but unless there is an idiots guide for this im stumped .
The instructions to me are confusing and scattered . Is there a complete guide ( walkthrough ) somewhere on how to get the standalone version up and working cause for the life of me I cant find it .
Thanks to anyone who can help :smiley:

Hello,

Do you use custom template on the front end?
Could you please give us a link to the page with scheduler or maybe atleast several screenshots?

Best regards,
Ilya

Thanks for the reply ilya . I have since got rid of the issue .
I first installed it on a test subdomain and the problem was verified by a friend
in another state on a windows 7 PC . He had the same issue as me ( Wouldnt let go )
I have created another subdomain and put it on again and for some reason the problem has gone now . I have no idea why . I also installed it on a Main domain and could not get it to happen again . Go figure .
Thanks anyway :smiley:

Ok I think i spoke to soon
I am getting a permission error on my new install
I have installed it on a subdomain with a clean STANDARD install of Joomla 1.5.20
No custom anything ( templates etc )
I have linked my menu to the user3 position
In IE 8 i am receiving this error bottom left corner of browser window ( Error exclamtion mark )

Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2) Timestamp: Tue, 26 Oct 2010 02:41:14 UTC Message: Permission denied Line: 1 Char: 2899 Code: 0 URI: http://xxx.xxxxxxx.com.au/components/com_scheduler/codebase/dhtmlxscheduler.js

Any ideas?
Everything seems to be working ok though although if I create a custom dropdown and set it to timeline view ( day, week etc ) and check the units box the schedule doesnt display any text only the framework

But with the units unchecked it works ok
Anyway , On the JS error , Anyone help out ?
Cheers

Hello,

  1. Does it work in FF, Chrome?
  2. Try replacing your dhtmlxscheduler.js with the codebase\dhtmlxscheduler_debug.js (rename it first). Clear cache and try again. This will give us information on what exact line something is failing.
  3. What exactly are you doing when you get such error?

could happen in case you try to do cross domain request, verify that everything is ok there.
5. Please enable debug-mode in the admin’s control panel. Try using scheduler a bit and then find your_joomla/components/com_scheduler/com_scheduler_log.xml file and attach it here.
6. Also you can try disable-enable some options to narrow it down what is failing in your case.

Best regards,
Ilya

PM sent to you ilya
Its seems to have sorted itself ( the error )
Propagation of the subdomain perhaps
And everything worked anyway (in all browsers ) just showed that error
And as I said , With the units unckecked the timeline works
But if its checked I get the framework with no text etc and nothing clickable
(ie can see the tabs with no text but cant click on them )
And I dont have dhtmlxscheduler_debug.js in my package?
searched every folder client side and server side and it doesnt exist

ok found the dub in the standalone version
Renamed and replaced
Set debug in settings

uploaded ,
set the timeline in my custom field to
Use colors for events
Use as Units
Timeline
week

And as soon as i went to the page i got this

[code]Warning: simplexml_load_file() [function.simplexml-load-file]: /home/showerr1/public_html/ntrstaff/components/com_scheduler/com_scheduler_log.xml:1: parser error : Start tag expected, ‘<’ not found in /home/showerr1/public_html/ntrstaff/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php on line 866

Warning: simplexml_load_file() [function.simplexml-load-file]: <?xml version="1.0"?> in /home/showerr1/public_html/ntrstaff/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php on line 866

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/showerr1/public_html/ntrstaff/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php on line 866

Fatal error: Call to a member function addChild() on a non-object in /home/showerr1/public_html/ntrstaff/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php on line 870[/code]

Just checked my standard log and this comes up alot

[code]====================================
Log started, 26/10/2010 05:10:53

Undefined variable: fieldsNames at /home/showerr1/public_html/ntrstaff/components/com_scheduler/codebase/dhtmlxSchedulerConfigurator.php line 1034

SELECT id, username FROM jos_users

SELECT event_id,text,start_date,end_date,user,work,jobdesc FROM jos_events_rec

Done in 0.0013599395752s[/code]

just deleted the com_scheduler_log.xml
and refreshed
now it shows just the framework
and the log says

<?xml version="1.0"?> <logs><log time="2010-10-26 05:28:41" usertype="superadministrator">&lt;config&gt;&lt;active_tab&gt;a5&lt;/active_tab&gt;&lt;settings&gt;&lt;settings_width&gt;1200px&lt;/settings_width&gt;&lt;settings_height&gt;600px&lt;/settings_height&gt;&lt;settings_eventnumber&gt;2&lt;/settings_eventnumber&gt;&lt;settings_link&gt;&lt;/settings_link&gt;&lt;settings_posts&gt;false&lt;/settings_posts&gt;&lt;settings_repeat&gt;false&lt;/settings_repeat&gt;&lt;settings_firstday&gt;false&lt;/settings_firstday&gt;&lt;settings_multiday&gt;true&lt;/settings_multiday&gt;&lt;settings_singleclick&gt;true&lt;/settings_singleclick&gt;&lt;settings_day&gt;true&lt;/settings_day&gt;&lt;settings_week&gt;true&lt;/settings_week&gt;&lt;settings_month&gt;true&lt;/settings_month&gt;&lt;settings_agenda&gt;true&lt;/settings_agenda&gt;&lt;settings_year&gt;true&lt;/settings_year&gt;&lt;settings_defaultmode&gt;week&lt;/settings_defaultmode&gt;&lt;settings_debug&gt;true&lt;/settings_debug&gt;&lt;settings_eventnumber&gt;2&lt;/settings_eventnumber&gt;&lt;settings_collision&gt;false&lt;/settings_collision&gt;&lt;settings_expand&gt;true&lt;/settings_expand&gt;&lt;settings_print&gt;true&lt;/settings_print&gt;&lt;settings_minical&gt;true&lt;/settings_minical&gt;&lt;/settings&gt;&lt;access&gt;&lt;access_guestView_j&gt;false&lt;/access_guestView_j&gt;&lt;access_guestAdd_j&gt;false&lt;/access_guestAdd_j&gt;&lt;access_guestEdit_j&gt;false&lt;/access_guestEdit_j&gt;&lt;access_registeredView_j&gt;true&lt;/access_registeredView_j&gt;&lt;access_registeredAdd_j&gt;false&lt;/access_registeredAdd_j&gt;&lt;access_registeredEdit_j&gt;false&lt;/access_registeredEdit_j&gt;&lt;access_authorView_j&gt;true&lt;/access_authorView_j&gt;&lt;access_authorAdd_j&gt;false&lt;/access_authorAdd_j&gt;&lt;access_authorEdit_j&gt;false&lt;/access_authorEdit_j&gt;&lt;access_editorView_j&gt;true&lt;/access_editorView_j&gt;&lt;access_editorAdd_j&gt;false&lt;/access_editorAdd_j&gt;&lt;access_editorEdit_j&gt;false&lt;/access_editorEdit_j&gt;&lt;access_publisherView_j&gt;true&lt;/access_publisherView_j&gt;&lt;access_publisherAdd_j&gt;false&lt;/access_publisherAdd_j&gt;&lt;access_publisherEdit_j&gt;false&lt;/access_publisherEdit_j&gt;&lt;access_managerView_j&gt;true&lt;/access_managerView_j&gt;&lt;access_managerAdd_j&gt;true&lt;/access_managerAdd_j&gt;&lt;access_managerEdit_j&gt;true&lt;/access_managerEdit_j&gt;&lt;access_administratorView_j&gt;true&lt;/access_administratorView_j&gt;&lt;access_administratorAdd_j&gt;true&lt;/access_administratorAdd_j&gt;&lt;access_administratorEdit_j&gt;true&lt;/access_administratorEdit_j&gt;&lt;access_superadministratorView_j&gt;true&lt;/access_superadministratorView_j&gt;&lt;access_superadministratorAdd_j&gt;true&lt;/access_superadministratorAdd_j&gt;&lt;access_superadministratorEdit_j&gt;true&lt;/access_superadministratorEdit_j&gt;&lt;privatemode&gt;on&lt;/privatemode&gt;&lt;/access&gt;&lt;templates&gt;&lt;templates_defaultdate&gt;&lt;![CDATA[%D %d %M %Y]]&gt;&lt;/templates_defaultdate&gt;&lt;templates_monthdate&gt;&lt;![CDATA[%F %Y]]&gt;&lt;/templates_monthdate&gt;&lt;templates_weekdate&gt;&lt;![CDATA[%l]]&gt;&lt;/templates_weekdate&gt;&lt;templates_daydate&gt;&lt;![CDATA[%D %d/%m/%Y]]&gt;&lt;/templates_daydate&gt;&lt;templates_hourdate&gt;&lt;![CDATA[%H:%i]]&gt;&lt;/templates_hourdate&gt;&lt;templates_monthday&gt;&lt;![CDATA[%d]]&gt;&lt;/templates_monthday&gt;&lt;templates_minmin&gt;&lt;![CDATA[30]]&gt;&lt;/templates_minmin&gt;&lt;templates_hourheight&gt;&lt;![CDATA[42]]&gt;&lt;/templates_hourheight&gt;&lt;templates_starthour&gt;&lt;![CDATA[7]]&gt;&lt;/templates_starthour&gt;&lt;templates_endhour&gt;&lt;![CDATA[18]]&gt;&lt;/templates_endhour&gt;&lt;templates_agendatime&gt;&lt;![CDATA[30]]&gt;&lt;/templates_agendatime&gt;&lt;templates_eventtext&gt;&lt;![CDATA[return scheduler.templates.hour_scale(start) + " to " + scheduler.templates.hour_scale(end) + " &lt;br /&gt; " + "&lt;span title='"+event.text+"'&gt;" + event.text + "&lt;/span&gt;";]]&gt;&lt;/templates_eventtext&gt;&lt;templates_eventheader&gt;&lt;![CDATA[return scheduler.getLabel( "work", event.work );]]&gt;&lt;/templates_eventheader&gt;&lt;templates_eventbartext&gt;&lt;![CDATA[return scheduler.getLabel("work", event.work ) + " - * - " + "&lt;span title='"+event.text+"'&gt;" + event.text + "&lt;/span&gt;";]]&gt;&lt;/templates_eventbartext&gt;&lt;/templates&gt;&lt;customfields&gt;&lt;customfield name="Text" dsc="Description" type="textarea" old_name="Text" use_colors="false" units="false" timeline="null" height="100" /&gt;&lt;customfield name="work" dsc="techs" type="select" old_name="work" use_colors="false" units="true" timeline="off" &gt;&lt;option color="#dfdfdf"&gt;Alan&lt;/option&gt;&lt;option color="#dfdfdf"&gt;Mark&lt;/option&gt;&lt;option color="#dfdfdf"&gt;Stuart&lt;/option&gt;&lt;option color="#dfdfdf"&gt;Simon&lt;/option&gt;&lt;option color="#dfdfdf"&gt;Tyson&lt;/option&gt;&lt;/customfield&gt;&lt;customfield name="jobdesc" dsc="Job Desc" type="select" old_name="jobdesc" use_colors="true" units="true" timeline="week" &gt;&lt;option color="#000000"&gt;Job&lt;/option&gt;&lt;option color="#0000ff"&gt;Quote&lt;/option&gt;&lt;option color="#bf0000"&gt;Repair&lt;/option&gt;&lt;option color="#ffff00"&gt;Holidays&lt;/option&gt;&lt;/customfield&gt;&lt;/customfields&gt;&lt;/config&gt;</log></logs>

ok scrap that
the debug version of the js wont let me save or anything
restored the original
Now i cant use timeline at all
only shows the framework
:frowning:

Try replacing your dhtmlxscheduler_timeline.js file with the http://support.dhtmlx.com/x-files/scheduler_2_3/dhtmlxscheduler_timeline.zip.
Don’t forget to clear cache.

Best regards,
Ilya

Worked perfectly!
Are there any other default files I should update?

Updates for several known issues is available on the Known Issues page.

We didn’t suggest replacing it earlier as it’s fix didn’t seem to be your case. Probably will be the first action in the future :nerd:

Best regards,
Ilya