Here's the documentation that would've helped me to understand this better coming into it fresh.

Comments

webchick’s picture

Status: Active » Needs review
StatusFileSize
new4.68 KB

Patch.

Summary:
- I created an example_table table with a few different basic fields (including a nid that references node) and included the SQL to generate it in the comments.
- I then put in a lightly annotated example of views-enabling this table to try and give people guidance on where to start.

I found myself getting very turned around by information overload at http://views-help.doc.logrus.com/help/views/api-tables. What I needed was a practical example that gave me a good overview of what I'm actually doing here, and then I think the full shebang would've made a lot more sense to me.

This needs checking over for accuracy, I'm quite sure. :) Most of it was copy/paste from profile.views.inc, node.views.inc, and a few others.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed!

Status: Fixed » Closed (fixed)

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

chrism2671’s picture

OMG this has saved my life. Brilliant! It needs to be made clearer in the Advanced Help so that others may find- it has taken me 12 hours to come across this!