Mr BJ
I have to say you are a man that DOES.
J, x
On Friday, 25 November 2016 18:43:14 UTC+1, BJ wrote:
>
> It is possible to add variables to the modal:
>
> <$action-sendmessage $message="tm-modal" $param="$:/_mc/frm/Slash Cmd
> Entry" text="" x="$(x)$"/>
>
> and you can create the value of x by adding:
> <$action-setfield $tiddler="""$(MCPlugin)$""" $field=text $value="<$vars
> x=<<currentTiddler>>>{{$:/_mc/btn/addMCPSlashCmd}}<$/vars>"/>
>
> to your $:/_mc/btn/saveMCPlugin
>
> then in your $:/_mc/btn/saveMCSCmd have
>
> <$action-setfield $tiddler='$:/_mc/tmp/addSlashCmd/tags' $field='tags'
> $value=$(x)$/>
>
>
> all the best BJ
>
> On Tuesday, November 22, 2016 at 7:48:03 PM UTC+1, [email protected]
> wrote:
>>
>> Greetings!
>>
>> I'm working on a project to create documentation around a Minecraft
>> server I'm attempting to set up. I created a button to bring up a tiddler
>> as a data entry form to create the tiddlers for each plugin. I'm now trying
>> to create buttons to have them added on creation of a plugin tiddler to add
>> permissions as well as slash commands.
>>
>> I'd like to have my tiddlers for slash commands as well as permissions
>> include the parent tag (the name of the plugin tiddler). The problem I'm
>> running into is that I made the buttons to launch data entry tiddlers and
>> if I'm attempting to create a new slash command tiddler, I'm not sure how
>> to add the tag of the parent tiddler to the new one.
>>
>> Using <<currentTiddler>> doesn't work because technically the current
>> tiddler is the data entry form. I've tried using bits and pieces from
>> TiddlyPack, CategoryLists, and bottomOfTiddler macro but I can't seem to
>> wrap my head around this. My current project can be viewed at
>> http://minecraft.tiddlyspot.com/
>>
>> *Example:*
>>
>> - Click on Plugins
>> - Click Add Plugin
>> - Entry the plugin name
>> - Click Save and then Close
>> - Click the title of the newly created plugin tiddler
>> - Clicking the button for adding a slash command should open a data entry
>> form tiddler however, the new tiddler created should also be tagged with
>> the name of the plugin
>>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/871b3e78-57aa-4aba-9ae6-5de77e1bc4af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.