You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

CCK Related Blogs

 

Utilizing views as a theme layer to a custom query

We had a client requirement that a single view be the combination of:

  1. a random list of attorneys with offices in a given state
  2. a random list of attorneys that are licensed in a given state.

There should be no duplications and all of list 1 must precede list 2. We could not accomplish this with views alone. After talking to Earl, we were able to access the created SQL statement within views. Here we built each of the two queries. Then, we defined a 'pre' exit and replaced the query in our view with a new one.

CCK Export for node modules

So I spent yesterday learning some new things about Drupal.  As always there's too much for any one person, so I'm going to share what I learned in the hopes that it will help other out, and maybe let us refine a process toward getting these sorts of modules fast-tracked toward being the "Drupal-Way".

In this blog I'm going to cover a number of different concepts including the ability to package your own pre-built designs via views, packaging content types via cck, and just some all around niceties that Drupal 6 makes so easy.

Syndicate content
© 2009 the Worx Company
site designed by the Worx Company · site hosted by Hosts of America