2

I am using views and I want to make the title be: Username's Wall. Depending whose profile it is viewing the title should be automatically changed. How can I do that? this is for drupal 7

1 Answer 1

1

Try putting the following, in the view title field:

%user:name's Wall

Did you mean that you want to create a user profile page? Just use the Panels module, activate the user profile template, and in the title pane write the following:

%user:name's Wall

2
  • I just copied & paste that in title field in views and it just shows up as %user:name's Wall. It doesn't change to the username's name.
    – Ruriko
    Mar 17, 2012 at 5:14
  • I don't think tokens are supported in views title field. You could override the template for the display, global the user object, and replace the print $titlestatement with print $user->name . "'s Wall".
    – Countzero
    Mar 17, 2012 at 9:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.