Hey,
I've created a new Profiler called User that is using the standard User
rule and the StandardProfilingRule class but still none of the folders
in my user's home directory are showing up in the menu.
My menu definition looks thusly:
<menu name="navigations" deapth="-1" profile="user">
<separator>
<text>Top Pages7</text>
</separator>
<options>/</options>
<options regexp="true">*X*/</options>
<options regexp="true">*Public*/</options>
<options>/Administrative</options>
</menu>
As far as I can understand, the standard user-role-fallback Profiler
should almost do what I want, but I cant get that to work ether.
The folder structure looks like this:
Pages/
-_users/
-admin/
-X1/
-folder.metadata
-default_page.psml
-anotherpage.psml
-X2/
-folder.metadata
-default_page.psml
-anotherpage.psml
The menu is defined in
Pages/folder.metadata
And I want it to show up like this in the navigation pane
Root
X1
X2
Clicking on X1 should take you to the X1 folder with the default_page
shown.
This doesn't seem like it should be very hard.
David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939 l
david.j...@visionsolutions.com
The contents of this e-mail (and any attachments) are privileged and
confidential. Unauthorized use is strictly prohibited.
-----Original Message-----
From: Randy Watler [mailto:wat...@wispertel.net]
Sent: Wednesday, September 02, 2009 12:53 PM
To: Jetspeed Users List
Subject: Re: Defining a menu for a users folder
David,
I know you have probably already looked, but here are the relevant docs:
http://portals.apache.org/jetspeed-2/deployguide/guide-profile.html
http://portals.apache.org/jetspeed-2/adminguide/profiler.html
http://portals.apache.org/jetspeed-2/deployguide/guide-menus-declarative
-psml.html
Pay close attention to the profiling rules... you want user w/o
fallback, so you'll need to create your own rule using the Profiler
Administration portlet. Once you have a new rule defined, you'll define
a new menu with the profile attribute set to the name of your new rule.
HTH,
Randy
David Just wrote:
If you could point me in the right direction on how I would go about
defining and using said Profiling rule that would be a great help.
David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939
l david.j...@visionsolutions.com
The contents of this e-mail (and any attachments) are privileged and
confidential. Unauthorized use is strictly prohibited.
-----Original Message-----
From: Randy Watler [mailto:wat...@wispertel.net]
Sent: Tuesday, August 25, 2009 5:41 PM
To: Jetspeed Users List
Subject: Re: Defining a menu for a users folder
David,
The expressions in the menus cannot see the users folders.... the
profiler merges them all under the root. So, "/*.psml" will show all
the
root pages including the global pages and those created by the user.
Of course, there is a way to get only the user's pages... define a
profiling rule for the user w/o fallback. Then you can define the menu
using that profiling rule. I can probably help you out with this
approach if necessary. Let me know,
Randy
David Just wrote:
I guess I should have been clearer with my question. I've been
trying
to find the right combination of declarative menu options to get what
I
want. I was hoping for an example of at least how to reference the
user's folder "Jetspeed/_user/<userXFolder>"
There doesn't seem to be a regular expression object that relates to
the
user's home directory. At least I haven't found one.
David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939
l david.j...@visionsolutions.com
The contents of this e-mail (and any attachments) are privileged and
confidential. Unauthorized use is strictly prohibited.
-----Original Message-----
From: Randy Watler [mailto:wat...@wispertel.net]
Sent: Tuesday, August 25, 2009 4:25 PM
To: Jetspeed Users List
Subject: Re: Defining a menu for a users folder
David,
Yes, this is possible using declarative menus.
http://portals.apache.org/jetspeed-2/deployguide/guide-menus-declarative
-psml.html
Randy
David Just wrote:
Is it possible to define a menu that dynamically shows the folders
that
a user has created such that the names of the folders show up in the
navigation without their parent folder.
Example:
User bob create a folder in his space called X1
..jetspeed/pages/_user/bob/X1
I want this to show up in the navigation menu as just X1 (or
whatever
is defined as the title in the folder metadata).
When Janet logs in, she should not see bob's folders.
David Just l Software Engineer l Vision Solutions l +1 (507)
529-5939
l david.j...@visionsolutions.com
The contents of this e-mail (and any attachments) are privileged and
confidential. Unauthorized use is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail:
jetspeed-user-h...@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail:
jetspeed-user-h...@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org