Print

WP Generator V 1.0.0

WP Generator is a simple ready to use web page generator that uses your own templates or built in templates to generate web pages on your root directory.

It is easy to create, edit or delete web pages with WP generator.  The Generator supports PHP, enabling you to create your own PHP files and hence more advanced websites.





Online demo : http://winlogs.com/t_generator
Demo Username : admin
Demo Password : demo

Installation

  1. Upload All the files to your server root
  2. Open Config.php file and edit the followings
    $_virtual_path = '/home1/winlogsh/public_html/t_generator/'; to your server virtual path
  3. change following database settings
    define('DBHOST', 'localhost' );
    define('DBUSER', '' );
    define('DBPASS', '' );
    define('DBNAME', '' );
  4. Open database from phpmyadmin and browse table_config table, and change the value of domain to your domain name
  5. It's done. type "http://yourdomain.com/t_generator.php" enter admin as username and winlogs as password
  6. enjoy the web page generator V 1.0.0

Creating Template

Creating a template is easy.  The default WP Generator consists of four parts: template, images, navigation and css. Css can be included in the template  if common css properties are not being used for the web pages. Templates can be found in the template directory.

       Template Location : template/default
       Files and Folders on default direcotry
                                   Images (Folder)
                                                   Images (Folder) have all the images
                                   CSS (Folder)
                                                   CSS (Folder) have one file style.css which contains css properties
                                   template.php
                                                   template.php contains your template html content
                                   index.php
                                                   index.php use for preview purposes
                                   navigation.html
                                                   navigation.html contains navigation panel content
                        

       To include the navigation.html on template.php you need to use following html comment tag
            <!-- BEGIN NAVIGATION -->

            <!-- END PHP NAVIGATION -->
       wp generator will automatically insert navigation.html  to your template when you create web page.


Creating a Web Page

       You can do this from create web page link in admin panel. New web page will save on the root directory of you web site. You can not add php tags on the tinymce editor. After you have the saved the page, a link will appear directing you PHP editing.



Editing a Web Page

        Once you select web page edit from edit web page link, if your web page contains php scripting it will remove by the tinymce so make sure you click on "Create PHP content file" and get back up. Once you've edit the web page html content you need reenter php coding to your page.
     NOTE : you dont need to add php code between the html comment            <!-- BEGIN NAVIGATION --> <!-- END PHP NAVIGATION --> system will automaticaly add navigation php script even on the edit web page

Creative Commons License
wp-generator by D N N Udugala is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.
Based on a work at winlogs.com.
 
SEO by Artio