• RE:custom macro parameters
    Forum Post Oct 20, 2011
    I just did that myself. Works beautifully. Thanks!

  • RE:Page Title Prefix
    Forum Post Mar 29, 2012
    Use localization macro: {$=Default language|en-CA=English language$}

  • RE:CurrentDocument macro autocomplete
    Forum Post Apr 12, 2012
    Hello, Yes, that is right. When you write a macro, you are in macro editor or in some web part field or in some other field etc., but not on the current document, so the current document cotext is missing there, whilst when you are pointing to the RootDocument, then the mac...


  • RE:Escape html in macro email templates
    Forum Post Nov 7, 2012
    Thanks, the first suggestion there works, as follows: {% foreach(item in users_active) { ResolveMacros("\r\n{%item%\} <br/>\r\n") } |(encode)false|(user)michalv|(hash)dfb0bd24840c85d7dac928c1b200e52349a84f24b5172d5a31788e9fb2522c93%}

  • RE:How to localize webparts text setup?
    Forum Post Nov 28, 2012
    Thank you! this macro works perfectly!

  • RE:Help with path macro
    Forum Post Nov 28, 2012
    {% TreeProvider tree = new TreeProvider(CMSContext.CurrentUser); DataSet documents = tree.SelectNodes(CMSContext.CurrentSiteName, "./%", "en-us", false, "CMS.MenuItem"); if (DataHelper.DataSourceIsEmpty(documents)) {"../%"} else {"./%"} |(user)michalv|(hash)ea187c5c74f6ce43f...

  • RE:News Repeater Template Issue
    Forum Post Dec 18, 2012
    Wouldn't a path macro like /{0}/{1}/% work?

  • RE:Get SiteID for insert query
    Forum Post Dec 19, 2012
    Hello, You are welcome. You can practically use any context macro which is listed in our macro editor. To find out how to open a macro editor please read the Entering macros section from following documentation: Macros Best regards, Jan Hermann

  • RE:Macro's
    Forum Post Jan 31, 2013
    Solved. If anyone happens to be interested, i used: {% if (QueryString.GetValue("Sort")==null) {return "DocumentName ASC";} else {return QueryString.GetValue("Sort");} |(user)michalv|(hash)0ec11238a99b85d8b25e1bbe1baef3b532699c4b3b4057a0303e5fe550672be7%}

  •   ... 31 32 33 34 35 36 37 38 39 40 ...