Loading...
 
Skip to main content

Themes


Making changes to the header

Two colleagues and I are trying to start a small company selling capital equipment and I have been working on building a website (www.hvit-llc.com) and building a knowledge warehouse (http://hvit-llc.com/CRM/tiki-index.phpQuestion) where we can store and share information. My goal is to make the header on the wiki look a little more like the header on the website, add the words HVIT LLC Knowledge Warehouse, and move the simple login into the header. I can do this in Dreamweaver but for some reason the logic in wiki fails me.

Thank you any and everyone for any help.

Regards

DGCrum

Tiki uses the Smarty template engine, which uses .php files for logic and .tpl files for layout, generally speaking. So to change the layout, the files in the templates directory (or in templates/styles/ subdirectories) are edited. tiki-top_bar.tpl is usually the file to edit to change the top of all pages.

An alternative to editing the template files is to use the Site Identity feature. This puts some new elements at the top of the page, or some custom code. This site uses Site Identity to display the logo, background image, horizontal menu and log-in box. TWOSiteIdentityCustomCode shows the custom code that is used here. You can probably use this as a model for the page top at your site. (The curly brackets are Smarty syntax, which is more compact than the standard PHP equivalents.)

You might also want to check out themes.tikiwiki.orgQuestion for other customizing possibilities.

-- Gary

> Tiki uses the Smarty template engine, which uses .php files for logic and .tpl files for layout, generally speaking. So to change the layout, the files in the templates directory (or in templates/styles/ subdirectories) are edited. tiki-top_bar.tpl is usually the file to edit to change the top of all pages.
>
> An alternative to editing the template files is to use the Site Identity feature. This puts some new elements at the top of the page, or some custom code. This site uses Site Identity to display the logo, background image, horizontal menu and log-in box. TWOSiteIdentityCustomCode shows the custom code that is used here. You can probably use this as a model for the page top at your site. (The curly brackets are Smarty syntax, which is more compact than the standard PHP equivalents.)
>
> You might also want to check out themes.tikiwiki.orgQuestion for other customizing possibilities.
>
> — Gary

Thank you Gary,
I will work on it today and tonight and on and on and on..... Hopefully I will not screw this up too much. For my wife, TW is better than a whole cabinet full of aspirin. They only cure a headache - having me stuck on this computer until 1 or 2 in the morning saves her from having to have a headache in the first place.

We newbies should come in pairs so we can make up a whole wit.

Regards,

Darryl

> I will work on it today and tonight and on and on and on..... Hopefully I will not screw this up too much. For my wife, TW is better than a whole cabinet full of aspirin. They only cure a headache - having me stuck on this computer until 1 or 2 in the morning saves her from having to have a headache in the first place.

That's an undocumented feature, I guess. 😉

> We newbies should come in pairs so we can make up a whole wit.

There are a lot of features, etc. and so there's a bit of a learning curve. I think probably most people go through trial and error to one degree or another, as well as asking questions, before everything falls into place.

-- Gary