Loading...
 
 Error
  • The search index could not be updated. The site is misconfigured. Contact an administrator.
    SQLSTATE[42000]: Syntax error or access violation: 1064 unknown table 'themes_tiki_org_main_66234fac2d586' in delete request
Tiki Design

Tiki Design


Adding external js menu

posts: 3

Hi

I have a Blog with a javascript menu and I wanted to add the same menu in the same place to my Wiki. I have tried altering the header.tpl but the best I get is the menu outside the design at the top.

PS I am using Kubrick as a theme.

Any suggestions?

posts: 3

Hi

I have a Blog with a javascript menu and I wanted to add the same menu in the same place to my Wiki. I have tried altering the header.tpl but the best I get is the menu outside the design at the top.

PS I am using the Kubrick theme on my Wiki

Any suggestions?


posts: 254 Japan

In the Kubrick theme, to put the menu in the same place it's at on your blog page, you need to edit the templates/styles/kubrick/tiki.tpl file, around line 17. You can replace the phplayers menu tag that's there by default with your menu script. (Tiki's header.tpl file actually is mostly for holding the html head section of the page.)

Any javascript being added to the template must be surrounded with ~np~{literal} {/literal} tags in order to work.

-- Gary


Layout

Subscribe to Tiki Newsletters!

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other big news!
Contribute to Tiki

Site Config