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:
- set logged in user argument.
- then can add user name , user id fields select not display them.
- add global text can insert user id , user name values in text using placeholders.
Comments
Post a Comment