Apr 17, 2012

How to Create a WebsiteBaker Template

,


WebsiteBaker, commonly abbreviated as WB, is a free and secure content management system, or CMS, that enables you to create your websites using templates. However, you must create the template and upload it to your WB account before you can use it. You only need the "index.html" and "info.php" files to create a functional template. If your template uses a CSS file to manage the styles, you can include it. The index.html file can contain anything as long as it is valid HTML and PHP code.

Instructions

    • 1
      Go to the "Start" menu and click "Computer" to start the default Windows file manager.
    • 2
      Use the file manager to navigate to the folder containing your index.html file.
    • 3
      Right-click on the "index.html" file and select "Rename" from the resulting menu.
    • 4
      Type "index.php" and press "Enter" to rename the file. The PHP extension is mandatory if you want to use PHP code on your page.
    • 5
      Create a new text document using Notepad or WordPad.
    • 6
      Insert these lines in the new text document:
      <?php
      $template_directory = 'YourTemplateDirectory';
      $template_name = 'WB Template';
      $template_version = '1.0';
      $template_platform = '2.6.x';
      $template_author = 'Your Name';
      $template_license = 'GNU GPL';
      $template_description = 'Your first template';
      ?>
      Replace "YourTemplateDirectory" with the directory you want to use the template in, "WB Template" with the name of your new template, "1.0" with the template version, "Your Name" with the template author's name, "GNU GPL" with the license and "Your first template" with a short description of the template.
    • 7
      Save the file in the folder containing the index.php file and name it "info.php".
    • 8
      Use the file browser to open the folder containing the files and press the "Ctrl" and "A" keys at the same time to select both of them.
    • 9
      Right-click on one of the files and select the "Add to Archive" option from the resulting menu.
    • 10
      Type a name for your new template in the "Archive Name" text box.
    • 11
      Click on the "Browse" button and select a folder to save the archive in.
    • 12
      Click on the "ZIP" radio button and then click "OK" to create the ZIP archive.
    • 13
      Log in to your WebsiteBaker account, click on the "Add-ons" tab, select "Templates" and click on "Install Template." Select the ZIP file you created earlier and click "Install" to install the template.
 

HowToYo Copyright © 2011 | Template design by O Pregador | Powered by Blogger Templates