Last active
August 29, 2015 14:18
-
-
Save evaldeslacasa/3f71adf953e9bb62c211 to your computer and use it in GitHub Desktop.
My Account button for users to edit their account in a pop up display for Liferay 6.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Add this in portal_normal.vm to get a link to My Account | |
#set ($my_account_url = $theme_display.getURLMyAccount() + "&controlPanelCategory=my") | |
<a href="javascript:Liferay.Util.openWindow({dialog: {destroyOnHide: true}, title: 'My Account', uri: '$my_account_url'});"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A good choice would be to add the setting of $my_account_url in the init_custom.vm, so that we distinguish if from others as initialized in our own.