• RE:{%nodealiaspath%}
    Forum Post Jul 29, 2009
    Hi, could you please provide a link to your page so we can see the problem? I'm not sure why do you pass it as querystring, could you please describe it in more details? You could write us an email if you don't want to show this info here in forums. Anyway, you could wri...

  • RE:Does "CurrentSiteName" macro name exists?
    Forum Post Sep 15, 2009
    Hi Juraj, thank you for your answer. Your tip works fine even if, in the meantime, I implemented a custom macro (I will revert my changes). I already read the document you mentioned (Appendix A - Macro expressions) and I tried anything before posting. According to the f...

  • RE:WHere to put Left Navigation Web Part
    Forum Post Nov 15, 2009
    Hi, I had a similar issue. I was able to resolve it by using a macro to set the visibility atribute of the menu web part that I didn't want to shown on my home page. I left the menu in my master page and set the visbilty with the code below. Check out the Macro Paramiters s...

  • RE:One editable HTML area on more than one template
    Forum Post Mar 11, 2010
    Hello, In this case, you could place the Static HTML web part on master page and then manage its visibility. You can insert a macro into the Visible property of any web part if you click on the black arrow before the check box. You could for example use the custom macro and...

  • RE:Role selector on document type
    Forum Post Apr 13, 2010
    Hello, you can use the way like that. The repeater can be one for a role (then you can use Display to roles property). Otherwise, you can use only one repeater for all the items and add the Where condition like that: {%UserId%} IN (SELECT UserID FROM CMS_UserRole WHE...

  • Macro Resolving in transformation
    Forum Post Sep 20, 2010
    is it possible to resolve macro in transformation The problem i have is that some field in database are dupplicated text in different language. Look at the thing i want to do <td><%# Eval(MyFunctions.ResolveMacro("{$=Title|fr-ca=Title_fr$}"))%></td> I use MyFunctions b...

  • RE:Macro Resolving in transformation
    Forum Post Sep 21, 2010
    Hello, First of all, I am not sure why you use two fields for language localizations. You can use the localization macro (http://devnet.kentico.com/docs/devguide/appendix_a___macro_expressions.htm) in Field caption. Then you can see different titles for different languages ...

  • RE:Limit Downloads to Authenticated Users for Document Attachments
    Forum Post Oct 9, 2010
    Hi, you can use the macro expression (as Boris suggested) in the Attachments webpart properties. If you're using Portal engine and see "Design" tab, you can simply open the properties dialog and put the macro in the "Transformation" property instead of the particular trans...

  • RE:one template - many user controls
    Forum Post Oct 18, 2010
    Hello. If you want to change content of your control only, this can be done in code-behind of given file. You can get name of current page via CMS.CMSHelper.CMSContext.CurrentDocument.DocumentName. You can use macros as well. Except of default macro types (Context value, Co...

  • RE:datetime use in custom query
    Forum Post Nov 2, 2010
    Hi, 1. You can replace getDate() method with a custom macro that returns requested date. How to write and use the custom macro is described here: http://devnet.kentico.com/docs/devguide/appendix_a___macro_expressions.htm 2. If you want set current datetime by default, ...

  •   ... 71 72 73 74 75 76 77 78 79 80 ...