Good day. I create a view, and in that view attempt to select "Coda" as the Style option. Instead of saving the selection, the display refreshes but still displays "Unformatted".
Whether I'm selecting this in a default, Page or Block display, the reaction is always the same. Whether I "Update and override" or "Update the default", the reaction is the same. Also if the Row style is Fields or Nodes.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | viewscoda-1066218-#10.patch | 678 bytes | 3rdLOF |
Comments
Comment #1
SolomonGifford commentedSame thing happening here.
Comment #2
Knarf31 commentedhere too :-(
Comment #3
Anonymous (not verified) commentedSubscribe
Comment #4
ignagar commentedSame here
Comment #5
darkadept commentedThis is happening because there are no "files[] = views_coda.module" lines in the views_coda.info file. There has to be a files[] entry for each file contained in the module.
By adding these lines I can select it in the views UI but viewing the page doesn't work. More work needs to go into upgrading from D6 yet I assume.
Comment #6
wilgrace commentedsubscribe
Comment #7
dan_metille commentedsubscribe
Comment #8
muschpusch commentedYou should add this to the info file:
files[] = coda.views.inc
files[] = views_coda_plugin_style_default.inc
Comment #9
3rdLOF commented..and refresh cache.
Comment #10
3rdLOF commentedHere is a patch
Comment #11
jtan commentedI got mine working after following the lines to add but the views (with Coda) won't working giving this error:
Fatal error: Call to undefined function drupal_to_js() in {link}
Comment #12
jtan commentedi'm using drupal 7.9 and have changed the drupal_to_js() to drupal_json_encode() but got another problem
Fatal error: Cannot use object of type view as array in /home/server/public_html/includes/theme.inc on line 824