Created: 01/15/2011
By: Vic Cherubini (Leftnode Software, Inc.)
Email: support@kwolla.com
Thank you for purchasing the Kwolla Lite Social Network. You're minutes away from launching your own social network! If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!
Installing Kwolla Lite is a cinch! The installation file and database dump is located in the install directory. Open kwolla-lite-install.pdf to follow step-by-step instructions on how to install Kwolla Lite.
Should you have any questions regarding the installation, please contact me on CodeCanyon or email me.
Kwolla Lite is laid out in a very logical manner.
The entire directory structure is very straightforward. Comments regarding what each directory holds are italicized next to each directory.
Because Kwolla Lite is very customizable, you'll spend most of your time in the httpdocs/public/css, httpdocs/public/layout, and View directories. The View directories are under each Controller directory and hold the PHTML for that Controller.
Customizing Kwolla Lite through CSS is simple. Kwolla Lite uses the 960.gs CSS grid framework for layout, the Yahoo YUI3 CSS reset, and the jQuery UI CSS when needed.
The primary file that controls all of the CSS behind Kwolla Lite is named kwolla.css in the httpdocs/public/css directory. It is grouped by the different Controllers with some global CSS rules at the top.
Any images the CSS uses are located in the httpdocs/public/css/image/ directory. This makes it easy to reference each image in the CSS as they are relatively pathed.
Kwolla Lite uses layout files as overall content structures. Each layout file is located in the httpdocs/public/layout directory and are actually PHTML files. There is only one layout now, index.phtml, but you can add additional layouts to customize Kwolla Lite for your needs.
The layout files make use of blocks. Blocks are rendered views that are inserted into the layout file. In Kwolla, all blocks come from the Root controller. This is located in httpdocs/application/Root/Root.php Controller. The method renderLayout()
in the Root_Controller
class renders different Views to the content blocks.
For example, the line that calls $this->render('root/header', 'header');
loads up the "header" View and renders it into a block named 'header'. The "header" View is located in httpdocs/application/Root/View/header.phtml. By opening that file, you'll notice the title tag, CSS, and JavaScript are all set here.
By rendering that View to the 'header' block, that block can be loaded in a future layout. Thus, in the index.phtml layout, the line <?php echo $this->getBlock('header'); ?>
loads up the 'header' block and echo's it to the layout.
Changing the default layout is simple. Open the httpdocs/configure.php file you created during installation and change the key default_layout
in the $config_artisan_router
variable to point to the layout you want to use. Do not include the .phtml extension.
Because Kwolla Lite runs as software on a web server, it needs to be accessible by the server itself. Kwolla Lite has been tested on an Apache server and works great on Apache 2.2 with the mpm-worker module installed. For best results, ensure the files are owned by the same user and group that Apache operates under and have the permissions at 0755.
You can easily do this by going to the directory where all of Kwolla Lite is installed and entering the follow commands into the shell (replace www-data with the user and group Apache runs under):
sudo chown www-data:www-data your-kwolla-lite-site.com -R sudo chmod 755 your-kwolla-lite-site.com -R
This will keep all of the files executable by all users, but only writeable by their owner.
Kwolla Lite comes packed with many features and modules out of the box. Adding your own features is a cinch, but I'll go over the default ones so you get an understanding.
Once again, thank you so much for purchasing the Kwolla Lite Social Network. I wish you much success as you build your own social network. As I said at the beginning, I'd be glad to help you if you have any questions relating to this software. No guarantees, but I'll do my best to assist. If you have a more general question relating to the software on CodeCanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.
- Vic Cherubini