kentico_michal
-
1/29/2012 4:21:48 AM
RE:can i use a macro in a custom form layout?
Hello,
Regrettably, only localization macros are resolved in the custom form definition. To add a custom link you will need to customize the page that generates the Form tab which is located here: ~\CMSModules\Content\CMSDesk\Edit\Edit.aspx.cs and add a new link manually. Moreover, the current NodeID is stored in the Url parameter and it can be accessed using this code:
int nodeId = QueryHelper.GetInteger("nodeid", 0);
Best regards, Michal Legen
|