Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
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.
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.
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.
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.