Vexillia / Domain for Sale

Site Template


A professional site template that can be quickly configured and put up to help sell a domain name.
Created December 31, 2013
Updated December 31, 2013
Author A3 Labs, Inc.
Social Facebook   •   Twitter
E-Mail admin@a3labs.net

Features


PHP & HTML Versions - index.php and index.html are both available for your customization needs. The PHP file is fully scripted, while the HTML version provides a semi-functional shell.

PHP Mailer / Config - Simply edit the "Site-Config.php" file included with the template to get your site off the ground.

Responsive Design - Works in any size via internal liquid design and media queries.

Well Commented HTML - Each section is split by comments and is easy to read and modify.

Domain List Capable - Upload / link to a text list of domains (one per line) to quickly and easily populate additional domains.

Multiple Domain Parameters - Use a single template with multiple names and prices through the use of URL parameters.

reCAPTCHA Integration - Optionally include your reCAPTCHA keys to add SPAM protection to the contact form. Can also be enabled or disabled at will.

8 Colors - Includes 8 different color schemes / background combinations to choose from. Thematic CSS is also split out to make it more modifiable.

Texture Backgrounds - Includes two different types of background images, gradient and textured.

PSD Files Included - Full layered PSD files included for each picture used in the template design.

Google Analytics Support - Optionally fill out the ID code in the "Site-Config.php" file to generate the Google Analytics code in your header.

Cross Browser, IE8+ - Works in multiple browsers, using CSS2 as a base with CSS3 styles to accent. Includes HTML5 Shim and Placeholders.js support.

Section 508 / WCAG 2.0 A - Compliant with standard level government and accessibility standards.

Font Awesome Icons - We used Font Awesome for all of the template icons, it's fully integrated an ready to go in the template.

Installation


1. Unzip downloaded file and proceed to the "Template" directory.
 Modify: Site-Config.php. This sets up domain details, analytics, mailer settings, reCAPTCHA.
 Modify: index.php. Make any additional HTML and content modifications in this file.
 Mailer: Please make sure your server can handle the PHP mail command.
 Upload: Upload a text based list of additional domains (one per line) set the config file.
 Theme: Simply change the header Theme CSS link to any of the following colors:
 Colors: Blue, Gray, Green, Orange, Purple, Red, Tan, or Teal
 Background: Change the class on <body> to the above color of your choice.
2. Upload the contents of the "Template" folder to your server.
3. If not already done, point your domain name at the uploaded files.
4. Install Complete!

Configuration


Basic configuration of the template is quick and easy. More advanced modifications may require some knowledge of HTML, CSS, and PHP to complete.

Here's a quick rundown of the available configuration options:

Site-Config.php


DOMAIN_NAME - Set your primary domain name here. It can be overridden using the URL parameter "name".
Example: http://yourdomain.com/?name=OtherDomains.com

DOMAIN_PRICE - Set your primary domain price here. It can be overridden using the URL parameter "price".
Example: http://yourdomain.com/?price=$100%20USD

DOMAIN_LIST - If you upload a new text based domain list, change that name here. Otherwise, please feel free to use the included sample file "Domain-List.txt" to set any additional domains you might have.

GOOGLE_ANALYTICS_ID - If you have an ID set up through Google's anylitics service for the site, simply enter that ID here and the tmeplate will automatically output the standard JavaScript code in the header.

FORM_EMAIL - The e-mail address to send any message from the contact form to.

CAPTCHA_ENABLED - If true, will attempt to output and use reCAPTCHA protection on the contact form.

CAPTCHA_KEY_PUBLIC - Used to output the code on the page. Required to use reCAPTCHA.

CAPTCHA_KEY_PRIVATE - Used to verify the CAPTCHA code in the mailer script. Required to use reCAPTCHA.

REQUIRED_NAME - If true, will signal vlidation to require the name field in the contact form.

REQUIRED_EMAIL - If true, will signal vlidation to require the e-mail field in the contact form.

REQUIRED_PHONE - If true, will signal vlidation to require the phone number field in the contact form.

REQUIRED_OFFER - If true, will signal vlidation to require the offer / bid field in the contact form.

REQUIRED_MESSAGE - If true, will signal vlidation to require the message field in the contact form.

index.php


Theme - Simply adjust the color in the Theme-Orange.css link in the header to switch color themes. Colors: Blue, Gray, Green, Orange, Purple, Red, Tan, or Teal

Background - Simply adjust the class on the body tag to switch background colors. Switch "Background.css" to "Background-Texture.css" for alternate background images. Colors: Blue, Gray, Green, Orange, Purple, Red, Tan, or Teal

Tabs - We have included three tabs for the basic template, but you can use more or less. Delete or add any you wish and change the <ul> element's class to the appropriate number. Example: "Tabs-3" to "Tabs-2".

Domain Stats - This colorful addition to the page is optional. If you have some basic stats, please feel free to add them in here. Same idea for scripting. If no stats are available, you can delete this section.

Contact Form - The contact form is mainly administered through the configuration PHP file. Modify this section at your own risk.

Additional Domains - Will auto-populate from the "Domain-List.txt" file if available, otherwise, you can adjust it manually using code from the HTML version of the template. Domain listings are simplified for easier handling.

Additional Files


You don't need to modify the other files in the folder, but here's a quick description of what they do.

Site-Mailer.php - Contact form validation and mail script.

Site-Functions.php - General PHP functions used by the mailer and template.

Site-ReCaptcha.php - reCAPTCHA PHP function library.

Support


Having trouble with the template?

Please check out our Support Page.

If you have any feedback or suggestions on improving the theme, please let us know via our Contact Form.

Credits


Font Awesome 4.0.3 - Font icons used in the template.

Placeholders 3.0.0 - Adds placeholder support for forms in pre-HTML5 browsers.

HTML5 Shiv 3.7.0 - Adds HTML5 element support to older browsers.

jQuery 1.10.2 - Popular JavaScript framework.

World Map Image - Used in the creation of the header images.

Change Log


Version 1.0.0

Date12/31/2013
1. Initial Release