Got bored, decided to make a very simple landing page generator that could be easily modified and added onto. Thought maybe some folks who just wanted a quick and easy to use setup might appreciate this. And could also be handy for anyone setting up multiple pages with the same design but different text/link.
The benefits?
- Doesn't require a database connection.
- Runs off a single config.php file by default
- Ability to create custom configurations for a theme by simply droping a new config.php file into the theme folder (otherwise it uses your default values)
- Uses the smarty template engine, so its easy to create themes without messing with the code. (basically mockup html, and put the {$variables} where they need to go)
- Very lightweight and fast.
- Default template is 100% W3C Xhtml Valid. A good starting point for customizing your own theme.
- It's free to use.
What's not so hot about it?
- You still gota open a php file up in a text editor.
- The default theme while clean... kinda sucks.
- No automatic form support at this time (though a template could be made with a form, and a custom config.php file within that folder could define those values)
Built in variables:
Caption, Tagline, Blurb heading, Blurb 1 and 2 (paragraphs), testimonials, and an exit url (ie: your affiliate link).
Demo Url of the default theme provided : Your Default Caption
Download link : http://www.kblinker.com/dist/kblp.zip
Installation instruction:
- Unpack zip file.
- Open up config.php in a text editor (notepad, textwrangler, etc, not Word or wordpad) and configure the settings/text as you need
- Upload content of folder to a folder or domain's root (ie: public_html)
- Make sure /tengine/cache/ and /tengine/template_c/ are writable (ie: chmod 777)
Usage :
The way it is setup can be used in two ways.
You can either use it without passing anything to it at all, in which case it'll always load the theme in the default folder (or whatever folder you hard coded in the config.php file)
Or
You can pass it a page variable such as http://www.yourdomain.com/?page=theme_name to load a different theme/setup. you can also use mod_rewrite to instead have /_theme_name/ or a subdomain pass the variable.
Any theme folder without a config.php file within it will simply use the master configuration at the root of the script. Otherwise copy the section mentioned inside of config.php into a new config.php and drop that into a specific theme folder under /themes/ to create it's own settings. (handy if you want to have several different landing pages with different texts and links, along with different designs).
Paypal donations to sales@karlblessing.com gets you additional support and installation assistance (mod_rewrite assistance also availble if server supports it).
Smarty Documentation for avid coders/designers that might download this : Smarty : Documentation
Inquire about having some of your existing layouts with similar setups converted for use with this script.
I may create some other themes to drop-in later if I get some time.
The benefits?
- Doesn't require a database connection.
- Runs off a single config.php file by default
- Ability to create custom configurations for a theme by simply droping a new config.php file into the theme folder (otherwise it uses your default values)
- Uses the smarty template engine, so its easy to create themes without messing with the code. (basically mockup html, and put the {$variables} where they need to go)
- Very lightweight and fast.
- Default template is 100% W3C Xhtml Valid. A good starting point for customizing your own theme.
- It's free to use.
What's not so hot about it?
- You still gota open a php file up in a text editor.
- The default theme while clean... kinda sucks.
- No automatic form support at this time (though a template could be made with a form, and a custom config.php file within that folder could define those values)
Built in variables:
Caption, Tagline, Blurb heading, Blurb 1 and 2 (paragraphs), testimonials, and an exit url (ie: your affiliate link).
Demo Url of the default theme provided : Your Default Caption
Download link : http://www.kblinker.com/dist/kblp.zip
Installation instruction:
- Unpack zip file.
- Open up config.php in a text editor (notepad, textwrangler, etc, not Word or wordpad) and configure the settings/text as you need
- Upload content of folder to a folder or domain's root (ie: public_html)
- Make sure /tengine/cache/ and /tengine/template_c/ are writable (ie: chmod 777)
Usage :
The way it is setup can be used in two ways.
You can either use it without passing anything to it at all, in which case it'll always load the theme in the default folder (or whatever folder you hard coded in the config.php file)
Or
You can pass it a page variable such as http://www.yourdomain.com/?page=theme_name to load a different theme/setup. you can also use mod_rewrite to instead have /_theme_name/ or a subdomain pass the variable.
Any theme folder without a config.php file within it will simply use the master configuration at the root of the script. Otherwise copy the section mentioned inside of config.php into a new config.php and drop that into a specific theme folder under /themes/ to create it's own settings. (handy if you want to have several different landing pages with different texts and links, along with different designs).
Paypal donations to sales@karlblessing.com gets you additional support and installation assistance (mod_rewrite assistance also availble if server supports it).
Smarty Documentation for avid coders/designers that might download this : Smarty : Documentation
Inquire about having some of your existing layouts with similar setups converted for use with this script.
I may create some other themes to drop-in later if I get some time.