I am installing layouts through the hook
with friendly url as follows
/cat1/link1, /cat1/link2
and
/cat2/link3, /cat2/link4
I want it insuch a way that when I navigate to cat1/link1
The nav links should be link1 and link2
and when i navigate to cat2/link3
The nav links should be link3 and link4
How can i achive this?
or can anyone suggest how can i group the layouts for multiple sites into different categories in same liferay install?
Thanks..
To create organization (this is from seven-cogs
StartupAction.java)Are you sure that you need two organizations and not two communities?
UPDATE for question in comment:
To get organization name in theme (velovity) you can use (if you are in organization’s pages (group))
In portal-ext.properties
In theme vm file
Liferay 6
Liferay 5.x
EDIT:
If your user is member of organization(s) than you can use
Take note that user can be member of multiple organizations and you will get all of them.