• RE:Dynamic background image based on a document property?
    Forum Post Jun 17, 2013
    I've done this before and simply added a new field/property to the document type and dynamically added it to the transformation based on the value. Take this for example:<div class="callout panel<%# IfEmpty(Eval("BackgroundColor"), "", " " + Eval("BackgroundColor")) %><%# IfE...

  • If Else condition in transformation
    Question Oct 7, 2021
    Hi, Please can someone help me how to re-direct if the "file description" is NOT empty. If file description is empty I want to add below line Below is my full code. <!-- --> Thank you!

  • Weird Attachment Issue
    Question Jun 28, 2016
    I'm on v9 of Kentico. I'm trying to add an image to a file selection field called "UploadedImage". When I try, I get this in the file selection field with no image: /CMSModules/Content/CMSDesk/Edit/593352F4-AF45-48BD-A09F-9EE015BEBE88 Here's my code I'm using to import: ...

  • Direct Media File Uploader control
    Question Feb 1, 2018
    Hello, Has anyone built a direct media file uploader control as a form control? There is a DirectFileUploader control for form controls but not one for media libraries. Thank you,

  • IfEmpty statement - null guid
    Question Jun 27, 2014
    Hi, I have a question. Is it possible to hide field by using IfEmpty statement if I use field Direct uploader? I mean, when I leave empty field, this field has a value - 00000000-0000-0000-0000-000000000000. In this case field will appear with link redirecting to page 404 (CMS...

  • Avatars/User Images in Kentico 12?
    Question Jul 31, 2019
    I need to store a profile image for each user and display it on the front end of a Kentico site. The Avatar feature seems appropriate for this purpose. However, when I get the Avatar url (using `AvatarInfoProvider.GetUserAvatarImageUrl()` ) it returns a relative url that is on...

  • Admin media selection on page designed fails in production
    Question Nov 3, 2022
    In the page editor when I click on a widget to select an image the images fail They're requesting the .../cmsctx/pm/72d516d1-d705-451e-ac34-c9d650a124e0/culture/en-GB/wg/947bdd8b-315c-4dd2-90a9-f20e0a6b60d3/readonly/0/ea/1/h/89b9952a9cc1c331bf9195199783572653bfec696d1a94cec...

  • IfEmpty transformation
    Question Nov 16, 2021
    Hi Guys, I have a blog on my site that has has both a video URL link and a blog teaser Image for the subject and I am trying to put an ifEmpty entry in my transformation so when there is no video link supplied, it will show the blog teaser image. I have tried <%# IfEmpty...

  • GetImage
    Question Sep 22, 2015
    Where would I find the original code for GetImage tranformation. I am trying to create a custom transformation that will allow me to assign a class.

  • Field type "FILE" on cms_user custom fields
    Question Oct 30, 2015
    Hello, I am trying to add a FILE field as a custom field for Users and I have not been able to do so. The Datatype FILE does not show as an option if I try to add it as a custom field for Users. However, if I try to add it to a regular page type, it shows normally. The reason ...

  •   ... 11 12 13 14 15 16 17 18 19 20 ...