docs.rocket-cds.org
  • All
  • AppThemes
  • Integration
  • RazorTokens
  • RocketContent
  • RocketDirectory
  • RocketForms
  • SimplisityJS
  • Development
  • All
  • AppThemes
  • Integration
  • RazorTokens
  • RocketContent
  • RocketDirectory
  • RocketForms
  • SimplisityJS
  • Development
arrow_back  Back

Base Razor Tokens (DNNRocket)

##### @AddProcessDataResx >@AddProcessDataResx(AppThemeLimpet appTheme, bool includeAPIresx = false) ##### @ButtonIcon >@ButtonIcon(ButtonTypes buttontype, String lang = "") ##### @ButtonIconText >@ButtonIconText(ButtonTypes buttontype, String lang = "") ##### @ButtonText >@ButtonText(ButtonTypes buttontype, String lang = "") ##### @ButtonTextIcon >@ButtonTextIcon(ButtonTypes buttontype, String lang = "") ##### @CheckBoxRowECOMode *Creates a checkbox for ECOMode in the settings of a module.* >@CheckBoxRowECOMode(SimplisityInfo rowData, bool defaultValue = true) ##### @CKEditor *Display richText CKEditor for eding NOTE: Data is sent back tothe server via a temp field. This is populated by change event on the CKEDITOR.* >@CKEditor(SimplisityInfo info, string xpath, string scriptFileName = "scriptClassic.html", bool localized = false, int row = 0, string listname = "", string langauge = "", bool coded = false) ##### @CKEditor4 >@CKEditor4(SimplisityInfo info, string xpath, bool localized = false, int row = 0, string listname = "", string langauge = "", bool coded = false, string filename = "ckeditor4startup1.js") ##### @DataSourceList >@DataSourceList(SimplisityInfo info, int systemkey, string xpath, string attributes = "", bool allowEmpty = true, bool localized = false) ##### @DisplayEngineFlag >@DisplayEngineFlag(string engineUrl, string cultureCode, string classvalues = "") ##### @DisplayFlag >@DisplayFlag(string cultureCode, string classvalues = "") ##### @DropDownCountryCodeList >@DropDownCountryCodeList(SimplisityInfo info, String xpath, String attributes = "", String defaultValue = "", bool localized = false, int row = 0, string listname = "") ##### @DropDownCultureCodeList >@DropDownCultureCodeList(SimplisityInfo info, String xpath, String attributes = "", String defaultValue = "", bool localized = false, int row = 0, string listname = "") ##### @DropDownCurrencyList >@DropDownCurrencyList(SimplisityInfo info, String xpath, String attributes = "", String defaultValue = "", bool localized = false, int row = 0, string listname = "") ##### @DropDownLanguageList >@DropDownLanguageList(SimplisityInfo info, String xpath, String attributes = "", String defaultValue = "", bool localized = false, int row = 0, string listname = "") ##### @DropDownSystemKeyList >@DropDownSystemKeyList(SimplisityInfo info, String xpath, String attributes = "", String defaultValue = "", bool localized = false, int row = 0, string listname = "") ##### @EditFlag >@EditFlag(SessionParams sessionParams, string classvalues = "") ##### @EditorQuill >@EditorQuill(SimplisityInfo info, string xpath, string attributes, string quillconfig = "", bool localized = false, int row = 0, string listname = "", string langauge = "") ##### @GetTabUrlByGuid >@GetTabUrlByGuid(SimplisityInfo info, String xpath) ##### @GetTabUrlByGuid >@GetTabUrlByGuid(String tabguid) ##### @GetTreeTabList >@GetTreeTabList(int portalId, List<int> selectedTabIdList, string treeviewId, string lang = "", string attributes = "", bool showAllTabs = false) ##### @ImageUrl *Display Thumbnail Image - DEFAULT RULE: PNG will always output as PNG all other supported image formats will output as WEBP. note: The default rule can be overwritten is the "imgtype" is passed. default rule set by FMC on 9/1/2024 - IMPORTANT: If you need to delete the image file you MUST remove the cache first. The cache holds a link to the locked image file and must be disposed. use: DNNrocketUtils.ClearThumbnailLock();* >@ImageUrl(string engineUrl, string imgRelPath, int width, int height, string imgType, bool cropCenter) ##### @ImageUrl >@ImageUrl(string url, int width = 0, int height = 0) ##### @ImageUrl >@ImageUrl(string url, int width = 0, int height = 0, string imgType = "") ##### @ImageUrl >@ImageUrl(string url, int width = 0, int height = 0, string imgType = "", bool cropCenter = true) ##### @InjectHiddenFieldData *Add all genxml/hidden/* fields to the template.* >@InjectHiddenFieldData(SimplisityInfo sInfo) ##### @LinkInternalUrl >@LinkInternalUrl(int portalid, int tabid, string cultureCode, PortalSettings portalSettings = null, string[] extraparams = null) ##### @LinkPageURL >@LinkPageURL(SimplisityInfo info, string xpath, bool openInNewWindow = true, string text = "", string attributes = "") ##### @LinkURL >@LinkURL(SimplisityInfo info, string xpath, bool openInNewWindow = true, string text = "", string attributes = "") ##### @ModSelectList >@ModSelectList(SimplisityInfo info, String xpath, int portalId, String attributes = "", bool addEmpty = true ) ##### @RenderDocumentSelect >@RenderDocumentSelect(int portalId, int moduleid, string systemKey, bool singleselect = true, bool autoreturn = false) ##### @RenderDocumentSelect >@RenderDocumentSelect(ModuleParams moduleParams, bool singleselect = true, bool autoreturn = false) ##### @RenderDocumentSelect >@RenderDocumentSelect(string systemKey, string docFolderRel, bool singleselect = true, bool autoreturn = false) ##### @RenderImageSelect >@RenderImageSelect(int portalId, int moduleid, string systemKey, bool singleselect = true, bool autoreturn = false) ##### @RenderImageSelect >@RenderImageSelect(ModuleParams moduleParams, bool singleselect = true, bool autoreturn = false) ##### @RenderImageSelect >@RenderImageSelect(string systemKey, string imageFolderRel, bool singleselect = true, bool autoreturn = false) ##### @RenderLanguageSelector >@RenderLanguageSelector(string scmd, AppThemeSystemLimpet appThemeSystem, SimplisityRazor model) ##### @RenderLanguageSelector >@RenderLanguageSelector(string scmd, Dictionary<string,string> sfieldDict, AppThemeSystemLimpet appThemeSystem, SimplisityRazor model) ##### @RenderPlugin >@RenderPlugin(string interfaceKey, string cmd, SimplisityRazor model) ##### @RenderRemoteLanguageSelector >@RenderRemoteLanguageSelector(string scmd, string sfields, AppThemeDNNrocketLimpet appThemeDNNrocket, SimplisityRazor model) ##### @RenderRemoteLanguageSelector >@RenderRemoteLanguageSelector(string scmd, string sfields, AppThemeSystemLimpet appThemeSystem, SimplisityRazor model) ##### @RenderTemplate >@RenderTemplate(string razorTemplate, SimplisityRazor model, bool debugMode = false) ##### @RenderTemplate >@RenderTemplate(string razorTemplateName, AppThemeDNNrocketLimpet appThemeSystem, SimplisityRazor model, bool cacheOff = false) ##### @RenderTemplate >@RenderTemplate(string razorTemplateName, AppThemeLimpet appTheme, SimplisityRazor model, bool cacheOff = false) ##### @RenderTemplate >@RenderTemplate(string razorTemplateName, AppThemeRocketApiLimpet appThemeSystem, SimplisityRazor model, bool cacheOff = false) ##### @RenderTemplate >@RenderTemplate(string razorTemplateName, AppThemeSystemLimpet appThemeSystem, SimplisityRazor model, bool cacheOff = false) ##### @RenderTemplate >@RenderTemplate(string razorTemplateName, string moduleRef, AppThemeLimpet appTheme, SimplisityRazor model, bool cacheOff = false) ##### @RenderXml >@RenderXml(SimplisityInfo info, string xmlidx = "") ##### @ResourceCSV *Output CSV list of resx values. <br/> @ResourceCSV("Resx File Name", "csv list of resx file keys") Example:<br/> @ResourceCSV("RocketIntra", "test1,test2,test3")* >@ResourceCSV(String resourceFileKey, string keyListCSV, string lang = "", string resourceExtension = "Text") ##### @ResourceKey >@ResourceKey(String resourceFileKey, String lang = "", String resourceExtension = "Text") ##### @ResourceKeyJS >@ResourceKeyJS(String resourceFileKey, String lang = "", String resourceExtension = "Text") ##### @ResourceKeyMod >@ResourceKeyMod(String moduleRef, String resourceFileKey, String lang = "", String resourceExtension = "Text") ##### @TabSelectListOnTabId >@TabSelectListOnTabId(SimplisityInfo info, String xpath, String attributes = "", Boolean allowEmpty = true, bool localized = false, int row = 0, string listname = "", bool showAllTabs = false) ##### @Translate >@Translate(SimplisityInfo info, string xpath, bool active = true, int row = 0) ##### @TranslationKeyUp >@TranslationKeyUp(string fieldId, bool active = true, int row = 0) ##### @TranslationLock >@TranslationLock(SimplisityInfo info, string xpath, bool active = true, int row = 0)
arrow_back  Back
Copyright 2025 by Nevoweb   |   Mentions Légales   |   Login