Hello Samppa
I had the same problem. I wanted to have a ToC as a footer below every
tiddler, triggered by a conditional template
The footer looks like this:
<table style="width:100%">
<tr><th>T o C
@@font-size:8pt;''[[(e)|$:/+PGA2015/admin/footerToC]]''@@</th></tr>
<tr>
<div class="tc-table-of-contents">
<<toc-selective-expandable '$(currentTiddler)$'!is[system]sort[title]>>
</div>
</tr>
</table>
Key is the $(currentTiddler)$ which draw the tiddler title into the ToC
Pit
Am 05.05.2015 um 15:09 schrieb Samppa Viitanen:
Hello,
I finally figured out what caused the table of contents not to function.
The title of the Tiddler needs to be exactly same same as the tag.
like so Tiddler:
ASDF
<<list-links "[tag[ASDF]]">>
lauantai 18. huhtikuuta 2015 18.48.03 UTC+3 Jeremy Ruston kirjoitti:
Hi Samppa
That's very strange. An intermittent fault where we see different
results from different runs of the same tests suggests that
there's an interaction with something other than TiddlyWiki.
It's difficult but the only hope of fixing this is to be able to
replicate the behaviour. So I'd be grateful for your patience if
you were able to devise a series of steps that will cause the
problem to occur so that I can investigate it.
Best wishes
Jeremy.
On Fri, Apr 17, 2015 at 7:04 PM, Samppa Viitanen <sig...@gmail.com
<javascript:>> wrote:
Hi Jeremy. Thanks for taking the time to answer me!
I've been meaning to update on the matter:
The problem is not because I broke something playing around
with plugins or shadow/system tiddlers.
It seems that the problem is either related to Windows 7/8.1,
Chrome, or TiddlyWiki platform in itself.
I came to this conclusion when I started to recreate my wiki
from the empty.html file.
I moved step by step, saving between every change to a
different file in the same folder i.e. testwiki1.html,
testwiki2.html etc...
I had just saved and tested if the TOC works as it should, it
did. I started to create test content tiddlers with random toc
and non-toc related tags. And then tried to create a new
tiddler under the main TOC-tab and under that another tiddler.
like so:
TOC
TEST
TEST-Content
At this point it would not work!
I opened an earlier version of the wiki and tried to do the
same, it did not work there either.
I then proceeded to close Chrome and trying to create TOCs
again to no avail. Then I restarted my machine and tried
again. And it worked!!
This same thing has occured to me on two different machines,
Windows 7 and Windows 8.1. Both using the latest version of
Chrome.
I hope this helps someone in the future to not pull the hair
out of their head while figuring out why their table of
contents doesn't update as it should.
-Samppa
perjantai 17. huhtikuuta 2015 15.53.35 UTC+3 Jeremy Ruston
kirjoitti:
Hi Samppa
It sounds like your following the correct steps to add a
new entry to the TOC. A few possible thoughts:
* Are you using any plugins that might be interfering with
the refresh process?
* Have you overridden any shadow tiddlers? Use
$:/AdvancedSearch, switch to the "Filter" tab and select
"Overridden shadow tiddlers" from the dropdown. You'll see
a list of shadow tiddlers that have been overridden; some
of them are expected (eg $:/SiteTitle and
$:/SiteSubtitle), but look out for any overridden .js tiddlers
If all else fails, you might try experimenting by
gradually dragging your tiddlers across to an empty
TiddlyWiki, and checking the behaviour.
Best wishes
Jeremy
On Thu, Apr 16, 2015 at 12:34 PM, Samppa Viitanen
<sig...@gmail.com> wrote:
Hello!
I encountered a problem. My table of contents doesn't
work like it used to, it wont give me those > arrows
for selective-expandable lists.
(I am using Centralized experimental theme if this
might be a problem?)
This is my basic TOC tab in the side bar
TAG: $:/tags/SideBar
<div class="tc-table-of-contents">
<<toc-selective-expandable 'TOC'>>
</div>
List-before: $:/core/ui/SideBar/Open
Under that I have sub TOCs like so:
TAG: TOC
<<list-links "[tag[VR]]">>
And under that I have tiddlers with the tag VR.
So it used to work like this, when I created a new
tiddler with TOC tag and <<list-links
"[tag[NewTag]]">> and after that new tiddler with
NewTag it would show in the sidebar with the arrow >
giving me access straing from the sidebar.
Currently the arrow doesn't show up, but if I open the
tiddler that lists NewTag, it will show everything there.
--
You received this message because you are subscribed
to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving
emails from it, send an email to
tiddlywiki+...@googlegroups.com.
To post to this group, send email to
tiddl...@googlegroups.com.
Visit this group at
http://groups.google.com/group/tiddlywiki
<http://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/79d153d1-a8f0-46fc-a86a-8211c2d226f8%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/79d153d1-a8f0-46fc-a86a-8211c2d226f8%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit
https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
Jeremy Ruston
mailto:jeremy...@gmail.com
--
Jeremy Ruston
mailto:jeremy...@gmail.com <javascript:>
--
You received this message because you are subscribed to the Google
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to tiddlywiki+unsubscr...@googlegroups.com
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To post to this group, send email to tiddlywiki@googlegroups.com
<mailto:tiddlywiki@googlegroups.com>.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/74501ad0-b85c-47f0-9cac-c5c114b02c8c%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/74501ad0-b85c-47f0-9cac-c5c114b02c8c%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/554A53D0.4030602%40eclipso.ch.
For more options, visit https://groups.google.com/d/optout.