Hi Philippe,
Philippe GABERT:
That's actually what I've done, but I don't know how to "pre-build" the page for the users.
I have set up the entire pages using a sample user and exporting the content of that sample user to a "Liferay Archive" (aka LAR-File). This file is then configured in the portal-ext.properties as template using the following syntax:
1
2#
3# Specify a LAR file that can be used to create the user private layouts. If
4# this property is set, the previous layout properties will be ignored.
5#
6default.user.private.layouts.lar=${liferay.home}/deploy/default_user_private.lar
Private user pages have to be enabled to use these settings.
Philippe GABERT:
And I have problems to set the template.
You probably mean you're having difficulties configuring the default theme (instead of defalt template), right? At least that's what I presume following the end of your thread.
For me the following line (again in portal-ext.properties) did the trick:
1
2#
3# Set the regular theme id for the private layout.
4#
5default.user.private.layout.regular.theme.id=wintersky_WAR_wintersky-theme
In addition to that I'm facing another problem, as I basically want to achieve the same thing as you: A startpage per user that is pre-defined by the portal owner, which the user is allowed to configure as he likes. A bunch of other pages that are not editable by "normal" users.
What I've figured out so far: You can build the startpage as described above as well as additional pages, that all "link" to another community.
Example:
Page 1 -> http://localhost/user/sample-user/home
Page 2 -> http://localhost/group/acme/page1
Page 3 -> http://localhost/group/acme/page2
The drawback of this is, whenever a user klicks on "Page 2" or "Page 3" he / she changes the scope (i.e. the community) and his / her startpage disappears from the toplevel navigation, so that probably needs to be hardcoded in the navigation.vm, but I don't know how to replace that with the appropriate user-variable, so that's it is always valid for any given user, see my prob?
I'm sure this is easy to fix for those of you who have put your noses in the code already, so any hint is greatly appreciated

cheers,
Dennis
Be kell jelentkezni ahhoz, hogy ez helytelenként legyen megjelölve.