• Macro to get Site Logon Page URL
    Question Apr 7, 2016
    I'm looking for a macro expression to get me the configured URL in the following settings: **Settings > Security & Membership > Website Logon Page URL** Any ideas? Ideally I'd love to have a reference I can search through to find objects in K# that are likely to exist but I...

  • Hash MD5 with Macro
    Question Apr 14, 2016
    Hi All, I need to pass a link url from a Kentico page (ver.6) to an external website form passing some parameter and a hash code adding a private string to secure it. Is possible to do it with Macros like that? href="http://www.EXTERNALWEBSITE.XX/PAGE.php?UserID=&FullName=&Em...

  • Does "CurrentSiteName" macro name exists?
    Forum Post Sep 15, 2009
    Hi everybody, I'm trying to use the following macro expression: {%CurrentSiteName%} to get the current site code name (to be used within the href attribute of link tag). The macro is resolved to an empty string (it isn't resolved at all, I think). Does exists such a...

  • RE:get field from parent document in repeater where condition
    Forum Post Jun 16, 2010
    Hi, in the 3.x versions, the context macro expression for parent document cannot be used. You can use your custom function and define a custom macro, like described in DevGuide - Appendix A / Custom macros. This custom macro should work fine in the WHERE condition. In c...

  • RE:webpart where condition is filtering returned macro text?
    Forum Post Apr 24, 2011
    Thinking about this more, you are clearly implementing some SQL injection protection. I was doing the injection check in my custom macro too. I guess that I can run my custom macro as-is right now and then pass the result from my custom macro to a replace macro call something ...

  • RE:Custom Macro
    Forum Post Apr 18, 2012
    Hello, You don't have to register any custom methods into the macro resolver if you want to only implement your own custom macro. The way, how to create your own macro is very similar to one in version 5.x of Kentico CMS and here is an approach how to do that (in Custom mac...

  • RE:Macro expressions not exported properly
    Forum Post Aug 7, 2012
    Hi, It is due to the macro security. The macro is signed with the user's hash and this is different on each environment - therefore you need to re-save it so a new hash code is generated for given macro. Best regards, Juraj Ondrus

  • RE:{%link%} macro
    Forum Post Feb 12, 2013
    Hello, This macro is hardcoded in DLL files, so there is no way for you how to add there the www prefix/subdomain to its output. However you can implement a custom macro which would return appropriate link instead: Appendix A - Macro expressions Best regards, Jan Her...

  • RE:Macro Function List
    Forum Post Apr 9, 2013
    Not sure if that is provided or not but when you're creating a macro you can see the ones that are available in the list. I'd also suggest downloading this macro tester Karol created as it helps considerably when you are attempting to create a macro yourself.

  • RE:Adding a Macro in SQL
    Forum Post Jun 13, 2013
    I believe what you are looking for would beNodeParentNodeID = {% NodeID %} or NodeAliasPath LIKE ' {% NodeAliasPath %}/Featured/%'If you put single quotes in a macro to connect a string, the macro will escape it (for SQL injection reasons). So only put the item in you need in...

  •   ... 21 22 23 24 25 26 27 28 29 30 ...