Hello,

We're about to produce a Views-less site, is it possible to fully use the module without it?

Thanks in advance!

Comments

DeFr’s picture

Status: Active » Fixed

As seen on IRC, libraries are plugable ; Scald itself doesn't provide a Views-less libary anymore (it used to in the D6 version, but there wasn't much interest), but there's nothing blocking someone from creating a new library module that would work based on a custom form for filtering and builiding its list through EFQ.

pounard’s picture

Actually it's not as easy as it sounds, a lot of views CSS classes are hardcoded in the generic DND module, and developing our own library based on EFQ was a real challenge, the library output and the search form output must contain pieces of the views rendering in order for the JS to work gracefully.

Aside of that, the contextes and theme functions defined in the views library module are actually kinda generic, I had to copy/paste most of the code, and this should live in the generic DND library instead.

It's quite not really documented too, it took me a few hours to figure out how it was really working with views (there is some king of magic in it).

DeFr’s picture

Hopefully a brave Drupal developer will pave the way and release a module that could be used as an easy starting point for people wanting to do that, alleviating the problem for all the others ;-)

pounard’s picture

I will put a sandbox, but you'll need a bit of patience, I need to stabilize it (almost working but search form is rudimentary for now, and a few stuff needs fixing).

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pounard’s picture

Here it is: https://drupal.org/sandbox/pounard/2248599

Sorry it took me some time! Hope it can help.