About Header image in layout.

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
4/25/2008 6:40:11 AM
z1
Gravatar
Total Posts 15

About Header image in layout.

Hello, 

I do not want to use two skins. I want to use single skin but in that want to change header image for home page and other header image for other pages. So, it is possible by using single layout? One layout for home page and other layout for other pages present under in that.

4/26/2008 6:59:29 AM
Gravatar
Total Posts 18439

Re: About Header image in layout.

If you just want to change an image you could write a control for the image so it can detect what page it is on and show the image ofr your choice. Put this control in the layout.master.

If all the images are the same size then it really does not affect layout. Layout is about height width position columns margins etc. Layout is one part of a mojoportal skin mainly handled by stylelayout.css in conjunction with layout.master

In mojoPortal there is not a way to change the layout except by changing the skin. So if you need the same design on all pages but want a different layout on home page then you copy the main skin change the layout.css. That solution works, I have no other solution to suggest.

Hope it helps,

Joe

ps, please don't make duplicate posts and don't change your posts after I answer them. Just post another response to the same thread.

7/30/2009 12:44:23 AM
Gravatar
Total Posts 1

Re: About Header image in layout.

 Hi joe and the mojo portal community!

 I think i have the same problem that he has. 

 "If you just want to change an image you could write a control for the image so it can detect what page it is on and show the image  ofr your choice. Put this control in the layout.master."

 Can you please explain to me on how to write a control for the image and what is the code? And where can i put it on the layout.master.

Thanks.

 

You must sign in to post in the forums. This thread is closed to new posts.