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.

CommentFileSizeAuthor
#10 viewscoda-1066218-#10.patch678 bytes3rdLOF

Comments

SolomonGifford’s picture

Same thing happening here.

Knarf31’s picture

here too :-(

Anonymous’s picture

Subscribe

ignagar’s picture

Same here

darkadept’s picture

This 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.

wilgrace’s picture

subscribe

dan_metille’s picture

subscribe

muschpusch’s picture

You should add this to the info file:

files[] = coda.views.inc
files[] = views_coda_plugin_style_default.inc

3rdLOF’s picture

..and refresh cache.

3rdLOF’s picture

StatusFileSize
new678 bytes

Here is a patch

jtan’s picture

I 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}

jtan’s picture

i'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