i cannot change the view style to jsgantt. the page stops working. other styles work however
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | My Jsgantt View.jpg | 96.51 KB | cutecyborg |
| #6 | My Jsgantt View.jpg | 96.51 KB | cutecyborg |
| #5 | Patched jsgantt.js | 12.43 KB | Azol |
| #2 | JSGANTT VIEW.jpg | 80.51 KB | cutecyborg |
Comments
Comment #1
Azol commentedtry disabling the automatic preview feature in Views
Comment #2
cutecyborg commentedi did that but i still have almost the same problem. when i try to preview it, it doesn't give me any chart.And when i click on the link to its page (node) it just freezes. i have attached screenshots of my view and its output. could you detect any error in my view design or what?
Comment #3
Azol commented1) Install last dev. version of jsgantt (it works for me while I was having issues with latest beta)
2) apply the patch I posted in #1006866: A couple of minor problems...
3) post a screenshot with jsgantt Style settings in Views if the above does not solve your issue.
Comment #4
cutecyborg commentedPlease how do i add the patch?
Comment #5
Azol commentedhttp://drupal.org/node/60179
http://drupal.org/node/620014
Just for your reference, I guess you would prefer the patched file instead (unzip and replace the corresponding file in jsgantt subdirectory)
Comment #6
cutecyborg commentedi did as u said and replaced the original .js file with the one u sent. then i went to views and previewed it. but it only showed the filter options. do u think i designed the view wrongly? attached is a screenshot. i want to be able to view all my Storm tasks and projects on a page using Jsgantt
Comment #7
Azol commentedPress the "cog" button at the Style: jsgantt setting in your view and post the screenshot of settings displayed.
P.S. Have you also done the "Edit and re-save any jsgantt views" part when installing last dev. version of this module?
Comment #8
cutecyborg commentedthis is the view of the "cog wheel" attached. where do i go to "Edit and re-save any jsgantt views" ?
p.s thanks for helping out.
Comment #9
Azol commentedNo, in your view there is "Basic settings" section, press the button near the "Style: jsgantt" to reveal what settings do you have there.
"Edit and re-save" means "make some changes in your view and save it again" - like change pager setting, for example, then change it back and press Save.
Comment #10
cutecyborg commentedi did that but no luck. i think my view is wrongly designed
Comment #11
Azol commentedIf button does not work for you, there is some problem with Javascript on your page.
Try disabling Javascript in Views Settings (admin/structure/views/tools) then try again
Comment #12
cutecyborg commentedthe thing is,when i click on a storm project , then i click on the "tasks" tab i see a tree list of my tasks and at the bottom i see a gant chart. what i'm trying to do now it to create a seperate page where i can see a full list of all projects and tasks in a gantt chart form which can be filtered by organisation
Comment #13
cutecyborg commentedthe thing is,when i click on a storm project , then i click on the "tasks" tab i see a tree list of my tasks and at the bottom i see a gant chart. what i'm trying to do now it to create a seperate page where i can see a full list of all projects and tasks in a gantt chart form which can be filtered by organisation
Comment #14
danepowell commentedThanks for helping out Azol, I don't have time to dig into deep troubleshooting sessions at the moment. Cutecyborg, I'd recommend troubleshooting by starting with a "minimum working example" (for instance settings up a vanilla CT Plus install) and then progressively tweaking it to look more like your problem environment to pinpoint exactly where things are going wrong.
Also, you'll want to look through the outputted javascript to see if the problem lies with the View or with the javascript. Good luck.