Is it possible to apply only one exposed filter to two (or more) page-displays of a view?

Hello to all,

i´ve added a new view with several page-displays. I´m trying to apply only one exposed filter to all of these displays. For some reason, i don´t get very far with this. I´m always ending up with as much exposed filters as i have displays in my view.

powered by drupal code...

I have been looking for the module or code that does the 'powered by drupal' block in the Drup 7 core... any hints?

How can I use wiki format on my site?

Hey guys,

I'd like to provide users with wiki writing function. How can I do with it? And is there any copyright issue?
Really appreciate for any suggestion.

Thanks,
Henry

Ajax History

Hello

I'm working to put ajax links in my list view to display the full content without page reload.

I have done like that (creation of a new module)


  $items['my_module/ajax/%'] = array(
    'page callback' => 'my_module_ajax_callback',
    'page arguments' => array(2),
    'access arguments' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}


function my_module_ajax_callback($type = 'ajax', $nid) {
  if ($type == 'ajax') {
  	
  
  	
    $node = node_load($nid);

    $output = drupal_render(node_view($node));
  	
    $output = '<div id ="dashboard_main_content">'.$output.'</div>';
    $commands[] = ajax_command_replace('#dashboard_main_content',$output);
       
    $page = array('#type' => 'ajax', '#commands' => $commands);
    ajax_deliver($page);
  }
  else {
    $output = t("This is some content delivered via a page load.");
    return $output;
  }

In the head of my view I put this :

// Add libraries
drupal_add_library('system', 'drupal.ajax');
drupal_add_library('system', 'jquery.form');

Then I print every link of my view like this :

<a href="/dev-drup/?q=fr/hicham_example/ajax/nojs/[nid]" class="use-ajax">[title]</a>

Every thing works fine, But the navigation history doesnt work.

Someone knows ho to add navigation history with drupal ajax ?

Rendered node display for anonymous users?

I would like to use a view field (node reference to an og group, configured to display a teaser)
as a rendered node inside a view and to display the view to anonymous users.
Do you know how to achieve this result ?
Currently I can display it for admin user but for non-admin users the view field doesn't appear.

Piwik Module Error

Have installed the Piwik module in Drupal 7 but when checking on the reports page I get this error

• Notice: Undefined property: stdClass::$data in piwik_reports_get_sites() (line 449 of /home/pandemon/public_html/sites/all/modules/piwik_reports/piwik_reports.module).
• Warning: Invalid argument supplied for foreach() in piwik_reports_siteselect_form() (line 67 of /home/pandemon/public_html/sites/all/modules/piwik_reports/piwik_reports.pages.inc).

Any help will be most gratefull

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x