You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Elif Guner <el...@gmail.com> on 2006/09/18 22:32:04 UTC

Subsites

Hi,
Can anyone tell me the directory structure for a subsite? Do I still
need to have decorators and all that in a subsite folder?
I want to make 3 different sites on the same portal that these sites
will not be visible to each other and their look and feel will be
different. They might share some common resources. How can I do this?
Using subsites I suppose, but what is the subsite tree structure?
Thanks,
Elif

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Subsites

Posted by Elif Guner <el...@gmail.com>.
Hi Philip,
I actually tried subsites but what I see is that it is role based and
that makes it a bit complicated for the requirements my portal has.
I have two image links at the top of the page and they are linked to
different websites. When I use subsites for these sites, I have to be
the user that is allowed to access the subsite after clicking the
button. Also as you said before, I have to set the profiling rules for
each user of the subsite.
So I've decided to use different folders, with different content, look
and feel etc. I can give access to different groups for each folder
which makes it a lot easier for authorization.
I'll look into profiler and other files you mentioned more in detail.
Thanks very much for your help...
Elif


On 9/20/06, Philip Mark Donaghy <ph...@gmail.com> wrote:
> Hi Elif,
>
> On 9/19/06, Elif Guner <el...@gmail.com> wrote:
> > Thanks very much Philip. I would also like to know if the built-in
> > roles are inherited in subsites. Can I have Administrative, guest etc
> > roles in my subsite and put role-specific psml files into those
> > folders?
>
> Yes, my best guess is the roles are applicable to subsites. Rather
> sure actually but I've never used this feature.
>
> > Also, Is there a better guide for profile rules than
> > http://portals.apache.org/jetspeed-2/guides/guide-profiler.html ?
>
> This doc requires http://www.openoffice.org/
> http://svn.apache.org/repos/asf/portals/jetspeed-2/trunk/design-docs/src/profiler/J2-page-manager-profiling.sxw
>
> I wrote a blog about profiling.
> http://donaghy.blogspot.com/2006_09_01_donaghy_archive.html#115717649154931733
>
> > I don't want to complain or criticize anything but for beginners it's
> > kind of hard because most of the Jetspeed guides are a little bit
> > vague. It would be very good if there was a simple tutorial for things
> > such as profiles, using subsites etc.
>
> I know, it took me a year to figure out what the profiler does. I
> wrote a simple profile rule. It really only takes 20 minutes and a
> debugger if you know where to look. Check out the ProfilerValve in the
> Jetspeed Pipeline. Look at the Admin Profiler portlet. And the spring
> profiler assembly xml. And do a little voodoo dance.
>
> Good luck,
>
> Philip
>
> > Thanks,
> > Elif
> >
> > On 9/19/06, Philip Mark Donaghy <ph...@gmail.com> wrote:
> > > Hi Elif, Subsites are established in your psml tree not in the webapp
> > > tree. Take a look at the WEB-INF/pages/_subsite directory. All of the
> > > decorators are defined in psml so decorators for both sites remain in
> > > the webapp/decorations/layout and portlet directories.
> > >
> > > You will have to set the profile rules of all the users of the subsite
> > > to find subsite psml files.
> > >
> > > Philip
> > >
> > > On 9/18/06, Elif Guner <el...@gmail.com> wrote:
> > > > Hi,
> > > > Can anyone tell me the directory structure for a subsite? Do I still
> > > > need to have decorators and all that in a subsite folder?
> > > > I want to make 3 different sites on the same portal that these sites
> > > > will not be visible to each other and their look and feel will be
> > > > different. They might share some common resources. How can I do this?
> > > > Using subsites I suppose, but what is the subsite tree structure?
> > > > Thanks,
> > > > Elif
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Philip Donaghy
> > > donaghy.blogspot.com del.icio.us/donaghy/philip
> > > Skype: philipmarkdonaghy
> > > Office: +33 5 56 60 88 02
> > > Mobile: +33 6 20 83 22 62
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
>
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Subsites

Posted by Philip Mark Donaghy <ph...@gmail.com>.
Hi Elif,

On 9/19/06, Elif Guner <el...@gmail.com> wrote:
> Thanks very much Philip. I would also like to know if the built-in
> roles are inherited in subsites. Can I have Administrative, guest etc
> roles in my subsite and put role-specific psml files into those
> folders?

Yes, my best guess is the roles are applicable to subsites. Rather
sure actually but I've never used this feature.

> Also, Is there a better guide for profile rules than
> http://portals.apache.org/jetspeed-2/guides/guide-profiler.html ?

This doc requires http://www.openoffice.org/
http://svn.apache.org/repos/asf/portals/jetspeed-2/trunk/design-docs/src/profiler/J2-page-manager-profiling.sxw

I wrote a blog about profiling.
http://donaghy.blogspot.com/2006_09_01_donaghy_archive.html#115717649154931733

> I don't want to complain or criticize anything but for beginners it's
> kind of hard because most of the Jetspeed guides are a little bit
> vague. It would be very good if there was a simple tutorial for things
> such as profiles, using subsites etc.

I know, it took me a year to figure out what the profiler does. I
wrote a simple profile rule. It really only takes 20 minutes and a
debugger if you know where to look. Check out the ProfilerValve in the
Jetspeed Pipeline. Look at the Admin Profiler portlet. And the spring
profiler assembly xml. And do a little voodoo dance.

Good luck,

Philip

> Thanks,
> Elif
>
> On 9/19/06, Philip Mark Donaghy <ph...@gmail.com> wrote:
> > Hi Elif, Subsites are established in your psml tree not in the webapp
> > tree. Take a look at the WEB-INF/pages/_subsite directory. All of the
> > decorators are defined in psml so decorators for both sites remain in
> > the webapp/decorations/layout and portlet directories.
> >
> > You will have to set the profile rules of all the users of the subsite
> > to find subsite psml files.
> >
> > Philip
> >
> > On 9/18/06, Elif Guner <el...@gmail.com> wrote:
> > > Hi,
> > > Can anyone tell me the directory structure for a subsite? Do I still
> > > need to have decorators and all that in a subsite folder?
> > > I want to make 3 different sites on the same portal that these sites
> > > will not be visible to each other and their look and feel will be
> > > different. They might share some common resources. How can I do this?
> > > Using subsites I suppose, but what is the subsite tree structure?
> > > Thanks,
> > > Elif
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > >
> > >
> >
> >
> > --
> > Philip Donaghy
> > donaghy.blogspot.com del.icio.us/donaghy/philip
> > Skype: philipmarkdonaghy
> > Office: +33 5 56 60 88 02
> > Mobile: +33 6 20 83 22 62
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Subsites

Posted by Elif Guner <el...@gmail.com>.
Thanks very much Philip. I would also like to know if the built-in
roles are inherited in subsites. Can I have Administrative, guest etc
roles in my subsite and put role-specific psml files into those
folders?
Also, Is there a better guide for profile rules than
http://portals.apache.org/jetspeed-2/guides/guide-profiler.html ?
I don't want to complain or criticize anything but for beginners it's
kind of hard because most of the Jetspeed guides are a little bit
vague. It would be very good if there was a simple tutorial for things
such as profiles, using subsites etc.
Thanks,
Elif

On 9/19/06, Philip Mark Donaghy <ph...@gmail.com> wrote:
> Hi Elif, Subsites are established in your psml tree not in the webapp
> tree. Take a look at the WEB-INF/pages/_subsite directory. All of the
> decorators are defined in psml so decorators for both sites remain in
> the webapp/decorations/layout and portlet directories.
>
> You will have to set the profile rules of all the users of the subsite
> to find subsite psml files.
>
> Philip
>
> On 9/18/06, Elif Guner <el...@gmail.com> wrote:
> > Hi,
> > Can anyone tell me the directory structure for a subsite? Do I still
> > need to have decorators and all that in a subsite folder?
> > I want to make 3 different sites on the same portal that these sites
> > will not be visible to each other and their look and feel will be
> > different. They might share some common resources. How can I do this?
> > Using subsites I suppose, but what is the subsite tree structure?
> > Thanks,
> > Elif
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
>
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Subsites

Posted by Philip Mark Donaghy <ph...@gmail.com>.
Hi Elif, Subsites are established in your psml tree not in the webapp
tree. Take a look at the WEB-INF/pages/_subsite directory. All of the
decorators are defined in psml so decorators for both sites remain in
the webapp/decorations/layout and portlet directories.

You will have to set the profile rules of all the users of the subsite
to find subsite psml files.

Philip

On 9/18/06, Elif Guner <el...@gmail.com> wrote:
> Hi,
> Can anyone tell me the directory structure for a subsite? Do I still
> need to have decorators and all that in a subsite folder?
> I want to make 3 different sites on the same portal that these sites
> will not be visible to each other and their look and feel will be
> different. They might share some common resources. How can I do this?
> Using subsites I suppose, but what is the subsite tree structure?
> Thanks,
> Elif
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org