[tw] Re: [TW5] Overriding $:/core/images/save-button with a PNG file

2016-04-08 Thread Hegart Dmishiv
Also, while we're on the subject, I've just noticed that opening a SubStory 
 sets the TiddlyWiki to 
dirty. Is there some way of preventing that from happening?

Hegart.


On Saturday, 9 April 2016 12:16:31 UTC+12, Hegart Dmishiv wrote:
>
> That sounds like a perfect solution, thanks *Mat* and *c pa*. A nice red 
> border around the blue floppy disk PNG icon would be quite fine, I reckon. 
> Now, where do I put the code to set the styling on the PNG image? This is 
> the part that I will really need some help with.
>
> Hegart.
>
>
> On Saturday, 9 April 2016 11:20:15 UTC+12, c pa wrote:
>>
>> Excellent:
>>
>> So what twaddle says is that you need to provide styling for your icon 
>> like
>>
>> .tc-dirty-indicator {border: 3px solid red}
>>
>> or something like that
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/e9ef532f-778e-4e35-b1ef-eb78996955d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Overriding $:/core/images/save-button with a PNG file

2016-04-08 Thread Hegart Dmishiv
That sounds like a perfect solution, thanks *Mat* and *c pa*. A nice red 
border around the blue floppy disk PNG icon would be quite fine, I reckon. 
Now, where do I put the code to set the styling on the PNG image? This is 
the part that I really will really need some help with.

Hegart.


On Saturday, 9 April 2016 11:20:15 UTC+12, c pa wrote:
>
> Excellent:
>
> So what twaddle says is that you need to provide styling for your icon like
>
> .tc-dirty-indicator {border: 3px solid red}
>
> or something like that
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/988c2224-9313-4d4c-8710-6140169237ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Overriding $:/core/images/save-button with a PNG file

2016-04-08 Thread 'c pa' via TiddlyWiki
Excellent:

So what twaddle says is that you need to provide styling for your icon like

.tc-dirty-indicator {border: 3px solid red}

or something like that

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0889775d-c3da-4d89-b46b-391fe2e99640%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Overriding $:/core/images/save-button with a PNG file

2016-04-08 Thread Mat
http://twaddle.tiddlyspot.com/#How%20to%20apply%20styling%20to%20core%20images

<:-) 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/15548df2-9d79-4b8b-a580-00525ec8c7bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2016-04-08 Thread Hegart Dmishiv
Hi *c pa*,

Wow, thanks, you've given us much to think about. I like the idea of 
populating the caption from the name fields, I hadn't thought about that. 
Thanks, we'll pull your demo apart and find out what makes it tick. Lots of 
great ideas here!

Hegart.


On Saturday, 9 April 2016 10:06:04 UTC+12, c pa wrote:
>
> Yes the title is inviolate, meaning if you want to manage first name and 
> surname as separate fields (make sure to add Middle Initials) and display 
> the record as {{!!first}} {{!!mi}} {{!!last}} then I would go with the 
> GUUID idea and hide the title. I'd also store the {{!!first}} {{!!mi}} 
> {{!!last}} value as the caption in the tiddler so you can display the 
> fullname in TOCs etc.
>
> I built a little CRM demo here: http://cpashow.tiddlyspot.com/#CRM to 
> show how I build relationships. What's missing with this is the one to many 
> relationships (which I'm still working on) (and I didn't create a tiddler 
> named "call" to provide the edit template for phone calls.
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/fe98bbdd-5f62-44e0-922a-b71253c1ef75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2016-04-08 Thread 'c pa' via TiddlyWiki
Yes the title is inviolate, meaning if you want to manage first name and 
surname as separate fields (make sure to add Middle Initials) and display 
the record as {{!!first}} {{!!mi}} {{!!last}} then I would go with the 
GUUID idea and hide the title. I'd also store the {{!!first}} {{!!mi}} 
{{!!last}} value as the caption in the tiddler so you can display the 
fullname in TOCs etc.

I built a little CRM demo here: http://cpashow.tiddlyspot.com/#CRM to show 
how I build relationships. What's missing with this is the one to many 
relationships (which I'm still working on) (and I didn't create a tiddler 
named "call" to provide the edit template for phone calls.


-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/04d7fb40-b105-4d31-ba44-b84c5cc6152a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Overriding $:/core/images/save-button with a PNG file

2016-04-08 Thread Hegart Dmishiv
Hi all,

In our *{{DesignWrite}}* semester project, we have overridden many of the 
*$:/core/images* SVG files with PNGs from the Farm Fresh Web Icons 
 collection, as they give the feel of 
"simplicity" and "for dummies" that we're trying to attain as part of the 
project. One problem we've encountered is when trying to override the 
*$:/core/images/save-button* tiddler with a blue floppy disk icon, it will 
no longer be able to be automatically coloured red when changes need to be 
saved. Is there some way to emulate the SVG's functionality here by 
providing a second PNG file, of a red floppy disk icon, to show when 
changes need saving? I guess this would require some heavy-duty core 
programming to make that work, and I have no idea how to do that part.

You can see a demo of our project so far, with the overridden icons, here 

.

Hegart.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/be0c52d8-fa31-4f2d-97a5-b13a4e1e76ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2016-04-08 Thread Hegart Dmishiv
Hi *c pa*, thanks for that. So, it looks like once your "person" object 
tiddler has been created, its title field is inviolate, and cannot be 
edited by the user. What is the initial value of the title field at 
creation time? If it is a name, say  title:Joe Bloggs, what happens when 
the user then comes along and uses your *<$edit>* widgets to change the 
firstname and surname fields to firstname:Jane and surname:Doe but the title 
still shows as title:Joe Bloggs? That is one of the things I'm trying to 
avoid having happen.

Hegart.


On Saturday, 9 April 2016 06:46:57 UTC+12, c pa wrote:
>
> Hegert,
>
> The techniques that I am using are as follows:
>
> 1. Create a defined tag for each object type (person, company, call, 
> document, etc. ) (tag names are all lower case)
> 2. Create a tiddler for each object type tag and tag that tiddler with 
> "object"
> 3. Edit the object tiddler to create an edit screen for the object type to 
> allow the user to edit fields of the object
>
> e.g.:
> title: person
> text:
> First Name: <$edit field="firstname" />
> Surname: <$edit field="surname" />
> Employer: (One tiddler reference allowed) <$select field="employer">
>  -- 
> <$list filter="[tag[company]]">
> > ><>
> 
> 
> Siblings: (One to many relationship) <>
>
> 4. Create a viewTemplate that displays the object tiddler at the top of 
> the tiddler (So the user, when directly viewing the tiddler, can edit the 
> fields) (Note they cannot edit the field: text)
> 5. In addition I almost always create a navigation tiddler with < person>> and an <> widgets so I can manage the objects 
> from a central point
>
> I've been working on a standardized set of macros for this that I've 
> posted as the listHere tiddler on cpashow.tiddlyspot.com but I'm still 
> changing things for wvwey new tiddlywiki I create but I've got lots of code 
> you can use.
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/26bbb187-9cbf-439e-867b-33999ae589d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2016-04-08 Thread 'c pa' via TiddlyWiki
Hegert,

The techniques that I am using are as follows:

1. Create a defined tag for each object type (person, company, call, 
document, etc. ) (tag names are all lower case)
2. Create a tiddler for each object type tag and tag that tiddler with 
"object"
3. Edit the object tiddler to create an edit screen for the object type to 
allow the user to edit fields of the object

e.g.:
title: person
text:
First Name: <$edit field="firstname" />
Surname: <$edit field="surname" />
Employer: (One tiddler reference allowed) <$select field="employer">
 -- 
<$list filter="[tag[company]]">
> ><>


Siblings: (One to many relationship) <>

4. Create a viewTemplate that displays the object tiddler at the top of the 
tiddler (So the user, when directly viewing the tiddler, can edit the 
fields) (Note they cannot edit the field: text)
5. In addition I almost always create a navigation tiddler with <> and an <> widgets so I can manage the objects 
from a central point

I've been working on a standardized set of macros for this that I've posted 
as the listHere tiddler on cpashow.tiddlyspot.com but I'm still changing 
things for wvwey new tiddlywiki I create but I've got lots of code you can 
use.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/86a5c759-c4dc-4d8e-a254-c591948c9910%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Linking to definitions

2016-04-08 Thread 'c pa' via TiddlyWiki
Lyn,

Yes. TiddlyWiki can be used for context based definitions. Of course to 
make it work you need well defined contexts and terms. 
I've created a demo of what you can do with context based definitions here: 
http://cpashow.tiddlyspot.com/#Context%20based%20definitions

I've often thought about this problem. Could you describe what you are 
thinking of? Provide an example of the contexts and terms you would want to 
use?

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/461cba16-e9b5-481a-b09c-c2f6b9112dd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Incorporating Exhibit/JSON within Tiddlywiki

2016-04-08 Thread csviks


On Thursday, April 7, 2016 at 2:49:52 PM UTC-5, Mat wrote:
>
> I can't answer your question, but it sounds interesting so I just want to 
> make sure I understand; Are you asking to use the JSON file as a database 
> and have TW (i.e TW5) load and display this data? And without intermediary 
> conversions? And to have the data be presented as actual wikitext, i.e with 
> links to other tiddlers etc?
>
> And, btw, is the JSON file and the TW file to be stored on the same server?
>
> <:-)
>

Yes, Mat. This is all part of my wish list...I'll put in some time to see 
how far I can get based on Jeremy's idea. I typically create my reference 
bib file by hand in emacs. I then use simile to convert all of the BIB data 
into a JSON file that is then picked up and displayed. I wanted to do this 
within TW5 to avoid maintaining a separate publications page as here:
 www.biostat.wisc.edu/~vsingh/researchexhibit.html 


--Vikas


 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/51411d93-3b2d-4e57-b5fd-4f0c4c7df849%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Incorporating Exhibit/JSON within Tiddlywiki

2016-04-08 Thread csviks


>
> I’ve attached the resulting publications.json file. You can drag it into 
> an empty TiddlyWiki in a browser window to see how the data is imported. It 
> looks like there would be some manual tweaks required to fix issues like 
> inline LaTeX fragments, but perhaps you can use it to get started.
>
> Best wishes
>
> Jeremy,
>
>
Thanks Alex, Mat and Jeremy. 


Yes, this is approximately what I am looking for. Ideally, I'd like to have 
the ability to simply update the JSON file with more publications (without 
touching the TW file at all) --- and the Tiddlywiki dynamically picks up 
whatever content is in the JSON and display it. If that seems too 
difficult, I'll work with the drag-and-drop suggestion. 

Background: I am updating my super super old Tiddlywiki based academic 
homepage from ~12 years back to the new TW version and am exploring whether 
I can avoid maintaining a standalone page for my publication. Having it all 
unified within TW will be fantastic. 

My current JSON file generated via simile is at 
http://pages.cs.wisc.edu/~vsingh/vikasdata.json
and the corresponding exhibit version is at
www.biostat.wisc.edu/~vsingh/researchexhibit.html

thanks!

--Vikas













 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/7c86deeb-804b-42e2-8077-51e482aa33ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Can you make a link to "new tiddler" button?

2016-04-08 Thread Jed Carty
It is possible and I have done a bit of work making a wiki take input from the 
url. What I did requires changes in the core and while the changes aren't 
difficult we need a well thought out convention for how inputs are used. There 
may be an easier way than this for what you want though. 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/453ce855-d749-4344-9f55-0f80a47841f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [tw] Re: [TW5] Preferential Caption/Title from list

2016-04-08 Thread infurnoape


Oh, of course. You are the best Eric. Thank you.


Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5

 Original message 
From: Eric Shulman  
Date: 04/07/2016  2:36 PM  (GMT-07:00) 
To: TiddlyWiki  
Subject: [tw] Re: [TW5] Preferential Caption/Title from list 

On Thursday, April 7, 2016 at 1:35:17 PM UTC-7, Andrew wrote:Is there a way to 
do:<$view field='caption'><$view field='title'/>using some kind of 
modifed version of{{{ [list[$:/TiddlerNameWithListField]] }}}???The 
transclusion lists all the titles that are in the list field but what I want is 
IF the title listed has a caption, show the caption instead of the title but 
still have the final output sorted.
To get custom output from a filter, use the $list widget.  Something like this:
<$list filter="[list[$:/TiddlerNameWithListField]]">
   <$view field='caption'><$view field='title'/>

enjoy,-e




-- 

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 tiddlywiki+unsubscr...@googlegroups.com.

To post to this group, send email to tiddlywiki@googlegroups.com.

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/07cade0f-a1ae-40a4-a877-dbd552310f9e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/muuyfs2ipirafoe1wcfik2cv.1460122540078%40email.android.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag "alias" in connection with a navigating TOC

2016-04-08 Thread The Bo
Hi Richard,

Your hint is very good. I would prefer to implement it into "matches title" 
and "matches all" search maybe as a fallback from caption to title. 

I already found a way to show the caption with a fallback to title at the 
results by changing the $:/core/ui/ListItemTemplate

<$view field="title">

to

>  <$view field="caption"><$view field="title">
>

Regards
The Bo
Am Donnerstag, 7. April 2016 15:58:33 UTC+2 schrieb RichardWilliamSmith:
>
> Hi The Bo,
>
> If you overwrite the core tiddler $:/core/ui/DefaultSearchResultList, you 
> can add a section to make it search the caption field too.
>
> \define searchResultList()
>> //{{$:/language/Search/Matches/Title}}//
>> <$list 
>> filter="[!is[system]search:title{$(searchTiddler)$}sort[title]limit[250]]" 
>> template="$:/core/ui/ListItemTemplate"/>
>> //Caption Matches//
>> <$list 
>> filter="[!is[system]search:caption{$(searchTiddler)$}sort[title]limit[250]]" 
>> template="$:/core/ui/ListItemTemplate"/>
>> //{{$:/language/Search/Matches/All}}//
>> <$list 
>> filter="[!is[system]search{$(searchTiddler)$}sort[title]limit[250]]" 
>> template="$:/core/ui/ListItemTemplate"/>
>> \end
>> <>
>
>
> This is quite hacky - you'd need to re-do it each time you upgrade to a 
> new version - but I'm not sure what the preferred way to over-ride the UI 
> actually is.
>
> Regards.
> Richard
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/efbe3600-fe44-4cbd-94c4-8c460e029635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Can you make a link to "new tiddler" button?

2016-04-08 Thread HC Haase
Is it possible to make a link to the "new tiddler" button?


why?

This way, When I have a fantastic Idea I can have a bookmark/shortcut/link 
that I can press and immediately get a tiddler open for editing in my TW.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/385ecb9e-5093-4237-becf-56637372b571%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.