• RE:Accessing Custom Settings in Macros
    Forum Post Jul 10, 2012
    You can create a custom macro method with something like this in it public string GetSiteSetting(string settingKey) { return SettingsKeyProvider.GetStringValue(CMSContext.CurrentSiteName + "." + settingKey) } I don't know if there are any built in macro methods for this, ...

  • RE:Macro expressions in CMS Desk > Forms > Notification e-mail/Autoresponder
    Forum Post Jul 27, 2012
    Brilliant! That's worked a treat. Thanks, Nicolas. Matt

  • RE:Querystring macros within K# macro expression
    Forum Post Jul 27, 2012
    Moments after posting that question I tried one more thing: {%QueryString["mykey"]|(user)michalv|(hash)8d3ac52942c43e81ce13242518e7a28d6fdcafcda4b1eb0ccaf6a3887dad87e3%} and it worked. Duh.

  • Macro Is Not Resolved In HTML Envelope
    Forum Post Aug 1, 2012
    Hi, I installed the intranet portal template. I found on the home page of the workgroup, the "Html Envelope -> Content After" property of the WorkGroup_LatestNews and the Workgroup_LatestBlogPosts web parts are both using macro: <a href="~/Workgroups/{%communitycontext.curre...

  • RE:Rewrite meta description using macro
    Forum Post Sep 26, 2012
    (sorry, using 6.0.47, and Description is an editable field on the document type)

  • Detecting if a translation exists
    Forum Post Oct 2, 2012
    Just wondering if there's any way (macro or something) to tell if an alternative language version exists for a specific document? Thanks.

  • RE:Detecting if a translation exists
    Forum Post Oct 2, 2012
    Hello, Of course, here is that macro: {% if (CurrentDocument.CultureVersions.Count > 1) { return "alternative tranlation exists"; } else { return "no alternative tranlation"; } |(user)michalv|(hash)aaa8f7d76cbdd8cff5e3b573e760b8a1d658f1b34ee0b3819826fbe194157...

  • RE:Documents[] Macro
    Forum Post Oct 22, 2012
    Hey, sorry if I wasn't clear. I'm talking particularly about 'Documents' macro. As long as I know it takes two parameters - string and number. String should be a nodealiaspath so that you can retrieve particular node. I assumed that number would be a nodeid, but it looks like ...

  • RE:Formatting the Date in Form Confirmation Email
    Forum Post Oct 29, 2012
    How do I pass data like this $$value:FormInserted$$ into a macro?

  • RE:Where condition for repeater.
    Forum Post Dec 13, 2012
    Hello, If you are using version 7 then your post is in wrong section, however it actually doesn't change the macro much. You can use the same macro as for version 6 (the one I have mentioned) or you can skip those return parts and split the macro to as many parts as many if...

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