Message Boards
RE: admin login identity in template fileRank: Jedi Master
billy chan, modified 16 Years ago.
admin login identity in template file
Junior Member Posts: 43 Join Date: 11/19/07 Recent Posts
Hello,
i am using liferay 4.3.4 with tomcat 5.5. i am trying to show a link for admin user in the banner. i don't want any user can see this link. So, i try to edit the template file. My question is:
Which variable in template file(.vm) is used to identity admin user?
Thank you for your help first!
i am using liferay 4.3.4 with tomcat 5.5. i am trying to show a link for admin user in the banner. i don't want any user can see this link. So, i try to edit the template file. My question is:
Which variable in template file(.vm) is used to identity admin user?
Thank you for your help first!
Roman Hoyenko, modified 16 Years ago.
RE: admin login identity in template file
Liferay Master Posts: 878 Join Date: 10/8/07 Recent Posts
$permissionChecker.isOmniadmin()
Reinier de Graaf, modified 16 Years ago.
RE: admin login identity in template file
New Member Posts: 15 Join Date: 10/25/07 Recent PostsRoman Hoyenko:
$permissionChecker.isOmniadmin()
Found here: Journal_Template_(Velocity) in LiferayPedia
billy chan, modified 16 Years ago.
RE: admin login identity in template fileRank: Jedi Master
Junior Member Posts: 43 Join Date: 11/19/07 Recent Posts
hello Jedi Master and Reinier de Graaf,
thank you for your help! the problem is solved!
thank you for your help! the problem is solved!