Help with Footer Navigator

Hey guys,

I made a footer navigator a long time ago, and i will reuse the code, but the final results is strange beetween the two wikis:

image

In the new wiki the Índice word are in wrong position and i dont know why.

image

I used this codes:

For the navigator:

\define toc-root()  Regras
\define toc-depth() 4

\define toc-nav()
\define tv-wikilinks() no
<$list filter="[enlist<all>before<currentTiddler>]">
   <$button class="tc-btn-invisible" style="float:left;text-align: left; color:#6e8be0;padding-top: 10px; width: 50%;" to=<<currentTiddler>>>
      {{$:/core/images/chevron-left}} <<toc-caption>>
   </$button>
</$list>
<$list filter="[enlist<all>after<currentTiddler>]">
   <$button class="tc-btn-invisible" style="float:right;text-align: right;color:#6e8be0; padding-top: 10px; width: 50%;" to=<<currentTiddler>>>
      <<toc-caption>> {{$:/core/images/chevron-right}}
   </$button>
</$list>
<div style="clear:both;"/>
\end

\define toc-list(here,max,exclude,level:"1")
<$list filter="""[tag[$here$]] $exclude$ -[[$here$]]""">
   <$text text="[["/><<currentTiddler>><$text text="]]"/><br>
   <$reveal default="$level$" type="nomatch" text="$max$">
      <$macrocall $name="toc-list" here=<<currentTiddler>> max="$max$"
         exclude="""$exclude$ -[[$here$]]""" level={{{ [[$level$]add[1]] }}}/>
   </$reveal>
</$list>
\end

<$wikify name="all"
   text="""<$macrocall $name="toc-list" here=<<toc-root>> max=<<toc-depth>>/>""">
<<toc-nav>>
</$wikify>

For the Parent Navigator:

<% if [<currentTiddler>has[parent]] %>
<$let
  upChapter={{!!parent}}
>

<div style="text-align: center; clear: both; padding-top: 1em;">
  <% if [all[current] %>
    &uarr;&nbsp;
    <$link to=<<upChapter>>>
      <$text text={{{ [<upChapter>get[caption]] }}}/>
    </$link>
  <% endif %>
</div>
</$let>
<% endif %>

Thanks in advance

I find the solution, i just need to tag the navigator with list-before with the ParentNavigator title

1 Like