Drupal 7: dynamic elements/tokens (logged in user's name) in basic page -


i'm looking simple , clean way create basic page shows this:

hello $user, id: $userid

$user , $userid should show respective values. want achieve drupal 7 without having to:

  • enable php filter
  • hack drupal core files (like http://drupal.org/node/1073886 do)
  • use unstable modules (if possible)
  • create new modules/code (if possible)

thanks help!

you creating view using views module:

  1. set logged in user argument.
  2. then can add user name , user id fields select not display them.
  3. add global text can insert user id , user name values in text using placeholders.

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -