+The ((layout)) of pages in bitweaver follows a typical pattern, where a top or head block spans whole the first row and then one, two or three columns of content are presented below. In the file structure, the top block is called __top_bar.tpl__ and it is frequently the first thing changed when customizing a bitweaver site. This page will explain how to change elements in the top bar both from within the CMS' admin panels and manually by changing the template (tpl) file. |
+ |
+||__::Top Bar::__ |
+::Left Column:: |::Centre Column::|::Right Column:: |
+::Bottom Bar:: |
+::Bottom bar 2?::|| |
+ |
{maketoc}
|
-! Version 1.0.2
|
-since version 1.0.2 nexus provides the possibility to pre / append or replace the bitweaver top menu bar. this means that this tutorial is only for users with version 1.0.1 or below...
|
|
-! Where does the top bar come from?
|
+!!Elements of the top bar. |
+In the default ((theme)) that bitweaver installs with, the top bar includes |
+*a pre-title header (small font) |
+*a logo, followed by the name of the site. |
+*a slogan (optional) in small font beneath the site name. |
+*a login field, justified right. |
+*a css driven horizontal menu (suckerfish) |
+ |
+All of the above can be modified within the admin menus without changing the tpl file manually. |
+ |
+*to change the header and the site name goto Admin-->Kernel-->Server Settings-->Page Settings "Site Title" and "Site Slogan" |
+*to change the site name in the horizontal menu goto Admin-->Kernel-->General Settings-->Miscellaneous "Menu Title" |
+*to change the menu items goto Nexus-->Menus--> Create/Edit menus - here you will have to create a new menu and prepend, append or replace the existing horizontal suckerfish menu (all the other menus apply to something else) |
+ |
+!!Where does the Title, Slogan, and User Greeting come from? |
+the top is controlled by this template: |
+{code source=php} |
+kernel/templates/top.tpl |
+{code} |
+ |
+for your own convenience, copy the file to your own theme directory |
+{code source=php} |
+themes/styles/<style>/kernel/top.tpl |
+{code} |
+any changes found in this file will override the original file. |
+ |
+!Editing the Top file |
+Under the Div id bittop, is a new DIV, holding the user greeting. |
+When that Div finishes the Site Header H1 kicks in, followed by the Site slogan, H3. |
+Removing everything between the opening and closing DIV tags will result in an empty header bar. This may be preferable if you have a fancy image / flash you want to insert. Just remember that such things are not indexed by search engines. |
+ |
+ |
+!!Where does the top bar come from? |
the top bar is controlled by this template:
|
{code source=php}
|
kernel/templates/top_bar.tpl
|