Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GusBeare committed Jun 26, 2017
2 parents ab537bf + a713b93 commit 07942ed
Show file tree
Hide file tree
Showing 9 changed files with 278 additions and 675 deletions.
2 changes: 1 addition & 1 deletion DNNContactFormModule.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>
</DevelopmentServerVPath>
<IISUrl>http://localhost</IISUrl>
<IISUrl>http://localhost:64258/</IISUrl>
<OverrideIISAppRootUrl>True</OverrideIISAppRootUrl>
<IISAppRootUrl>http://dnndev.me</IISAppRootUrl>
<NTLMAuthentication>False</NTLMAuthentication>
Expand Down
695 changes: 21 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

129 changes: 129 additions & 0 deletions Package/DNNContactFormModule.dnn
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DNNContactFormModule" type="Module" version="01.00.08">
<friendlyName>DNNContactFormModule</friendlyName>
<description>CarawayDesign.com DNNContactFormModule module</description>
<iconFile>images/wilf.jpg</iconFile>
<owner>
<name>CarawayDesign.com</name>
<organization>CarawayDesign.com</organization>
<url>http://www.carawaydesign.com/</url>
<email>gus@carawaydesign.com</email>
</owner>
<license src="License.txt"></license>
<releaseNotes src="ReleaseNotes.txt"></releaseNotes>
<azureCompatible>true</azureCompatible>
<dependencies>
<dependency type="CoreVersion">07.00.02</dependency>
</dependencies>

<components>
<component type="Script">
<scripts>
<basePath>DesktopModules\DNNContactFormModule</basePath>
<script type="Install">
<path>Providers\DataProviders\SqlDataProvider</path>
<name>01.00.08.SqlDataProvider</name>
<version>01.00.08</version>
</script>
<script type="UnInstall">
<path>Providers\DataProviders\SqlDataProvider</path>
<name>Uninstall.SqlDataProvider</name>
<version>00.00.01</version>
</script>
</scripts>
</component>

<component type="ResourceFile">
<resourceFiles>
<basePath>DesktopModules/DNNContactFormModule</basePath>
<resourceFile>
<name>Resources.zip</name>
</resourceFile>
</resourceFiles>
</component>

<component type="Module">
<desktopModule>
<moduleName>DNNContactFormModule</moduleName>
<foldername>DNNContactFormModule</foldername>
<businessControllerClass>gus.Modules.DNNContactFormModule.Components.FeatureController, DNNContactFormModule</businessControllerClass>
<supportedFeatures>
<supportedFeature>IPortable</supportedFeature>
<supportedFeature>ISearchable</supportedFeature>
<supportedFeature>IUpgradeable</supportedFeature>
</supportedFeatures>
<moduleDefinitions>
<moduleDefinition>
<friendlyName>DNNContactFormModule</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>DesktopModules/DNNContactFormModule/View.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle />
<controlType>View</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
<moduleControl>
<controlKey>Edit</controlKey>
<controlSrc>DesktopModules/DNNContactFormModule/Edit.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>Edit Content</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
<supportsPopUps>True</supportsPopUps>
</moduleControl>
<moduleControl>
<controlKey>Settings</controlKey>
<controlSrc>DesktopModules/DNNContactFormModule/Settings.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>DNNContactFormModule Settings</controlTitle>
<controlType>Edit</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
</desktopModule>
<eventMessage>
<processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
<processorCommand>UpgradeModule</processorCommand>
<attributes>
<businessControllerClass>gus.Modules.DNNContactFormModule.Components.FeatureController, DNNContactFormModule</businessControllerClass>
<desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
<upgradeVersionsList>00.00.01</upgradeVersionsList>
</attributes>
</eventMessage>
</component>
<component type="Assembly">
<assemblies>
<assembly>
<name>DNNContactFormModule.dll</name>
<path>bin</path>
</assembly>
<assembly>
<name>Simple.Data.dll</name>
<path>bin</path>
</assembly>
<assembly>
<name>Simple.Data.Ado.dll</name>
<path>bin</path>
</assembly>
<assembly>
<name>Simple.Data.SqlServer.dll</name>
<path>bin</path>
</assembly>
</assemblies>
</component>
</components>
</package>
</packages>
</dotnetnuke>
21 changes: 21 additions & 0 deletions Package/License.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<div class="License">
<h3>License</h3>
<p class="Owner">
CarawayDesign.com <a href=http://www.carawaydesign.com/>http://www.carawaydesign.com/</a></br>
Copyright (c) 2016</br>
by CarawayDesign.com</br>
</p>
<p>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
to permit persons to whom the Software is furnished to do so, subject to the following conditions:
</p>
<p>
The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software.
</p>
<p>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</p>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/************************************************************/
/***** SqlDataProvider *****/
/***** *****/
/***** *****/
/***** Note: To manually execute this script you must *****/
/***** perform a search and replace operation *****/
/***** for {databaseOwner} and {objectQualifier} *****/
/***** *****/
/************************************************************/

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'{databaseOwner}{objectQualifier}ContactUsFormLog') AND type IN (N'U'))
BEGIN
CREATE TABLE {databaseOwner}{objectQualifier}ContactUsFormLog(
[ID] [INT] IDENTITY NOT NULL,
[Name] [NVARCHAR](100) NOT NULL,
[Email] [NVARCHAR](255) NOT NULL,
[Phone] [VARCHAR](100) NOT NULL,
[Comment] [NVARCHAR](255) NOT NULL,
[IPAddress] NVARCHAR(50),
[UserAgent] NVARCHAR(200),
[CreatedDate] [DATETIME2] NOT NULL
)
END
GO
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/************************************************************/
/***** SqlDataProvider *****/
/***** *****/
/***** *****/
/***** Note: To manually execute this script you must *****/
/***** perform a search and replace operation *****/
/***** for {databaseOwner} and {objectQualifier} *****/
/***** *****/
/************************************************************/



/************************************************************/
/***** SqlDataProvider *****/
/************************************************************/
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/************************************************************/
/***** SqlDataProvider *****/
/***** *****/
/***** *****/
/***** Note: To manually execute this script you must *****/
/***** perform a search and replace operation *****/
/***** for {databaseOwner} and {objectQualifier} *****/
/***** *****/
/************************************************************/

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'{databaseOwner}{objectQualifier}ContactUsFormLog') AND type IN (N'U'))
BEGIN
CREATE TABLE {databaseOwner}{objectQualifier}ContactUsFormLog(
[ID] [INT] IDENTITY NOT NULL,
[Name] [NVARCHAR](100) NOT NULL,
[Email] [NVARCHAR](255) NOT NULL,
[Phone] [VARCHAR](100) NOT NULL,
[Comment] [NVARCHAR](255) NOT NULL,
[IPAddress] NVARCHAR(50),
[UserAgent] NVARCHAR(200),
[CreatedDate] [DATETIME2] NOT NULL
)
END
GO
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/************************************************************/
/***** SqlDataProvider *****/
/***** *****/
/***** *****/
/***** Note: To manually execute this script you must *****/
/***** perform a search and replace operation *****/
/***** for {databaseOwner} and {objectQualifier} *****/
/***** *****/
/************************************************************/



/************************************************************/
/***** SqlDataProvider *****/
/************************************************************/
16 changes: 16 additions & 0 deletions Package/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<h3>DNNContactFormModule</h3>
<p class="Contributor">
CarawayDesign.com <br />
<a href="mailto:gus@carawaydesign.com">gus@carawaydesign.com</a><br />
<a href=http://www.carawaydesign.com/>http://www.carawaydesign.com/</a><br />
</p>
<hr/>
<div class="License">
<h3>About the DNNContactFormModule</h3>
<p class="Owner">
<b>Version CHANGEME</b><br /><br />
</p>

<p>Description about version.</p>

</div>

0 comments on commit 07942ed

Please sign in to comment.