| Simplify Help - A guide to using our innovations for your success. |
Building your Website
This page contains a step by step guide to build a website and take advantage of simplify Edit.
Here is how you add Kyube tags:
After creating and designing the HTML templates, you have to define the template to which a page belongs to. Template Tag (page.html)
<html> <!--{Template name="/Templates/L1.html"}--> <head> ...
Library Tag (page.html) <!-- {Library_logo.lbi} -->
Healing Hands
<!--{/Library}--> Library Tag (page.html) <!-- {Library_slogan.lbi} -->
The Client-First Clinic—adjusting client needs to client health
<!--{/Library}--> Third you need to add the normal region tag, here is an example of defining the main area region. Normal Region Tag (page.html)
<body>
.................. <!--{Section_MainContent_outer}--><!--{MainArea}--> ..... Middle html code (can include pictures, links, etc….) <!--{/MainArea}--><!--{/Section}--> ..................</body> Add all the required tags for all the regions of your templates. Click here to learn more about the Kyube Tags ** Note that all your regions names and template names should be strictly alphaNumeric and unique. Moreover, if you do not insert any tags at all, the system can automatically detect and build regions for your page. If you are not satisfied with how the Kyube wizard has dissected your page, and want more control over the division of your layout; you can insert your own tags. However, these may not satisfy your needs; so, if you want more control over the division of your layout, you can add your own tags. Now let us build the navigation by adding a menu wApplication in the menu area. >> Step 2: Adding the Navigation Menu The following will show you how simple it is to have a navigation menu in just a few steps.
For your menu to function in the pages of your website, you have to add the following two links in the tag of all your pages. Head Tag (page.html)
<html>
<!--{Template name="/Templates/L1.html"}--> < head> .................<script src=" ky_wapp.wapps/ky_wapplication.js" type="text/javascript" id="_ky_wapp_rw"></script> <script src="http://member.simplifycms.com/wapplication/js/ky_wapplication.js" type="text/javascript" id="_ky_wapp_ro"> </script> ..................</head> In the template where you want the menu to be, insert the following code in the region you want to contain the menu: Form Tag (page.html)
<body>
..................<!--{Library_topMenu.lbi}--> <form id="ky_QuickMenu_topMenu" ky_wapp="on" method="post" enctype="multipart/form-data" > <div id="face1_tpl" style="display: none;">Loading...</div> </form> <!--{/Library}--> ..................</body> In this example we will add the top menu navigation. And the type we have chosen is: Quick menu. There are multiple types of menus, visit the section on the Menu Wapplication for more details.
Create a js file in the faceJSON folder called ky_QuickMenu_topMenu.js, and insert the following code in it: faceJSON (ky_QuickMenu_topMenu.js){
You are now ready to modify your menu's links and pref JSON structures. The links.js file is where you would define the structure of your menu; that is you define the navigation links by setting the labels and their URL. Goto the folder ky_wapp.wapps/faceJSON/ky_menu/. Open the topMenu_links.js file and insert the following code: faceJSON/ky_menu (topMenu_links.js){
Since the we have chosen to add a menu of the type “QuickMenu”, we have to add a pref.js file. In this file you set the styles for the links. The link has 3 state: (active, hover, selected). In the pref file you will find properties for each state. Create a file called topMenu_pref.js and insert the following code in it: faceJSON/ky_menu (topMenu_pref.js){
If you want to explore more available options in building your navigation, click here to learn more about the menu wApplication. After you have finished building your website on your desktop, you can upload it on simplify. Click here to learn how you can upload your website |
|
Copyright © 2008 Kyube Inc. All Rights Reserved. Patent 717104000. June 7, 2006 |