http://kldp.org/minipage/cwryu shows what I am trying to talk. (Sorry this is Korean but you will easily notice.)

At the center, it says

%1 님의 mini page
cwryu 님의 mini page

Here, the %1 is username and I added text at the page but it does not properly show the username at the breadcrumb trail place.

Below is the views export

  $view = new stdClass();
  $view->name = 'homepage';
  $view->description = 'user page';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = '%1 님의 mini page';
  $view->page_header = '';
  $view->page_header_format = '1';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = '아직까지 새 글타래로 올리신 글이 없네요. 답글만 올리지 마시고 새로운 글타래를 올려 주시면 어떨까요? :-)';
  $view->page_empty_format = '1';
  $view->page_type = 'teaser';
  $view->url = 'minipage/$arg';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '10';
  $view->sort = array (
    array (
      'tablename' => 'node',
      'field' => 'nid',
      'sortorder' => 'DESC',
      'options' => '',
    ),
  );
  $view->argument = array (
    array (
      'type' => 'username',
      'argdefault' => '2',
      'title' => '',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
    array (
      'type' => 'rss_feed',
      'argdefault' => '2',
      'title' => '',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
    array (
      'tablename' => 'node',
      'field' => 'created',
      'label' => '글쓴시각',
      'handler' => 'views_handler_field_date_small',
    ),
    array (
      'tablename' => 'node',
      'field' => 'title',
      'label' => '제목',
      'handler' => 'views_handler_field_nodelink',
      'options' => 'link',
    ),
    array (
      'tablename' => 'node_comment_statistics',
      'field' => 'last_comment_timestamp',
      'label' => '마지막 답글',
      'handler' => 'views_handler_field_date_small',
    ),
    array (
      'tablename' => 'node_comment_statistics',
      'field' => 'comment_count',
      'label' => '답글 수',
      'handler' => 'views_handler_comments_with_new',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'blog',
  1 => 'forum',
  2 => 'story',
),
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node, node_comment_statistics);
  $views[$view->name] = $view;

Comments

webchick’s picture

Status: Active » Fixed

The "Page" Title field is only for static pages (or what they page title should be when an argument isn't specified).

If you want the page title to be dynamic when an argument is specified, you should put the %1 in the "Title" field under "Argument Type" instead.

I was screwed up by this before too. :)

ksoonson’s picture

Oh, thank you very much! I fixed it right now. :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)