ASPX templates
Version 4.x > ASPX templates > Help with images much appreciated. View modes: 
User avatar
Member
Member
sales-bluweb.co - 6/27/2009 6:13:41 AM
   
Help with images much appreciated.
Hi - I'm new to kentico and would be extremely greatful if someone could help me.

i'm wanting the user to have the ability tp add adverts (small images) down the left side of the website.

is there a way to do 1 of the foillowing..

have an editable region on the master page - meaning the user can edit this region and it will repeat on all pages linked to that master page.. I've added an editable region to my master page but the user has to edit on all pages individually?

if not i need users to be able to upload images via the cms console - I'll then have to write some code in the load event for the master page to append random images they have uploaded into my side bar div.

help is much appreciated - love the software and want to get my head round it a bit more..

User avatar
Member
Member
bluerhino_avanmeter - 7/6/2009 9:55:56 AM
   
RE:Help with images much appreciated.
The CMSEditableRegion control has a property called InheritContent. Setting that to True on your master page should result in the behavior you're wanting (editing the content on the top level page in the CMS desk should propagate that content down through all the pages that are also based on that master page).

User avatar
Member
Member
sales-bluweb.co - 7/6/2009 10:11:50 AM
   
RE:Help with images much appreciated.
Thanks for this. This worked however I had to re-create a few pages that weren't inheriting the content. Whether this has anything to do with creating the pages prior to setting the InheritContent property to True - I don't know.

Thanks!