On Jun 23, 5:26 pm, iain <[email protected]> wrote:
> Help
Neither of the two relevant tiddlers is excluded so they should be
found if they still exist.
In TW-Notes and TWT-Notes the tiddler for creating a new master topic
is CreateNewMasterTopic. Below is its contents..
-------------------------
<<newTiddler label:"New Master Topic" title:'MyNewMasterTopic' text:
{{store.getTiddlerText('NewMasterTopic')}} tag:''>>
-------------------------
The NewMasterTopic tiddler is the 'new master topic form' that is
called up in the code above and contains:
------------------------
{{bluey{[[MYNEWMASTERTOPIC]]}}}@@padding-left:0.5em;font-size:
7pt;<<newTiddler title: 'Enter the name for your new sub topic here'
tag: 'MYNEWMASTERTOPIC' label: 'subTopic' text: {{store.getTiddlerText
("SliderFrame")}} label: 'New Master Topic'>>@@
<<forEachTiddler
where
'tiddler.tags.contains("MYNEWMASTERTOPIC")'
script
'
function getFirstLine(s) {
var m = s.match(/\s*(.*)/);
return m != null && m.length >= 1 ? m[1] : "";
}
'
write
'getFirstLine(tiddler.text)'
>>
---------------
Be aware of Google's propensity for rewriting code
Ref:
http://twt-notes.tiddlyspot.com/
http://twnotes.tiddlyspot.com/
Morris
On Jun 23, 5:26 pm, iain <[email protected]> wrote:
> Help
>
> I have somehow buggered up the template for "New Master Topic" so when
> I click on it the Tiddler opens saying "Type the text for 'Enter the
> name for your new master topic here" and in tag bag the term "Topics
> Text" appears. I suspect it is the latter that buggers up the Tiddler
> because I think it means that the macro that creates the master topic
> doesn't run.
>
> But how do I fix it?
>
> My first approach would be to replace "New Master Topics" but I cannot
> find it in both the buggered one and my working backup version.
>
> So I would appreciate some advice on what to do next.
>
> Thanks
>
> Iain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---