Hi Ohrange,
Welcome at tiddly tweaking.
Go to this spot: http://wordcountmacro.tiddlyspot.com/
Open the tiddler, and copy paste the whole stuff into a new tiddler in
your tw.
Name the tiddler: WordCountMacro
tag the tiddler: systemConfig
save and reload
create a new tiddler: eg: test
some text goes here
<<wordCount>>
should work.
====
If you want to have the display in every tiddler, it is needed to
change your view template.
Since MPTW uses themes, open your MptwTheme and have a look at the !
ViewTemplate section.
Add:
<div style="font-size:150%">(<span macro="wordCount"></span> words)</
div>
just above this line
<div macro="showWhen
tiddler.tags.containsAny(['css','html','pre','systemConfig']) && !
tiddler.text.match('{{'+'{')">
like so:
<div style="font-size:150%">(<span macro="wordCount"></span> words)</
div>
<div macro="showWhen
tiddler.tags.containsAny(['css','html','pre','systemConfig']) && !
tiddler.text.match('{{'+'{')">
May be you want to reduce the font-size:
If you need more Info, let us know.
have fun!
mario
On Nov 11, 11:12 pm, Ohrange <[email protected]> wrote:
> Found
> this:http://groups.google.com/group/tiddlywiki/browse_thread/thread/c5e930...
> but I can't get it to work in my current MPTW.
>
> Also, it would be cool if a tiddler could display the total number of
> words in all the tiddlers that I've written, and tiddlers with a
> particular tag.
>
> I'm pretty new to any of this TW modifying stuff.
>
> Thanks
--
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.