Thanks for your input David!

(feedbacks below)

> [EMAIL PROTECTED] wrote:
>> Hi again,
>>
>> 1) I've recently noticed that ALL my pages which have VelocityTwoColumns
>> actually display 1 column (1 portlet per row). I haven't touched
>> anything
>> to my PSMLs as far as I know. I even tried to pull out an older version
>> which I remember displayed OK, and now it's screwed as well.
>> Therefore my guesses tend to be around the Database, problem is I don't
>> have a single idea on which table to search...
>
> I don't think its the database.
> Did you try using the customizer?
> You can move the portlets around with the customizer
> Take a look at your PSML file. Try editing the layout properties, the
> row and column properties are zero based

Well, it seems I have solved the problem already by giving unique IDs to
fragments which is mandatory (but I didn't pay attention at that time).
I think J2 checks in the DB for the fragment ID and must have pulled out
the wrong layout ?

>>
>> 2) Is there a guide on how to use profiles that I'm missing ?
>
> http://portals.apache.org/jetspeed-2/guides/guide-profiler.html
>
>> I've been playing around with those profiles lately in order to display
>> the same pages for all "manager" (role) and let all simple user with
>> default ones. It looks like J1 and J2 don't do the job, unlike
>> role-fallback (and maybe the others "fallback" too). So what are J1 and
>> J2's specialities ? Why are they the default profiles ?
>
> Why not used the "role-fallback" rule?
>

Actually I do. In fact, I use "user-role-fallback" rule which truly meets
my requirements.
A feature which could be needed IMO is a way to better manipulate PSMLs
through Administrative GUI (like cloning) just like in J1...

> Its documented in the profiler guide (above)
>
> "j2" is the default rule. It locates pages by path and name, and also
> considers the media type of the request for finding mime type specific
> resources. It is only the default for the demo system. You are free to
> choose the default profiling rule in your portal. take a look at the
> profiler spring configuration, constructor arg #1

Can you confirm that line is what I'm looking for if I want to change the
default profiling rule : profiler.rule.values.default = j2
(from /WEB-INF/conf/jetspeed.properties) ?

>> I have taken a look at the Administrative->Profile Manager but it's
>> quite
>> confusing...
>>
> Yes, unfortuntely true, we may get it rewritten for the new release
> perhaps, contributions welcome!
>
>> 3) Why sometimes (depending on the profile maybe ?) a default-page.psml
>> is
>> generated in _user/aNewUser/ ? How to prevent this from happening ?
>
> You can't currently. I need to fix that. I've created a JIRA issue:
>
> https://issues.apache.org/jira/browse/JS2-578
>
> Also see related:
> https://issues.apache.org/jira/browse/JS2-476
>
> User can be created from two places:
>
> 1. user registration
> 2. user administration
>
> Each uses different configurations, which is bad
>
> 1. User Registration is configured by a portal property :
>
> See jetspeed.properties:
> psml.template.folder = /_user/template/
>
> 2. User Administration is configured by a portlet preference on the
> UserDetailsPortlet: the "newUserTemplateDirectory" pref
>
> Unfortunately, in neither case, is this feature optional, so it will
> always attempt to create a directory
>
> Additional info:
>
> When a new user is created, you can configure some actions from the User
> Management portlet (edit mode):
>
> default role for a new user
> default profile for a new user
>
> Both of these features are optionally. They can be turned off from the
> User Management portlet
>
> With the User Management portlet, you can also specifically set the
> profile per user (see the profile tab).
>

Mkay, I just have a couple of questions now :
1) whenever I create a new user, nowhere is mentionned "j2" which is
supposedly the default profile rule. Is it normal that I have to
specifically set it ?
2) don't I just need to clean _user/template/ if I don't want J2 to copy
the (empty) content to _user/myNewUser/ ?


Thanks again for sharing some of your time..
Ludovic


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to