[TW5] Theme tweaks -- 'fullstorywidth' setting

160 views
Skip to first unread message

Matabele

unread,
Sep 24, 2015, 3:10:08 PM9/24/15
to TiddlyWiki
Hi

I have an older beta wiki with the 'fullstorywidth' set in the tiddler '$:/themes/tiddlywiki/vanilla/metrics'. When I import these settings into TW5-version-5.1.9, however, this setting is lost. 

Where can I now find the 'fullstorywidth' setting?

regards

Mat

unread,
Sep 25, 2015, 3:01:01 AM9/25/15
to TiddlyWiki
I'd guess the "Fluid story" feature introduced in 5.1.9 is the reason.

Maybe this feature is what you wish to use?

<:-)

Jeremy Ruston

unread,
Sep 25, 2015, 3:18:10 AM9/25/15
to TiddlyWiki
If I'm reading stackoverflow correctly, by running this command I can confirm that the string "fullstorywidth" has never been part of the TW core source code:

git log -Sfullstorywidth

Perhaps it's something that was used by a plugin?

Best wishes

Jeremy.




--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7fd02932-9a67-4a4f-95b5-f510c26d3e35%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

Matabele

unread,
Sep 25, 2015, 11:01:17 AM9/25/15
to TiddlyWiki, jeremy...@gmail.com
Hi

Many thanks for the answers, but unfortunately my problem remains unsolved. I've enclosed a screenshot of the settings (there's no export tiddler button in this old beta version):


The setting for 'fullstorywidth' controlled the width of the story when the sidebar was hidden -- seems that this setting was part of the 'vanilla' theme at that time. When these settings are imported into a current version, the other settings each end up in their own settings tiddler, but this one disappears.

The wiki I'm trying to update may still be found here: http://gwiz.tiddlyspot.com

This setting does not appear in the theme tweaks tab and I've no idea how this was set. The width of the story river does not, however, expand to fill the full width of the browser window -- and this is the behaviour I'm trying to replicate (if I hide the sidebar in my current version, the story expands to full width.)

How can this be done?

regards

Jeremy Ruston

unread,
Sep 25, 2015, 11:06:36 AM9/25/15
to Matabele, TiddlyWiki
Hi Matabele

The wiki I'm trying to update may still be found here: http://gwiz.tiddlyspot.com

The shadow tiddler $:/themes/tiddlywiki/vanilla/base has been overridden to include additional stylesheet rules that reference fullstorywidth. The underlying shadow tiddler doesn't have any reference to fullstorywidth.

So I think all that happened was that you applied a manual hack to the stylesheet.

Best wishes

Jeremy.

Matabele

unread,
Sep 25, 2015, 11:57:07 AM9/25/15
to TiddlyWiki, matabe...@gmail.com, jeremy...@gmail.com
Hi Jeremy

Ah yes -- found it -- I had added this to the default styles for the theme :-/

.story-river {
 position
: relative;
 left
: {{$:/themes/tiddlywiki/vanilla/metrics##storyleft}};
 top
: {{$:/themes/tiddlywiki/vanilla/metrics##storytop}};
 width
: {{$:/themes/tiddlywiki/vanilla/metrics##storywidth}};
 padding
: 42px 42px 42px 42px;
}

<<if-no-sidebar "
.story-river {
 width:  {{$:/themes/tiddlywiki/vanilla/metrics##fullstorywidth}};
}
"
>>

Many thanks for pointing me in the right direction. Perhaps it would be beneficial to add this setting to the 'Theme Tweaks' tab?

regards

Matabele

unread,
Sep 25, 2015, 1:03:17 PM9/25/15
to TiddlyWiki
Hi

For those interested -- one way of adjusting the story width with the sidebar hidden (version 5.1.9):

-- edit this code in $:/themes/tiddlywiki/vanilla/base to look like this:

<<if-no-sidebar "

 .tc-tiddler-frame {
 width: {{$:/themes/tiddlywiki/vanilla/metrics/fullstorywidth}};
 }

"
>>

Then add a tiddler with the title $:/themes/tiddlywiki/vanilla/metrics/fullstorywidth, where you can set and change this value ('text' field).

regards
Reply all
Reply to author
Forward
0 new messages