<$action-setfield $tiddler="$:/state/tab/sidebar--1835078512" $value="Contents"/>The default setting does explain why we had more state numbers...setting the default first before choosing and saving anything else gives us the$:/state/tab/sidebar--1835078512.
<<qualify $:/state/tab/sidebar>>state="$:/state/tab/sidebar"
<<qualify "$state$">>The default side bar tab is set in control panel settings or directly
$:/core/ui/ControlPanel/Settings/DefaultSidebarTab
Is that what you need?
Tony
Some possible leads for you.
One thing about the sidebar is current tiddler is not set. Qualify makes use of currenttiddler. You can set current Tiddler inside your sidebar tiddler with the tiddler widget.
Inside tabs the currentTab variable replaces current tiddler with the tabtiddlers title
Also when setting the default use the tiddler name not the caption name.
Best of luck
Tony
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9f410a18-6aa8-45a5-94fc-165f0319dd6a%40googlegroups.com.
Birthe’s solution was along the right lines. Try creating a tiddler tagged $:/tags/StartupActions containing:<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" $value=“Contents"/>Substitute for “Contents” the title of the tiddler containing the sidebar tab you want to use.Best wishes
Jeremy.
On 31 Mar 2020, at 04:31, TonyM <anthon...@gmail.com> wrote:
Damon,I understand. Working through every detail can be time consuming.
- I suggest you make a minimal example of your problem, Test it on Tiddlywiki.com or a new empty tiddler and share that code here so I/we can replicate and solve the problem.
So often when someone prepares an example case like this, they solve the problem themself, anyway, if not, we can definitely help with less time/effort on our part as well.RegardsTony
On Tuesday, March 31, 2020 at 11:25:03 AM UTC+11, Damon Pritchett wrote:Tony,The particular tiddler I want to use as the default sidebar does not have a caption. It's just a single word title.As far as your other comments go, I'm afraid that I did not understand where you were leading me. I guess it's the lack of detailed TW knowledge.Damon
On Monday, March 30, 2020 at 4:39:34 PM UTC-7, TonyM wrote:DaemonSome possible leads for you.
One thing about the sidebar is current tiddler is not set. Qualify makes use of currenttiddler. You can set current Tiddler inside your sidebar tiddler with the tiddler widget.
Inside tabs the currentTab variable replaces current tiddler with the tabtiddlers title
Also when setting the default use the tiddler name not the caption name.
Best of luck
Tony--
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 tiddl...@googlegroups.com.
<div class="tc-sidebar-lists">
<$macrocall $name="tabs" tabsList="TabMain $:/core/ui/SideBar/Open $:/core/ui/SideBar/More" default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" />
</div>
<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" $value="TabMain"/>Tony, I tried the empty tiddler approach and, at first blush, nothing really popped out at me. I think researching the whole sidebar approach is an interesting idea and will certainly be a learning experience.