Different images on different pages in template

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.
11/3/2009 6:29:51 AM
Gravatar
Total Posts 10

Different images on different pages in template

Hi guys

Ok, my first themed site is nearly done (just some SEO, little tweaks and some xbrowser stuff to do) at www.russellrichardson.hostinguk.org.

I do have an interestign issue though: in my template I have the image with three circles saying "shred safe secure" just above the main navigation. The clients wants this image to be different on some, if not all the pages.

Is there a way to do this with the CMS? Could I add some sort of content placeholder etc?

Your help as ever is appreciated.

Mark

11/3/2009 6:41:36 AM
Gravatar
Total Posts 550

Re: Different images on different pages in template

Hi,

I think you can use more than 3 column skins.

Hope Helps

Asad

11/3/2009 7:02:58 AM
Gravatar
Total Posts 10

Re: Different images on different pages in template

Hi Asad

Not sure I follow you? I have a three columsn skin in place which works fine but the column structure isn't the issue, it's the image in the header spanning above the navigation...

Thanks

Mark

11/3/2009 7:09:12 AM
Gravatar
Total Posts 550

Re: Different images on different pages in template

Hi Mark,

More than 3 columns have 2 alternative pane that you can use one of then as a placeholder for your images on top of your pages.

Hope Helps,

Asad

 

11/3/2009 7:21:05 AM
Gravatar
Total Posts 18439

Re: Different images on different pages in template

If its only a few pages that need different images, you could copy/rename the skin and change the image for each variation, then enable per page skins in site settings then specify the skin for each of the pages. You could also structure the locations of your css files so that they are shared across different skins to make it easier to maintain, as described at the bottom of this page: http://www.mojoportal.com/understanding-the-styleconfig-file.aspx

If its more complex than that you could implement a custom UserControl and put it in the layout.master file of your skin and inside the UserControl you you add logic to determine which image to show based on the url.

Hope it helps,

Joe

11/8/2009 3:16:55 PM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Different images on different pages in template

Hi Joe


I'd toyed with the user control idea and I think that's the best solution. Going to get it setup asap if the client still wants it setting up like that.

As ever, many thanks.

Mark

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