[development] Getting uid of current profile page
Jørn Fauske
jfauske at gmail.com
Fri Mar 9 13:46:04 UTC 2012
http://api.drupal.org/api/drupal/modules!user!user-profile.tpl.php/7
suggests you could check the content of $user_profile
--Jørn
On Fri, Mar 9, 2012 at 1:46 PM, Andreas Laesser
<andreas.laesser at tugraz.at> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi @all
>
> Lets assume, that i want to something like:
>
> <?php
> $currentProfileUser="Here happens some magic"
>
> print("<H3> $currentProfileUser is Member of ...</H3>");
> ?>
>
> in the file: /drupal/modules/user/user-profile.tpl.php
>
> Can someone provide my some ideas how to get the uid from the current
> user profile page? I do not need the uid from the logged in viewing
> user, i need the uid from the user displayed at the current profile page.
>
>
> Thanks a lot for help!
> regards Andreas
>
> - --
> =========================================================================
> _____________
> / ___________/ Andreas Laesser
> / //_// /____/ Signal Proc.& Speech Communication Lab.
> __/ /___/ / __ Graz University of Technology
> /___//____//___/ Inffeldgasse 16c/EG | A-8010 Graz | Austria
>
> http://www.spsc.tugraz.at Tel: +43 (0)316 873 -4443 Fax: DW 104439
> =========================================================================
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAk9Z+7QACgkQ1nmbrmNF2lN2bQCfa5kiat9cXkmiSbs1KEcX7NEi
> 4KYAoIRQm8l2z7lepHoCbs+FisMmK/zp
> =xAq1
> -----END PGP SIGNATURE-----
More information about the development
mailing list