FoldHeadingsPlugin

31 views
Skip to first unread message

Cordell

unread,
Oct 5, 2008, 1:16:36 AM10/5/08
to TiddlyWiki
I really appreciate the FoldHeadingsPlugin in as I phrase most of my
notes as questions with answers that can be displayed after I click
the heading.

I'm having a problem with this Plugin though. It only seems to work
after I edit a tiddler (double click on it, then click done).
Otherwise, the text below the headings remain un-folded.

I added the following:
<span macro="foldHeadings closed"></span>
to my ViewTemplate tiddler.

I am using MPTW 2.5.2 with a couple added plugins.

Thanks for all the help,

Cordell

Eric Shulman

unread,
Oct 5, 2008, 2:35:22 AM10/5/08
to TiddlyWiki
> I added the following:
> <span macro="foldHeadings closed"></span>
> to my ViewTemplate tiddler.
>
> I am using MPTW 2.5.2 with a couple added plugins.

MPTW uses a heavily-customized 'systemTheme' definition that is
separate from the regular PageTemplate, ViewTemplate, and EditTemplate
definitions normally used by a 'vanilla' TW.

To make changes to the MPTW tiddler view, you have to change the
equivalent "!!ViewTemplate" section of the [[MptwTheme]] tiddler,
instead of modifying the [[ViewTemplate]] tiddler.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

Cordell

unread,
Oct 10, 2008, 4:56:07 PM10/10/08
to TiddlyWiki
I can't figure this out (i'm very new at this). Where should i put
the:
<span macro="foldHeadings closed"></span>
in the MptwTrimTheme (below)

Cordell

|Name|MptwTrim|
|Description|Mptw Theme with a reduced header to increase useful
space|
|ViewTemplate|MptwTheme##ViewTemplate|
|EditTemplate|MptwTheme##EditTemplate|
|StyleSheet|MptwTheme##StyleSheet|
|PageTemplate|##PageTemplate|

!PageTemplate
<!--{{{-->

<!-- horizontal MainMenu -->
<div id='topMenu' macro='gradient vert [[ColorPalette::PrimaryLight]]
[[ColorPalette::PrimaryMid]]'>
<span refresh='content' tiddler='SiteTitle' style="padding-left:
1em;font-weight:bold;"></span>:
<span refresh='content' tiddler='MainMenu'></span>
</div>
<div id='sidebar'>
<div id='sidebarOptions'>
<div refresh='content' tiddler='SideBarOptions'></div>
<div style="margin-left:0.1em;"
macro='slider chkTabSliderPanel SideBarTabs {{"tabs \u00bb"}} "Show
Timeline, All, Tags, etc"'></div>
</div>
</div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>

Morris Gray

unread,
Oct 10, 2008, 6:33:32 PM10/10/08
to TiddlyWiki
> I can't figure this out (i'm very new at this). Where should i put
> the:
> <span macro="foldHeadings closed"></span>
> in the MptwTrimTheme (below)

Try putting it in the !ViewTemplate section of MptwTheme

Morris Gray
http://twhelp.tiddlyspot.com
A TiddlyWiki help file for beginners
http://sidebarpluginvault.tiddlyspot.com
World's largest squeezable TW plugin database

Cordell

unread,
Oct 10, 2008, 11:28:38 PM10/10/08
to TiddlyWiki
Got it. Thank you very much.

Cordell

On Oct 10, 6:33 pm, Morris Gray <msg...@symbex.net.au> wrote:
> > I can't figure this out (i'm very new at this). Where should i put
> > the:
> > <span macro="foldHeadings closed"></span>
> > in the MptwTrimTheme (below)
>
> Try putting it in the !ViewTemplate section of MptwTheme
>
> Morris Grayhttp://twhelp.tiddlyspot.com
> A TiddlyWiki help file for beginnershttp://sidebarpluginvault.tiddlyspot.com
> > > TiddlyTools / ELS Design Studios- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages