Maybe I don't really know what I'm doing.
I've been a drupaler for about 24 hours, the first 6 of which i spent trying to install it...
I want two columns on my front page (and maybe elsewhere): The first based on a category (health), with a list of subcategories and story headings relating to the sub categories; The second column identical but based on a different initially category (harmony)
(health & harmony, really, it all makes sense)
I want to see how to achieve the layout i want, and whether taxonomies or categories are more appropriate for my application. I don't want to commit to anything until I know what everything does, but of course I don't really know what I'm doing...
So, I've loaded both the view and insert view modules. I've installed the dashboard module.Not really sure which one to use.
I've created a dashboard post, and tried to insert some kind of code in it via the examples on the logrus website Example3 Nodes and blocks
TOP:
$nid=2;
print dashboard_get_node($nid, true, false, true);
LEFT:
$result = db_query("select nid from {node} n ORDER by created DESC limit 3");
while ($node = db_fetch_object($result)) {
print dashboard_get_node($node->nid, true);
So, I've embeded the example code in a php block
Is that the right thing to do?
I've got no idea what it will do... I don't know what the sql should look like (I removed the where clause). Is {node} a view?