Configuration Settings
The
config
folder in the root of the tenant folder contains many important files related to basic functionality of the site.
config.xml
Config.xml is the most used file in the folder and contains several useful parameters.
The basic structure will of the file will start with
Config
tags containing the
Title
of the file and nested
Description
tags with a simple description.
<Config Title="designCraft Code">
<Description>designCraft Code main website</Description>
. . .
</Config>
Domain Tags
TODO
<Domain Name="designcraft.io" Use="Production" Certificate="true" />
<Domain Name="www.designcraft.io" Use="Production" Certificate="true" />
<Domain Name="l-dcc.designcraftadvertising.com" Use="Local" Certificate="false" />
<Domain Name="dcc.designcraftadvertising.com" Use="Production" Certificate="false" />
Package Tags
TODO
<Packages>
<Package Name="dc/dcTest" />
<Package Name="dc/dcWeb" />
</Packages>
Web Tags
TODO
<Web HtmlMode="Dynamic" IndexUrl="http://designcraft.io/" NotFoundPath="/" SiteImage="/imgs/share-image.jpg" SolidIcons="true">
<Route Name="www.designcraft.io" RedirectName="designcraft.io" ForceTls="True" />
<Route Name="designcraft.io" ForceTls="True" />
</Web>
Variable Tags
TODO
<Variables>
<Var Name="SiteOwner" Value="designCraft Advertising" />
</Variables>
Badge Tags
Thread Tags
Catalog Tags
Social Media Tags
TODO
<Catalog Id="Facebook-Both">
<Settings Url="https://www.facebook.com/accountpage/" SignInAppId="test-123" />
</Catalog>
<Catalog Id="Instagram-Both">
<Settings Url="https://www.instagram.com/accountpage/" />
</Catalog>
<Catalog Id="Twitter-Both">
<Settings Url="https://twitter.com/accountpage" />
</Catalog>
<Catalog Id="Pinterest-Both">
<Settings Url="https://www.pinterest.com/accountpage/" />
</Catalog>
Tracking Tags
These tags provide an easy way to add in various tracking codes for third parties, noticeably Google and Facebook.
Google Ads require additional setups for conversions to properly register; see Google Ad Guide for more information.
<Catalog Id="Google-Both">
<Settings TrackingCode="G-XXXXXXXXXX;AW-XXXXXXXXXX" />
</Catalog>
<Catalog Id="Facebook-Both">
<Settings PixelId="XXXXXXXXXXXXXXX" />
</Catalog>
Emails
TODO
<Catalog Id="Email-Send-Both">
<Settings
Method="Smtp"
DefaultFrom="Webmaster <andy@designcraftadvertising.com>"
SkipToAddress="@awww.com"
SmtpHost="email-smtp.us-east-1.amazonaws.com"
SmtpPort="587"
SmtpAuth="True"
SmtpDebug="False"
SmtpUsername="AKIAISTJG4J5WGLVXW5A"
SmtpPassword="bdb24962e0264460526ed50621296f3d678a565e842e84c4b7fab142648f28cc0c9e9bc05458b7804b2180bf5af87e535ea0cbe16d73ceb14d2d41974a4de5e9"
Topic="Outbox"
/>
</Catalog>
Managed Forms
shared.xml
dictionary.xml (optional)
main.js
Please see main.js for more info on the main.js file