Thank you Stephan for your answer.

I'm not afraid of using javascript, but I don't know yet what is the better 
way to include JS into TW.
There is no option to empty the temporary tiddler after creating the new 
tiddler? I mean, maybe chaining several actions or invisible buttons? 

Thank you very much for your support but I think here is the same 
documentation issue that is affecting the whole TW thing. I got an example 
of the newtiddler widget in TW5 Magic, but the documentation about it is 
at http://tiddlystuff.tiddlyspot.com/. It is true that there is a reference 
to it (sorry, I didn't saw it before) but again, you have to navigate to 
other website.

Anyway, I think your approach is good enough, and in this case it was  my 
fault.

El domingo, 26 de enero de 2014 08:42:47 UTC+1, Stephan Hradek escribió:
>
>
>
> Am Sonntag, 26. Januar 2014 06:57:36 UTC+1 schrieb Danielo Rodríguez:
>>
>> Hello Stephan  (and every other that can answer)
>>
>> I'm trying to understand the Contacts DB example from 
>> http://tw5magick.tiddlyspot.com/, but I'm stucked.
>>
>> This is what I understood
>>
>>    - There is a template to create new tiddlers
>>
>> The new tiddler is created withe the newtiddler widget's button. There is 
> a template to edit the fields of this new tiddler.
>
>>
>>    - There is a temporary tiddler, but I don't understand at all how it 
>>    works. What field are you editing of that tiddler? I suppose just the 
>>    content, since you transclude it to the new tiddler.
>>
>> Correct: I edit the content of this temp-tiddler. 
>
>>
>>    - A button that passes parameters to the newtiddler widget, the 
>>    content of the temp tiddler as title. But I don't understand the  
>> edit="no"
>>
>> This is the newtidder widget's button (The + sign). It's taking the temp 
> tiddler's content. «edit="no"» is explained on 
> http://tiddlystuff.tiddlyspot.com/ 
>
>> This defines wether to open the new tiddler in edit mode. Must be one of 
>> "yes", "no", "show" or (not implemented yet) "inline". Defaults to "yes".
>
>  
>
>>
>>    - I understand the role of the $set widget, but I never imagined 
>>    using it this way.
>>
>> What I want to achieve (right now) is to empty the edit-text widget after 
>> creating the new tiddler.
>>
> I doubt you can achieve this without using javascript. In my case it is 
> emptied when you close the edit fields. But this is just a side effect - or 
> better - this is how it works ;) The edit fields show up when the entrie's 
> title is identical to the content of the temp-tiddler. So in order for the 
> edit fields to show up, I put the title into the temp tiddler. Done by the 
> "pen"-button after the entries. When you then click the "check"-button, the 
> temp tiddler is simply emptied and so the edit fields vanish and the 
> edit-text widget (of course) is also emptied.
>
> So the only way you can achieve your goal at the moment is by clicking a 
> kind of "clear" button.
>  
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to