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

How do I show the group and public/private status of a node?

At the moment, it is very difficult for the users of my site to know whether the content they are viewing belongs to a group or not. So - I want a way to display which groups a node belongs to, as well as whether the node is public or private. Ideally, this information would be shown both on the nodes themselves and when they are displayed as a teaser on the front page. I'm thinking of the kind of thing you see on groups.drupal.

How to merge menus?

Hi,

I created a site for a client while back ago. Site has 6 main sections. I created 6 menus, one for each section. Depending on which section you are at you see only that specific section's menu.

Now I have to display one big menu, combining all 6 of them, and possibly the 7th section which will be added soon.

I need to do this with Drupal's way, I don't want to use a static html in there. Menu will be updated frequently.

So, how can I merge the menus in a separate block?

It's very urgent. Any help is appreciated. Thanks.

Author information block doesn't show on user's blog page

I am able to see the 'author information' block when a node is displayed and even when a blog entry is displayed (which actually appears as node/x). But I also wish to see the author information block when showing the user's blogs (paths like blog/uid).
I do not know how to go about doing it. I could not find any option for this. I even do not know whether it is in some option or we need to write custom code for this. Any help would be greatly appreciated.

Pasting Metacafe link problem

Hello,
I'm trying to put in one node in my site a Metacafe link, but it doesn't work. I suspect that part of the code is not a standard one but, there is a way to solve this? Here I paste the full code I want to use to link this Metacafe video:

Views and VotingAPI: Result function problem

I finally got the voting to work with views but now I get an error when I try to use the VotingAPI: Result function. The error that pops up is this:

Invalid argument supplied for foreach() in includes/form.inc on line 928.

And then part of the VotingAPI: Result function field Value has nothing within the drop down menu. Is there anything that can be done with this. I already found something else with the same error and implimented it but it had no affect on this filter.

Thanks.

Merge _phptemplate_variables from vote_up_down and flat_forum modules

Hello,

I want to merge _phptemplate_variables from vote_up_down and flat_forum modules in a template.php file. How I can do this?

_phptemplate_variables from vote_up_down:

<?php
// $Id: template.php,v 1.3.2.2 2007/01/10 11:36:52 frjo Exp $


function _phptemplate_variables($hook, $vars) {
  switch($hook) {
    case 'node':
      $vars['storylink_url'] = check_url($vars['node']->vote_storylink_url);
      if (arg(1) != 'add' && arg(2) != 'edit') {
        $style = variable_get('vote_up_down_widget_style_node', 0) == 1 ? '_alt' : '';
        $vars['vote_up_down_widget'] = theme("vote_up_down_widget$style", $vars['node']->nid, 'node');
        $vars['vote_up_down_points'] = theme("vote_up_down_points$style", $vars['node']->nid, 'node');
      }
      $vars['vote_storylink_via'] = theme('vote_storylink_via', $vars['node']->vote_storylink_url);
      if (arg(1) == 'top') {
        static $count;
        $count = is_array($count) ? $count : array();
        $count[$hook] = is_int($count[$hook]) ? $count[$hook] : 1;
        $vars['seqid'] = $count[$hook]++;
      }
      break;
  }
  return $vars;
}
?>

_phptemplate_variables from flatforum:
<?php function _phptemplate_variables($hook, $vars) {
static $is_forum;
$variables = array();
if (!isset($is_forum)) {

Pages

Subscribe with RSS Subscribe to RSS - Post installation