I'm still struggling with this. I tried your suggestion, but the 
"Insertbefore" is not giving me a return.

Here is a copy of the relevant code using the listbefore operand:

\define droppable-projectnotes() <$action-listtops 
$tiddler=<<actionTiddler>> $tags="+[insertbefore<currentTiddler>] \end 
<$droppable 
actions=<<droppable-projectnotes>>>{{$:/core/images/copy-clipboard}}AddProjectNotes</$droppable>
 

I as not able to find any examples in the documentation of the listbefore 
operand being used. Perhaps I am missing something.

Do you have any suggestions. I appreciate all of the suggestions I get from 
this forum, and I find much in this forum helpful.

Merv


On Saturday, July 15, 2017 at 9:25:58 AM UTC-6, Eric Shulman wrote:
>
> On Saturday, July 15, 2017 at 7:21:07 AM UTC-7, mervin mecklenburg wrote:
>>
>> I want to make a dropzone that tags the action tiddler, or the tiddler 
>> dragged into the dropzone, with the title of the tiddler hosting the drop 
>> zone. The solution I have created works unless the proposed tag has more 
>> than one word; then each word presents as a separate tag; ie, if the 
>> hosting tiddler is entitled "DropZone" my solution works fine, but if 
>> the title is "Drop Zone," then two tags are produced, "Drop" and "Zone." I 
>> need the entire title to be one tag.
>>
>>
>> Here is an example of my code:
>>
>>
>> \define droppable-projectnotes() <$action-listops 
>> $tiddler=<<actionTiddler>> $tags="+[append<currentTiddler>]"/> \end 
>>
>
> The parameter for the append[...] list-ops filter expects a *list* of 
> values to add.  As a result, spaces are treated as separators between 
> individual tags "Drop" and "Zone".
>
> Try using the insertbefore[...] filter instead: 
> http://tiddlywiki.com/#insertbefore%20Operator.  As noted in the 
> documentation, if you do not specify the "B" (before) tiddler as a suffix, 
> the new value is added to the *end* of the list.  Something like this:
>
> <$action-listops $tiddler=<<actionTiddler>> $tags="+[insertbefore<
> currentTiddler>]"/>
>
> Let me know how it goes.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools.com: "Small Tools for Big Ideas" (tm)
> InsideTiddlyWiki: The Missing Manuals
>

-- 
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/90892893-bd88-4154-ab67-22f44f86c27c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to