Tiddler sticky footer

146 views
Skip to first unread message

Mohammad

unread,
Sep 7, 2018, 6:12:38 AM9/7/18
to TiddlyWiki
How create a tiddler footer stick to the bottom of tiddler?

I have created a macro with a css to create footer ( the bundle is attached)!
The problem is:
  • In preview mode it covers the fields area
  • In view mode sometimes the tiddler contents overflow the footer area!
.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.5rem;
  background-color: #efefef;
  text-align: center;
  margin-top: 5px;
}



Macro

\define footer(text:"")
<div class="footer">

$text$

</div>
\end


sticky-footer.bundle.json

Mohammad

unread,
Sep 10, 2018, 12:19:31 AM9/10/18
to TiddlyWiki
I fount the solution. A tiddler with $:/tags/ViewTemplate is required!

TonyM

unread,
Sep 10, 2018, 2:06:25 AM9/10/18
to TiddlyWiki
Mohammad,

I was going to answer with a mention of the $:/tags/ViewTemplate I then used the tag pill {{$:/tags/ViewTemplate||$:/core/ui/TagTemplate}} to alter the order as needed.

Another trick is to add a list that determine if the content of the tiddler tagged is shown like [!is[system]] 

or you can emulate how the view template itself works itself and include a list that transcludes tiddlers that have a tag of you own design so you can add multiple items to your footer line?

Regards
Tony

Ste Wilson

unread,
Sep 10, 2018, 1:40:13 PM9/10/18
to TiddlyWiki
May be off topic here but didn't Jan do a lot of work on footnotes and referencing previously?

Mohammad

unread,
Sep 10, 2018, 2:35:37 PM9/10/18
to TiddlyWiki
Thank you Tony!

Cheers
Mohammad

Mohammad

unread,
Sep 10, 2018, 2:37:06 PM9/10/18
to TiddlyWiki
Hello Ste,
 I appreciate to add that reference here! The forum is a place to share such information.

Thank you
Mohammad
Reply all
Reply to author
Forward
0 new messages