How to use MasterIncludesPlugin?

19 views
Skip to first unread message

Yakov

unread,
Jul 2, 2011, 5:30:27 PM7/2/11
to TiddlyWiki
Here's a log of my attempt:

1. I copied MasterIncludesPlugin.js into a separate file named
MasterIncludesPlugin.js
2. I added the following to the MarkupPostBody:
<!--{{{-->
<script type="text/javascript" src="MasterIncludesPlugin.js"></script>
<!--}}}-->
3. I created MasterIncludesConfig with the following content:
| !Using only ~MasterIncludesPlugin.js |>|
|MasterLocation|empty_master.html|
|ReportImported|true|
|ReportImportedFiles|true|
|ReportSkipped|true|
|ReportErrors|true|
4. I put the empty_master.html TiddlyWiki into the same folder.

What happens is:
- if empty_master.html is really empty, the includer TW opens as usual
- if there's any one tidder in empty_master.html, which has or has not
a namesake in the includer, the includer opens as a blank page, in
both Opera (11.50) and FireFox (4.0.1).

Did I anything wrong?

Yakov.

Yakov

unread,
Jul 4, 2011, 11:54:03 AM7/4/11
to TiddlyWiki
Forgot to mention: both TWs are 2.6.0.
----
Any MasterIncludesPlugin users? Tobias, may be you can help with
installation? Or perhaps FND?
Reply all
Reply to author
Forward
0 new messages