• RE:Custom Macro
    Forum Post Apr 18, 2012
    Hello, I think, that it needs to be located within the App_Code direcotry, but could you please write your custom macro directly into the App_Code/Samples/Modules/SampleMacroModule.cs file? Best regards, Jan Hermann

  • RE:Get user IP
    Forum Post Apr 27, 2012
    Hi, You need to create the code in the custom macro - please check out the link in the Jan's post "custom macro" and there you will find out the information, where to put the code :-) Best regards, Juraj Ondrus

  • RE:Blog post repeater
    Forum Post May 28, 2012
    When I i.e. use such macros " BlogPostDate < '{%CurrentDate%}' " there is no problem, and in sql query is noraml date. But if I add BlogPostDate < '{%CurrentDate.AddDays(-1)|(user)michalv|(hash)459532c3d49b4d7b051085cbe778c6d6f51ba28d7dea79991eb2c5ed72449316%}' or macro you sp...

  • RE:Macro in web part property
    Forum Post Jun 25, 2012
    Hello, Or you can just open properties of that web part, click on that small black arrow next to the Visible property and insert your macro there. Best regards, Jan Hermann

  • RE:Date format of macro expressions and safe use in SQL where clause
    Forum Post Jul 7, 2012
    Many thanks for the reply clarifying that. I will definitely make sure that macro dates used in SQL expressions are formatted to match the SQL connection in future! Regards, Lucy

  • Accessing Custom Settings in Macros
    Forum Post Jul 10, 2012
    I've created a custom setting (in Site Manager > Development > Custom settings) called TwitterURL, now I'm looking to pull that in to a static html block with a macro and cannot seem to find any documentation. Any ideas as to how I can access this setting with a macro? T...

  • Querystring macros within K# macro expression
    Forum Post Jul 27, 2012
    Is there a built-in way to access querystring parameter values from within a K# macro expression? I've tried {%{?mykey?}|(user)michalv|(hash)c7caf39716939c85f19f10abd588009435a26bd091310054d7c570fa433f5627%} and {%QueryHelper.GetString("mykey","")|(user)michalv|(hash)4858e7...

  • RE:Macro expressions not exported properly
    Forum Post Aug 6, 2012
    I just went to re-save one macro that wasn't working and the value was this when I went to edit it: DocumentID != {%CurrentDocument.DocumentID |(user)michalv|(hash)4d2873a2ce943207e227d4d84cf664c09899691bba77755318ed3fc59bd48e2f%} I have no idea where there "|(user)dahli...

  • RE:CMSListMenu and Classes
    Forum Post Aug 9, 2012
    Read the description of the web part for some additional information. In short, you can use the macro parameter {%OriginalMenuItemText%} to output the text that the menu control would have output by default (The menucaption, documentname, or resolved macro expression).

  • RE:"currentdocumentparent" in v.6 macros
    Forum Post Aug 31, 2012
    Hello, I've checked the 5.5R2 version however I couldn't get the system to resolve the {%currentdocumentparent%} macro. Are you sure this isn't a custom macro which you've developed by yourself? Best regards, Boris Pocatko

  •   ... 41 42 43 44 45 46 47 48 49 50 ...