How to get user id?

edited November 2008 in Vanilla 1.0 Help
I am a beginner using vanilla I am creating a new page using PageMng extension. How to get the userid of the user accessing the forum? thanks.

Comments

  • write this in the page html fieldHello <?php echo $this->Context->Session->User->Name; ?> !
This discussion has been closed.