Skip to content

Commit

Permalink
Merge pull request #2 from DNN-Connect/develop
Browse files Browse the repository at this point in the history
Merge: Added icon to module package
  • Loading branch information
raphael-m committed Mar 1, 2018
2 parents 3929cc1 + 495d571 commit 0d0503b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Connect.Dnn.Koi/BuildScripts/ModulePackage.targets
Expand Up @@ -66,11 +66,16 @@
<Output TaskParameter="Include" ItemName="SqlDataProviderFiles" />
</CreateItem>

<CreateItem Include="icon.png">
<Output TaskParameter="Include" ItemName="PackageModuleIcon" />
</CreateItem>

<Copy SourceFiles="$(MSBuildDnnBinPath)\$(AssemblyName).dll" DestinationFolder="$(MSBuildProjectDirectory)\Package\bin"/>
<Copy SourceFiles="$(MSBuildDnnBinPath)\Connect.Koi.dll" DestinationFolder="$(MSBuildProjectDirectory)\Package\bin"/>
<Copy SourceFiles="@(SqlDataProviderFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package\%(RecursiveDir)" />
<Copy SourceFiles="@(PackageManifestFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" />
<Copy SourceFiles="@(PackageTxtFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" />
<Copy SourceFiles="@(PackageModuleIcon)" DestinationFolder="$(MSBuildProjectDirectory)\Package" />


<!-- create the INSTALL RESOURCES.ZIP file -->
Expand Down
11 changes: 10 additions & 1 deletion Connect.Dnn.Koi/Connect_Dnn_Koi.dnn
Expand Up @@ -3,7 +3,7 @@
<package name="Connect_Dnn_Koi" type="Library" version="01.00.00">
<friendlyName>DnnConnect Koi</friendlyName>
<description>Koi</description>
<iconFile>~/Images/icon_extensions_32px.png</iconFile>
<iconFile>icon.png</iconFile>
<owner>
<name>dnn-connect.org</name>
<organization>dnn-connect.org</organization>
Expand Down Expand Up @@ -38,6 +38,15 @@
</assembly>
</assemblies>
</component>

<component type="File">
<files>
<basePath>DesktopModules/Connect_Dnn_Koi</basePath>
<file>
<name>icon.png</name>
</file>
</files>
</component>
</components>
</package>
</packages>
Expand Down
Binary file added Connect.Dnn.Koi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@

Koi is a solution for CMS components to dynamically adjust their output to the CSS-Framework of the current page. In other words, a component can ask the page "what CSS framwork are you using?" and vary the output accordingly.

It currently has an implementation for [DNN/DotNetNuke](https://github.com/dnnsoftware/Dnn.Platform) - see [wiki](https://github.com/DNN-Connect/connect.koi/wiki), and we would appreciate implementations for [Umbraco](https://github.com/umbraco/Umbraco-CMS), [NopCommerce](https://github.com/nopSolutions/nopCommerce), [Orchard](https://github.com/OrchardCMS/Orchard), [OrchardCore](https://github.com/OrchardCMS/OrchardCore) and other .net platforms.
It currently has an implementation for [DNN/DotNetNuke 7 - 9](https://github.com/dnnsoftware/Dnn.Platform) - see [wiki](https://github.com/DNN-Connect/connect.koi/wiki), and we would appreciate implementations for [Umbraco](https://github.com/umbraco/Umbraco-CMS), [NopCommerce](https://github.com/nopSolutions/nopCommerce), [Orchard](https://github.com/OrchardCMS/Orchard), [OrchardCore](https://github.com/OrchardCMS/OrchardCore) and other .net platforms.

## How to install & use

Expand Down

0 comments on commit 0d0503b

Please sign in to comment.