Вход Регистрация
Файл: Form Generator/Documentations/Guide for developers.html
Строк: 276
<?php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<
head lang="en">
    <
meta http-equiv="content-type" content="text/html;charset=utf-8">
    <
title>Form Generator for CodeIgniter Documentation</title>
    <!-- 
Framework CSS -->
    <
link rel="stylesheet" href="assets/blueprint-css/screen.css" type="text/css" media="screen, projection">
    <
link rel="stylesheet" href="assets/blueprint-css/print.css" type="text/css" media="print">
    <!--[if 
lt IE 8]><link rel="stylesheet" href="assets/blueprint-css/ie.css" type="text/css" media="screen, projection"><![endif]-->
    <
link rel="stylesheet" href="assets/blueprint-css/plugins/fancy-type/screen.css" type="text/css" media="screen, projection">
    <
style type="text/css" media="screen">
        
ptablehr, .box margin-bottom:25px; }
        .
box p margin-bottom:10px; }
    </
style>
</
head>


<
body>
    <
div class="container">
    
            <
h3 class="center alt">&ldquo;Form Generator for CodeIgniter&rdquoDocumentation for <strong>developers</strongby &ldquo;Adrien Vinet&rdquov1.0</h3>
    
        <
hr>
        
        <
h1 class="center">&ldquo;Form Generator for CodeIgniter&rdquo;</h1>
        
        <
div class="borderTop">
            <
div class="span-6 colborder info prepend-1">
                <
class="prepend-top">
                    <
strong>
                    
Created13/02/2013<br>
                    
ByAdrien Vinet<br>
                    
Email: <a href="mailto:adrien@devtoo.fr">adrien@devtoo.fr</a>
                    </
strong>
                </
p>
            </
div><!-- end div .span--->        
    
            <
div class="span-12 last">
                <
class="prepend-top append-0">Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help fileplease feel free to email via my user page contact form <a href="http://themeforest.net/user/Subshadow">here</a>. Thanks so much!</p>
            </
div>
        </
div><!-- end div .borderTop -->
        
        <
hr>
        
        <
h2 id="toc" class="alt">Table of Contents</h2>
        <
ol class="alpha">
            <
li><a href="#codeigniter">What is CodeIgniter FW ?</a></li>
            <
li><a href="#existing">Files to include in CI's existing project</a></li>
            <li><a href="#new">Way to use this package for new web project</a></li>
            <li><a href="#customize">Customize form generated</a></li>
        </ol>
        
        <hr>
        
        <h3 id="codeigniter"><strong>A) What is CodeIgniter FW ?</strong> - <a href="#toc">top</a></h3>
        
                <p>CodeIgniter (CI) is an easy PHP Framework used by many developers in any project type.</p>
                
                <p>You can know more about CI here : <a href="http://ellislab.com/codeigniter/user-guide/overview/getting_started.html">http://ellislab.com/codeigniter/user-guide/overview/getting_started.html</a></p>
        <hr>

        <h3 id="existing"><strong>B) Files to include in CI'
s existing project</strong> - <a href="#toc">top</a></h3>
                
                <
p>If you have an existing project under CIyou can install files of this package in your project package :</p>
                
                <
ul>
                    <
li>Move all <strong>/assets</strongcontent (css folder/js folderin your <strong>/</strongfolder</li>
                    <
li>Move <strong>/application/controller/generator.php</strongin your <strong>/application/controller/</strongfolder</li>
                    <
li>Move <strong>/application/libraries/fileup.php</strongin your <strong>/application/libraries/</strongfolder</li>
                    <
li>Move <strong>/application/views/generator.php</strongin your <strong>/application/views/</strongfolder</li>
                    <
li>Move <strong>/application/views/form_helper/</strongfolder in your <strong>/application/views/</strongfolder</li>
                </
ul>
                
                <
p>Ensure you have activated database autoload in <strong>/application/config/autoload.php</stronglike this :</p>
                <
pre>
                    
$autoload['libraries'] = array('database');
                </
pre>
                
                <
p>and configured database in <strong>/application/config/database.php</strong> :</p>
                <
pre>
                    
$db['default']['hostname'] = 'localhost';
                    
$db['default']['username'] = 'your_username';
                    
$db['default']['password'] = 'your_password';
                    
$db['default']['database'] = 'your_database_name';
                </
pre>
                
                <
p>Ensure you activated url autoload in <strong>/application/config/database.php</strong> :</p>
                <
pre>
                    
$autoload['helper'] = array('url');
                </
pre>
                
                <
p>Ensure your www-data user have permissions to write in these folders : </p>
                <
ul>
                    <
li>/application/controllers/</li>
                    <
li>/application/models/</li>
                    <
li>/application/views/</li>
                </
ul>
                
                <
p>Ensure your database user have permisssion to CREATE TABLE</p>
                
        <
hr>
        
        <
h3 id="new"><strong>CWay to use this package for new web project</strong> - <a href="#toc">top</a></h3>
                
                <
p>In firstyou have to know <a href="#codeigniter">what is CodeIgniter FW and how it work</a>.</p>
        
                <
p>Upload <strong>all files</strongof package in your FTP's base folder (generaly /www) : </p>
                
                <ul>
                    <li>Upload /application/...</li>
                    <li>Upload /assets/...</li>
                    <li>Upload /system/...</li>
                    <li>Upload .htaccess</li>
                    <li>Upload index.php</li>
                    <li>Upload license_CI.txt</li>
                    <li>Upload licenses.txt</li>
                </ul>
                
                <img src="assets/images/cap_dev2.png" alt="Project" />
                
                <p>Activate database autoload in <strong>/application/config/autoload.php</strong> like this :</p>
                <pre>
                    $autoload['
libraries'] = array('database');
                </pre>
                
                <p>and configure database in <strong>/application/config/database.php</strong> :</p>
                <pre>
                    $db['
default']['hostname'] = 'localhost';
                    $db['
default']['username'] = 'your_username';
                    $db['
default']['password'] = 'your_password';
                    $db['
default']['database'] = 'your_database_name';
                </pre>
                
                <p>Now activate url autoload in <strong>/application/config/database.php</strong> :</p>
                <pre>
                    $autoload['
helper'] = array('url');
                </pre>
                
                <p>Ensure your www-data user have permissions to write in these folders : </p>
                <ul>
                    <li>/application/controllers/</li>
                    <li>/application/models/</li>
                    <li>/application/views/</li>
                </ul>
                
                <p>Ensure your database user have permisssion to CREATE TABLE</p>
                
        <hr>
        
        <h3 id="customize"><strong>D) Customize form generated</strong> - <a href="#toc">top</a></h3>
                
                <p>To customize your form, create your own css file in <strong>/assets/css/</strong> and add the css file name in settings box</p>
        
                <img src="assets/images/cap_dev1.png" alt="Setting Box" />
        <hr>
        
        <p>Once again, thank you so much for purchasing this theme. As I said at the beginning, I'
d be glad to help you if you have any questions relating to this themeNo guaranteesbut I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.</p> 
        
        <p class="append-bottom alt large"><strong>Adrien Vinet</strong></p>
        <p><a href="#toc">Go To Table of Contents</a></p>
        
        <hr class="space">
    </div><!-- end div .container -->
</body>
</html>
?>
Онлайн: 1
Реклама