Nevermind, I figured it out.

I was trying to make changes to MptwLayoutPlugin directly when I
should have been just editing the MptwEditTemplate.  I've only edited
these in regular TWs and didn't really understand how this one worked.

On Oct 4, 9:02 pm, Dave Parker <[email protected]> wrote:
> Um, I'm having a little difficulty getting this to work.  From the
> plugin usage line I'm assuming I have to add this:
>
> <span macro='setUserName'></span>
>
> to the edit template section of the customized edit template, which is
> MptwLayoutPlugin.  I tried it before the first div, and here as well:
>
> 'MptwEditTemplate':[
>  "<!--{{{-->",
>  "<!---http://mptw.tiddlyspot.com/#MptwEditTemplate($Rev: 1829 $) --->",
>
>  "<div class=\"toolbar\" macro=\"toolbar +saveTiddler saveCloseTiddler
> closeOthers -cancelTiddler cancelCloseTiddler deleteTiddler\"></div>",
>  "<div class=\"title\" macro=\"view title\"></div>",
>  "<div class=\"editLabel\">Title</div><div class=\"editor\" macro=
> \"edit title\"></div>",
>  "<div class=\"editLabel\">Tags</div><div class=\"editor\" macro=
> \"edit tags\"></div>",
>  "<div class=\"editorFooter\"><span macro=\"message
> views.editor.tagPrompt\"></span><span macro=\"tagChooser\"></span></
> div>",
>  "<div macro=\"showWhenExists EditPanelTemplate\">[[EditPanelTemplate]]
> </div>",
>  "<div class=\"editor\" macro=\"edit text\"></div>",
>  "<span macro='setUserName'></span>",
>  "<!--}}}-->"
> ].join("\n"),
>
> If I'm supposed to use this (<<setUserName force>>) as well, I'm not
> sure where I'd put it.  What I'd like is for the username to be
> ignored unless someone edits, and then get prompted at that point on
> the first edit.
>
> Please advise,
> thanks,
> Dave
>
> On Oct 3, 12:35 pm, cedardoc <[email protected]> wrote:
>
> > thank you Eric,
> > have a great weekend.
>
> > On Oct 3, 12:32 pm, Eric Shulman <[email protected]> wrote:
>
> > > > new plugin repository athttp://plugins.tiddlywiki.org/plugins
> > > > and at tiddlytools, but I'm probably not using the right
> > > > search terms...
> > > > Does anyone remember what that's called and where I can get it?\
>
> > > Searching TiddlyHub for "username" finds:
> > >    http://plugins.tiddlywiki.org/plugins/148/SetUserNamePlugin/
> > > which is, of course, a reference to
> > >    http://www.TiddlyTools.com/#SetUserNamePlugin
>
> > > enjoy
> > > -e
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to