[Building Sakai] Change layout of the gateway page

Steve Swinsburg s.swinsburg at lancaster.ac.uk
Wed Jul 15 03:00:48 PDT 2009


Hi Neeru,

You've found the velocity templates in portal/portal-render-engine- 
impl/pack/src/webapp/vm/defaultskin/* right? In 25.x and earlier,  
macros.vm did pretty much everything, in 2.6.x+ its split into a bunch  
of include*.vm templates. They are appropriately named  
(includePageNav, includePageTabs etc) so you should be able to just  
uncomment the ones you don't want from the #parse('/path/to/template')  
so they aren't included. Or modify parts so they don't render. For  
2.5.x, just work on the macros.vm.

You will also need to make adjustments to the portal.css for the  
default skin so it doesn't set out spaces for the parts that aren't  
going to render. In fact, you could do all of this with CSS just by  
setting display:none on the elements you want hidden. That might be  
the easiest option.

So two options for you, depending on exactly what you need to do.

cheers,
Steve




On 15 Jul 2009, at 04:50, Neeru Joshi wrote:

>
> Hi everybody,
>
>  I need to change the gateway page layout...i.e. I need to remove  
> the side
> panel (page links), the logo and the banner. What i am trying to do is
> display an image...this will cover most of the screen, and the login  
> form
> provided by sakai. I am new to velocity, but I have read and got  
> some idea
> about it. But the problem is the deadline, so if someone could help me
> understand how sakai reders the pages, I would really appreciate it!
>
> Thanks,
> Neeru
>
> -- 
> View this message in context: http://www.nabble.com/Change-layout-of-the-gateway-page-tp24491495p24491495.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"



More information about the sakai-dev mailing list