Drupal is up and running but how do I ...?

Views Module - how-to?

I'm trying to use the views module to make a multi-tabbed page. Each tab will contain a single node of type "page".

Obviously, I need a filter that allows me to select a specific node id (nid) This should be the fastest possible query. However, there doesn't seem to be an option for this. I can select on practically anything else but a node's id.

How's the cleanest way to do this?

Error with flash content

Hi everybody!

i have posted a new story with a flash animation (contact form) and since that, the column has lost its structure.

you can see it live from here

http://www.cahuinadencul.net/sitio/?q=node/30

is it there any special way to add a .swf? is it possible to add .swf content to a page?

Thanks!

OG + Views: create a view showing all the nodes in the current group

I would like to create a Drupal site that supports multiple organic groups. Each group will have available two content types: "news" and "wiki". News content can only be created and modified by users with a specific role; but wiki content can be created and edited by any member of the group. I have freelinking enabled, in order to make the "wiki" content actually wiki-like. OG is configured to place new content into the current group without prompting the user.

I would like to create a view that shows all of the wiki content within the current group only. I have tried to create an argument for a view, but it never seems to work: I either get a "Page Not Found" error (if I make the view a Page) or I get _all_ wiki content in all groups (if I make the view a block).

Ideally I'd like a block, which I can then apply to all pages of the form "group/*/wiki", but I think that that URL will conflict with my pathauto configuration to use "group/[ogname]/[title]" for all group wiki content. (Please correct me if I'm wrong!) I could display the list of wiki pages on the group home page; or I could put it in a sidebar. If I do the former, I'd include the author name, creation time, and update time; if the latter I need only the node title.

How to pass a variable from page.tpl.php into views_list_myfancyview.tpl.php

So I need to tell a view template about the $node->title of the page that called the view so I can pick a certain flavour of graphic for use in the view.

I've tried 'global'ising the value and picking it back up in views_list_myfancyview.tpl.php - but I guess the code isn't evaluated how I imagine it is and the variable is null.

I only want to tell the view template the single value of $buttColour - but I can't see how it's done.

Thanks for any help you can offer.

Ian

Currently playing from Simian

I manage a radio station that uses Simian from BSI. The program is capable of putting out a file for use on the station website.

I know very little drupal, and even less php so this seems very daunting to me.

I would like the Simian file to reside in the directory where drupal is installed. I don't want it to be visible to the general public. The file can be called whatever we want.

Global filter by subdomain

Anybody know of a way to assign a term filter to an entire subdomain (which is part of a multi site install with all content shared in a single database).

I have one main site and several subsites.
mainsite.com
sub1.mainsite.com
sub2.mainsite.com
etc.

Pages

Subscribe with RSS Subscribe to RSS - Post installation