Skip to main content

All Questions

Tagged with
1 vote
1 answer
182 views

Kentico macro to hide widget zone / web part zone if it contains no web parts

My widget zone (a webpartzone) has before/after HTML to fit it into the layout of the page. However, if editors choose not to include any web parts, then I would like to set the zone's visible field ...
Rob M's user avatar
  • 301
0 votes
4 answers
274 views

Macro Issue After Upgrade kentico V11 --> V12

I've a question about the upgrade of Kentico V11 --> V12. After the correct migration, I got these errors messages (20 times). When I'll check the website, all design are blank. I just have the menu ...
jayrko's user avatar
  • 11
0 votes
2 answers
186 views

How do resolve macro from preview mode inside Kentico CMS

I need to show a setting key from a Text Editable widget, it works fine in preview mode. But inside CMS it just show macro code. Is there any way to run macro in preview mode both in CMS and live site?...
Ryan Nguyen's user avatar
0 votes
1 answer
107 views

Kentico - Couldn't get DocumentPageTemplateID with node inherit temlate from parent

I'm using macro to get DocumentPageTemplateID inside master page, it work fine in parent template that using a page template directly, but i always got zero with children page that inheriting ...
Ryan Nguyen's user avatar
0 votes
2 answers
868 views

Using List<Classname> in Macros in Kentico E-mail Template

I have a list of class object called Notifications public class Notifications { public string Name { get; set; } } There is a function that just returns List of Notifications. I ...
AhmadMM's user avatar
  • 369
1 vote
1 answer
866 views

How to make field visibility in Kentico forms work based on two conditions

I am trying to make field visibility in my online form show up based on two criteria. I have a check box with 4 items and I want the next field to show up if either field one or field one and two are ...
Cal L's user avatar
  • 13
1 vote
1 answer
72 views

Parse ClassFormDefinition for a Custom Page Type Field's Values

I want to populate a dropdown in my webpart from a custom page type field's values. so for e.g I have a custom pagetype my.pagetype which has a field called myfield and has value like 1,2,3. How Do ...
K99's user avatar
  • 11
0 votes
1 answer
287 views

how to resign a single macro

I'm new to Kentico and I'm testing out CI and staging. I was messing around with a macro identities and I think I broke something. I since removed the macro Identity and reset the administrator user (...
Ruben Verschueren's user avatar
0 votes
1 answer
437 views

Kentico Email Widget using custom contact fields

I'm creating an email template using Kentico's email marketing module. In which I have an email widget that retrieves and fills in holiday detail parameters based on some custom contact field values ...
Hooky17's user avatar
  • 47
0 votes
1 answer
443 views

Get value from Pages data type in page types in Kentico

I have a Pages data type as one of the page type fields. But when I try to access it's value using the Macro like {% JoinPageLink %}, I don't get any values (empty). I can access rest of the fields ...
Ruchira's user avatar
  • 953
0 votes
1 answer
486 views

Macro is working but keeps getting RESOLVEDATAMACRO errors

We are getting tons of MACRORESOLVER error on one of our pages and I was able to pinpoint where it is coming from. We have a macro in a static html web part like the code below and I can't figure out ...
masterlopau's user avatar
0 votes
1 answer
245 views

Kentico 10 Macro List of PageType

I am looking for a solution to display the list of pages corresponding to a defined pagetype. I have the solution below in ASCX but I am looking for the correspondence in macro for Kentico 10. This ...
David G's user avatar
0 votes
2 answers
161 views

Kentico 9 - Data cache Macro

I'm doing the field validation on the custom table. This is the macro on the validation field: {% foreach (i IN CMSContext.Current.GlobalObjects.CustomTables["customtable"].Items.ItemsAsFields....
YRuth's user avatar
  • 1
0 votes
1 answer
529 views

Kentico Get Current URL for Page Type Field/Dropdown/Component

I'm trying to create a dynamic page type field, it should able to access correct "Settings" folder to capture the Data Item based on the root (Finance or Procurement): Let's say the page type being ...
Jeff Tung's user avatar
1 vote
1 answer
632 views

use macro if condition in email notification

I am using a macro for if condition to check if a field is null or not, in a form email notification. I tried this one: {% if(City != string.Empty) { $$value:City$$ } #%} It did not work, and I am ...
Vicky's user avatar
  • 358

15 30 50 per page