Allow to change the skin in the gateway with a parameter in the URL
Description
Attachments
- 29 Nov 2011, 11:39 PM
is related to
relates to
Activity
Diego del Blanco Orobitg June 11, 2015 at 10:27 AM
Yes, that instance is not working now. At this moment I don't have any instance working with that code.
Eduardo Pinto June 10, 2015 at 6:01 PM
Hi
this links itsbroken (
http://campus.tutordemia.es/portal/
http://campus.tutordemia.es/portal/?skin=neo-default
http://campus.tutordemia.es/portal/?skin=neo-somgestio
http://campus.tutordemia.es/portal/?skin=neo-tutordemia
)
Is anybody using this in 2.9 or 10.x?
Diego del Blanco Orobitg February 20, 2014 at 6:18 AM
You can try here:
http://campus.tutordemia.es/portal/
http://campus.tutordemia.es/portal/?skin=neo-default
http://campus.tutordemia.es/portal/?skin=neo-somgestio
http://campus.tutordemia.es/portal/?skin=neo-tutordemia
and all the standard neo skins.
Surely there will be some minor modifications in the patch to work with 2.9. The problem is that I don't have access to these changes right now but surely not too complex.
Diego
Jaques Smith February 20, 2014 at 4:27 AM
Is anybody using this in 2.9?
Nkululeko Phakela February 3, 2012 at 1:46 AM
I should say I tried this in 2.8.0 and all went well, except Validator.CheckSkinExists is not implemented in org.sakaiproject.util.Validator. But otherwise everything went well.
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 a defined 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.
The patch affects the KERNEL, the PORTAL and the LOGIN TOOL (this third one because we allow the same parameter when callin directly the xlogin page)