I need to use Views with Composite Layout to help users pick the right nodes. I'll allow them to incorporate FAQs and a custom content type. The custom content type will result in a lot of nodes that need the same display title but contain different content. So say we will have 15 composite pages, each with a section called "Databases." We need a way to help users distinguish between 15 different sections called "Databases" in the node selection form.
I've created a view that does this just fine in the Views preview. The view inlines two fields so that FAQs just have "Title", but the custom content type has "Title / distinguishing info from another field..." I filtered it by the two content types, and sorted by most recently updated. In Views, it looks just right...
But in the Composite Layout, for both content types, I still only see the title. In fact, if I try to set a view to display *anything* that doesn't have Node: Title as the first field, I just see a row of tickboxes with no text next to them. (I tried making silly views that only had one field, like Node: Updated, just to see what would happen, and still got blanks.) I also tried turning the use of custom views on and off for composite layout in my content type, to prod it into recognizing the updated view, but that didn't work either.
Any idea what's going on?
Comments
Comment #1
bengtan commentedSorry, but the 'nodes' tab only uses a View to retrieve a list of nodes. It doesn't use the view for presentation.
I admit this is a shortcoming of Composite Layout, and the integration with Views could be better.
Unfortunately, I don't know when or if I can get the time to add in this feature.
Comment #2
egm commentedOkay, I'm confused by one of the instructions in the "Advanced - Nodes that can be referenced (View)" section then.
The third instruction is "Use the view's "fields" section to display additional informations about candidate nodes on node creation/edition form." That sounds like exactly what I'm trying to do--does it not work? Should the instructions be changed?
Comment #3
bengtan commented> "Use the view's "fields" section to display additional informations about candidate nodes on node creation/edition form."
Ah, sorry. I copied the whole section of text out of the nodereference.module, including that line, and unfortunately, it's incorrect for Composite Layout.
Comment #4
bengtan commentedExpiring this issue as it is old and uncertain whether it is still applicable.