@memoize
def _data(self):
""" """
context = aq_inner(self.context)
catalog = getToolByName(context, 'portal_catalog')
path = context.getPhysicalPath()
mt = getToolByName(self, 'portal_membership')
if mt.isAnonymousUser():
return ''
else:
member = mt.getAuthenticatedMember()
#path += '/'+'MyMicroSites'+'/'+ member.getUserName()+'Home'
path += '/'+'MyMicroSites'+'/'+ 'sreenath'+'Home'
#path += '/'+ member.getUserName() + 'MyContacts' + '/' + member.getUserName() + 'Contacts' + '/advcntsearch'
path += '/'+ 'sreenath' + 'MyContacts' + '/' + 'sreenath' + 'Contacts' + '/advcntsearch'
if path == '':
return ''
return path