exitention pointを追加する
インクルードできる位置が固定なのが気に入らなくて、ちょっといじってみたよ。 http://developer.jot.com/WikiHome/JotDoc/Tutorials/JotPluginQuickstart
デフォルトだと、下記しか設定できない。
Insertion Point | Location | head | inside the <head> of the page | footer | in the #jot-footer div, right above the #pageFooter div | sidebarTop | top of the sidebar/toolbar | sidebarBottom | bottom of the sidebar/toolbar | bodyStart | just after opening body tag | beforeContent | start of the body's main content section | afterContent | end of the body's main content section | bodyEnd | just before closing body tag |
http://ytesaki.jot.com/System/System ここのモジュール一覧から、それらしいパーツを探して、
http://ytesaki.jot.com/System/Themes/Jot/top?edit=1&editStyle=xml ?edit=1&editStyle=xmlをくっつけてみる。 これは、メニューの編集でも使ったやり方だね。
<jot:extension declare="xxxxxxx" /> で、exitention point を定義できるので、これを差し込む。
で、pluginのほうで、下記に書き換えればオッケー。無事、グローバルメニューをヘッダの下に移動できたよ。 <jot:extension target="xxxxxxx">
リセットするやり方は知らないので、これやるときは自己責任で。
|