SkinObject
Skin object for rendering a module
RenderModule SkinObject
<%@ Register TagPrefix="oc" TagName="RenderModule" Src="~/DesktopModules/OpenContent/RenderModule.ascx" %>
<oc:RenderModule ModuleId="622" TabId="174" runat="server" ></oc:RenderModule>
<oc:RenderModule ModuleTitle="OpenContent Edit Skin Object" runat="server" ></oc:RenderModule>
[OpenContentModule]
Remark : it is by default hidden on admin, host pages and also on the page where the source module exist.
SkinObject parameters
Parameter | Description | Example | Default |
---|---|---|---|
ModuleId | Module Id from source module | ModuleId="622" | |
TabId | Tab Id from the page on whitch the source module exist | TabId="174" | |
ModuleTitle | Title of the module to use (case you don't have to specify Tabid and Moduleid) | ModuleTitle="Footer content" | |
HideOnTabIds | Hide skin object on some pages | HideOnTabIds="123,456,465" | Default equals TabId (skinobject is hidden from page on which module exist) |
ShowOnAdminTabs | Hide skin object on admin pages | ShowOnAdminTabs="true" | false |
ShowOnHostTabs | Hide skin object on host pages | ShowOnHostTabs="true" | false |
Template | Template of template folder | Template="Portals/0/OpenContent/Templates/HandlebarsStarter/template.hbs" |
Examples: https://github.com/40fingers/OpenContent-Demo-Templates/tree/main/10.00-OC-Skin-Object
Updated about 1 year ago