Hi!

I can't access to argument->value during hook_views_post_render() (Executes finally as I know).

function [custom]_views_post_render(&$view) {
  if ($view->current_display == 'display_name') {
    foreach ($view->argument as $name => $argument) {
      if ($argument instanceof views_handler_argument_term_node_tid_depth) {
        dpm($argument);
        // Argument value here is NULL, but argument->argument is present in raw format.
        if (count($argument->value) == 1) {
          if ($taxonomy_term = taxonomy_term_load(reset($argument->value))) {
            // little manipulations with title and breadcrubms...
          }
        }
      }
    }
  }
}

Is anybody faced with similar problem?
thx!

Comments

MustangGB’s picture

Issue summary: View changes
Status: Active » Closed (outdated)