• How do I render the content of the editable region of the same document but in a different layout us
    Question Apr 29, 2014
    Hello, I have a site with multiple layouts on a single page template. This is actually for a mobile version on the site. I want to set the default text of an editable region ["editabletext2"] in the mobile layout, to the text found in the editable region ["editabletext1"] in ...

  • Client IP Address
    Question Apr 22, 2015
    Before 8.x I used this piece of code to grab the IP Address of the Current User. Now I do not seem to find it in the changed namespace. Any Ideas where it went to or what I can use now ? CMS.Helpers.HTTPHelper doesn't contain the method. `string clientIp = CMS.GlobalHelper...

  • How to set tag name as Page Header
    Question Sep 5, 2016
    Hi there, I am following this documentation to set up Tag Cloud webpart https://docs.kentico.com/display/K9/Displaying+tags+on+a+page I have a tag cloud on product listing pages on my site that goes to a tag results page which displays products that contain that chosen tag. I...

  • ToInt(tagid, "") Object reference not set to an instance of an object
    Question Sep 20, 2016
    Why Macro does not resolve ToInt(tagid, ""). After restarting the app, it's working again for maybe 2 days. Trace below: Error while evaluating expression: ToInt(tagid, "") Object reference not set to an instance of an object. at CMS.DataEngine.AbstractInfo`1.RegisterProperti...

  • display form based on selection
    Question Jan 17, 2017
    Looking to display a form created using the On-line form web part. I have a field of "FormID" setup on the Page menu item that displays a list of the forms created. I have the On-line form web part within my layout. I tried something like the below in the visibility macro are...

  • Bind field to Metadata title.
    Question Aug 25, 2017
    Hello. I want to setup my page type so when you input some text into custom field, metadata title will get this value too. I know, that i can use "" macro in Metadata title, but it requires to be added whenever i want to create new page, and i want this to be available by de...

  • Pages Analytics error
    Question Aug 31, 2018
    Trying to run some analytics on a few of our pages and getting SQL errors when I go to Pages - Analytics - Reports It's throwing invalid SQL syntax errors so I dug into what SQL statements are being executed. It's not putting in the field names in the statement for some reason...

  • Data filtering using date parameter from Query String
    Question Jan 18, 2016
    I am working on one project where I have simple custom table data list webpart. I need to filter this data using query string where date is submitted. e.g: domain.com?date=2015-01-23. I need where condition macro with the following logic. If date parameter is passed than filte...

  • Get Document using page url
    Question May 13, 2019
    I have a url selector as a field in a page type. need to display the document name with that field url in the page transformation possible?

  • Kentico 8.2 k# Macro Optimization Question
    Question Jun 9, 2015
    All 4 of the following k# macros return the same thing: 1. `` 2. `` 3. `` 4. `` Please tell me which one is optimal and why. Thanks!

  •   ... 51 52 53 54 55 56 57 58 59 60 ...