Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > List of items View modes: 
User avatar
Certified Developer 11
Certified Developer 11
felix.planjer-yellowred - 9/16/2010 9:27:36 AM
   
List of items
Hi,

We are developing a website, on which we want to enable the editors to add banners and other promotions to the right part of the page. We do not know in advance if a page has 0, 1 or more banners or texts.
We can start by adding 10 EditableText webparts to the page so the editor can add 10 items, but if he wants to add an eleventh item we need to change the template.

Is there a webpart that has the ability to add items to a list? The items that can be added should then be limited to for instance only EditableText or an image.

Is this supported or available?

regards, Felix

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 9/24/2010 4:04:59 AM
   
RE:List of items
Hi,
I would recommend you following. Create custom document type (http://devnet.kentico.com/docs/devguide/defining_a_new_document_type.htm) with File Upload filed and some text field and let users to create document of such document type in your content tree. Example:

MainDocument
- ImageDoc1
- ImageDoc2
- Etc.

MainDocument is the one where you will add repeater web part which will be configured to display all banners under MainDocument (ImageDoc1, ImageDoc2 etc.)

In this way, banners will be displayed dynamically from some location of your web site and you can let your editors simply to create document of your document type with some image and text in your content tree and the content of these documents will be displayed dynamically by the repeater web part.

Best regards,
Ivana Tomanickova