diff --git a/content/tutorials/themes/theme-objects/cssexclude/index.md b/content/tutorials/themes/theme-objects/cssexclude/index.md new file mode 100644 index 000000000..fff06fbf3 --- /dev/null +++ b/content/tutorials/themes/theme-objects/cssexclude/index.md @@ -0,0 +1,45 @@ +--- +uid: cssexclude +locale: en +title: CSSEXCLUDE Theme object +dnnversion: 09.02.00 +previous-topic: cssinclude +next-topic: currentdate +related-topics: theme-objects,themes,create-theme +links: +--- + +# CSSEXCLUDE Theme Object Introduction + + Allows you to exclude a Stylesheet (that DNN would normally load) from being loaded + +**Current Version:** 01.00.00 + + +## Include in Theme + +### ASCX +``` html + <%@ Register TagPrefix="dnn" TagName="CssExclude" src="~/Admin/Skins/DnnCssExclude.ascx" %> + +``` + +### HTML Token + [DNNCSSEXCLUDE] + +### HTML Object Token +``` html + +``` + +| Attribute | Description | Default | Posssible Values | DNN Version | +| --- | --- | --- | --- | --- | +| Name | Name of the framework or library to remove | | DnnDefault
Bootstrap

| 01.00.00 | + +## Examples: + +### Don't load Default.css +~~~html + +~~~ + diff --git a/content/tutorials/themes/theme-objects/currentdate/index.md b/content/tutorials/themes/theme-objects/currentdate/index.md index c9775462e..9ce7176bd 100644 --- a/content/tutorials/themes/theme-objects/currentdate/index.md +++ b/content/tutorials/themes/theme-objects/currentdate/index.md @@ -3,7 +3,7 @@ uid: currentdate locale: en title: Current Date Theme object dnnversion: 09.02.00 -previous-topic: cssinclude +previous-topic: cssexclude next-topic: ddrmenu related-topics: theme-objects,themes,create-theme links: @@ -11,7 +11,7 @@ links: # Current Date Theme Object Introduction -Displays the current date + Displays the current date **Current Version:** 01.00.00 @@ -20,19 +20,20 @@ Displays the current date ### ASCX ``` html -<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %> - + <%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %> + ``` ### HTML Token -[CURRENTDATE] + [CURRENTDATE] ### HTML Object Token ``` html - + ``` | Attribute | Description | Default | Posssible Values | DNN Version | | --- | --- | --- | --- | --- | | CssClass | CSS Class of the rendered | SkinObject | A Valid CSS Class | 01.00.00 | -| DateFormat | Format string for the Date text.
If this is left empty the Dat | Date Format of the current language. | A valid (.NET Date Format)[https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings] | 01.00.00 | \ No newline at end of file +| DateFormat | Format string for the Date text.
If this is left empty the Dat | Date Format of the current language. | A valid (.NET Date Format)[https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings] | 01.00.00 | + \ No newline at end of file diff --git a/content/tutorials/themes/theme-objects/index.md b/content/tutorials/themes/theme-objects/index.md index e8174313d..33c23c1b7 100644 --- a/content/tutorials/themes/theme-objects/index.md +++ b/content/tutorials/themes/theme-objects/index.md @@ -120,14 +120,13 @@ The block should be placed in the Theme on the spot you want |ACTIONBUTTON|Displays an action from the **module action menu**.| |[BREADCRUMB](xref:breadcrumb)|Displays the path to the current tab (`>` is the default separator). Example: `PageName1 > PageName2 > PageName3`| |[CSSINCLUDE](xref:cssinclude)|Load Custom Stylesheet for your Theme| +|[CSSEXCLUDE](xref:cssexclude)|Prevents a stylesheet reference from being included in the page.| |CONTROLPANEL|Displays the DNN control panel. If the **CONTROLPANEL** theme object is not used in the theme, then DNN inserts a control panel control at the top of the page.| |[COPYRIGHT](xref:copyright)|Displays the copyright notice for the website.| |[CURRENTDATE](xref:currentdate)|Displays the current date on the server.| |[DDRMENU](xref:ddrmenu-overview)|Displays a menu using the **DDRMenu** control.| -|DNNCSSEXCLUDE|Prevents a stylesheet reference from being included in the page.| -|DNNCSSINCLUDE|Adds a stylesheet reference to the page.| -|DNNJSEXCLUDE|Prevents a JavaScript file reference from being included in the page.| -|DNNJSINCLUDE|Adds a JavaScript file reference to the page.| +|JSEXCLUDE|Prevents a JavaScript file reference from being included in the page.| +|JSINCLUDE|Adds a JavaScript file reference to the page.| |DOTNETNUKE|Displays the copyright notice for DNN.| |HELP|Displays a **Help** link, which sends an email to the website's administrator, using the user's default email client.| |HOSTNAME|Displays the host title linked to the host URL. The host title and host URL are defined on the host settings page.| diff --git a/content/tutorials/toc.md b/content/tutorials/toc.md index a4168338e..be1a3a0be 100644 --- a/content/tutorials/toc.md +++ b/content/tutorials/toc.md @@ -233,6 +233,10 @@ ###[Install Your Theme](xref:install-extension) ##[Theme Objects](xref:theme-objects) ###[Breadcrumb](xref:breadcrumb) +###[CSSINCLUDE](xref:cssinclude) +###[CSSEXINCLUDE](xref:cssexclude) +###[COPYRIGHT](xref:copyright) +###[CURRENTDATE](xref:currentdate) ###[DDRMenu](xref:ddrmenu-overview) ####[Overview](xref:ddrmenu-overview) ####[Reference Guide](xref:ddrmenu-reference-guide)