[Building Sakai] Different gateway skin for different user types

Adrian Fish a.fish at lancaster.ac.uk
Mon Nov 28 03:54:47 PST 2011


A mixture of the ideas would be a very good solution I think. The portal 
can set the cookie as soon as somebody comes in with the parameter.

I'm very interested in the code :) Nice one.

Cheers,
Adrian.

On 28/11/2011 10:59, Diego del Blanco Orobitg wrote:
> Hi Adrian:
>
> We in Samoo have done something like this (not exactly as you ask, but very
> similar)
>
> We have a Sakai that accepts this parameter:
>
> Sakaiurl?skin=theskinname
>
> You can try:
> http://tusaulas.com/portal/?skin=avit
> http://tusaulas.com/portal/?skin=default
> http://tusaulas.com/portal/?skin=RJC2
> http://tusaulas.com/portal/?skin=rtl
>
> So, when you enter with this skin into Sakai, from this moment in all the
> sites without default skin you will see the skin in the parameter. If a site
> has a skin selected you will see the selected skin.
>
> We use this to allow different enterprises to use the same Sakai. They must
> access to Sakai from a link in their webpage and that link has the
> parameter. If someone enters without the parameter we have a very simple
> default skin without logos.
>
> If you (or someone more) are interested in this code, please, write to us.
> We can contribute it without problems.
>
> Maybe mixing this work with your cookie idea you can have the full solution
> to your need.
>
> Saludos
>
>
> Diego del Blanco Orobitg
> Director de operaciones
> diego.delblanco at samoo.es
> Tlf Oficina: 673 80 32 69
> Tlf Móvil: 653 683 489
> www.samoo.es
>
> -----Mensaje original-----
> De: sakai-dev-bounces at collab.sakaiproject.org
> [mailto:sakai-dev-bounces at collab.sakaiproject.org] En nombre de Adrian Fish
> Enviado el: lunes, 28 de noviembre de 2011 11:30
> Para: Sakai Dev
> Asunto: [Building Sakai] Different gateway skin for different user types
>
> Has anybody implemented a different gateway skin for different user
> types? I'm thinking along the lines of a cookie being set when a user
> logs in for the first time and the portal reading it and setting the
> skin appropriately on subsequent accesses?
>
> Cheers,
> Adrian.
>

-- 
==================================
Adrian Fish
Software Engineer
B66 Management School
Lancaster University
Lancaster
LA1 4YW

http://www.sakaiproject.org
http://confluence.sakaiproject.org/display/YAFT/Yaft
http://confluence.sakaiproject.org/display/CLOG/Home
http://confluence.sakaiproject.org/display/BBB/Home



More information about the sakai-dev mailing list