[tw] Re: Hide groups of fields in the EditTemplate based on prefix?

2017-07-02 Thread Joshua Fontany
Hi PMario,

This was one of the possible solutions I was considering. I went with this 
method to prototype out stuff. It worked well, thanks for the suggestion.

I'm going to combine it with Mat's solution (down thread) for some neat 
dynamics.

Best,
Joshua

On Tuesday, June 27, 2017 at 8:58:54 PM UTC-7, PMario wrote:
>
> Hi Joshua,
>
> IMO you just need to place your custom fields: contact.*, character.*, 
> ruleset.* into your own namespace. 
> eg: rpg.character.something, rpg.ruleset.*, rpg.* ... Can you see it?
>
> Now your filter can be: [all[current]fields[]!prefix[rpg.]] +[sort[title]]
>
> short test: < +[sort[title]]">>
>
> you can have / hide as many custom fields as you want. ... and ... you can 
> have several namespaces too!
>
> If you want to make it as short as possible you can use "_." or even "." 
> as prefixes. ... but I'd go with a 3 letter prefix. It works nicely and has 
> many possibilities. 
>
> have fun!
> mario
>

-- 
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/767625cc-438b-4ef7-a3ec-08ede67b4ec5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hide groups of fields in the EditTemplate based on prefix?

2017-07-02 Thread Joshua Fontany
Hi Mat,

That is a really neat solution!

I am doing something similar with tagging to allow a centralized View and 
Edit Template tiddler to dynamically transclude the appropriate View and 
Edit templates for each of my "CampaignWiki Tiddler Types" : Player, 
Character, Company, Faction, Location, Item, etc. So I immediately saw what 
you were doing, NEAT.

I will definitely post my wiki up once I have some of the base category 
sheets worked out. Working on Players and Characters first. I intend to 
seperate the Campaign-logic from the rule-set logic, so Character tiddlers 
can have multiple ruleset's stats (ed4.strength, ed4.dexterity, 
ed4.toughness  d, d, D), and 
have a tabbed system that allows you to flip through those if you have 
multiple rulesets "installed". That is a ways down the todo-list, but I 
have to lay the foundation first.

And this really helped. Thanks!

On Thursday, June 29, 2017 at 5:00:38 PM UTC-7, Mat wrote:
>
> @Joshua, you may peek at my answer (which I believe is exactly what you 
> want) only if you first promise that you'll share something from your final 
> creation that is of joy or benefit to others here ;-)
>
> http://hidefields.tiddlyspot.com/
>
> <:-)
>

-- 
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/a717a641-8922-47b2-adf8-2cb233254c46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hide groups of fields in the EditTemplate based on prefix?

2017-06-29 Thread Mat
@Joshua, you may peek at my answer (which I believe is exactly what you 
want) only if you first promise that you'll share something from your final 
creation that is of joy or benefit to others here ;-)

http://hidefields.tiddlyspot.com/

<:-)

-- 
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/f3193ffa-5ef7-4222-9242-9e0a35fe8ea1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hide groups of fields in the EditTemplate based on prefix?

2017-06-28 Thread Jed Carty
This isn't directly related to your question, but in my experience it is 
better to separate the visualisation and data parts. I normally have many 
data tiddler that have as many fields or indexes as needed and then have 
one viewer tiddler where you select what you want to view. It lets you 
decide what is shown and editable and what isn't without having to worry 
about what is stored in the tiddler you are currently looking at.

-- 
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/e77d4425-8db7-4417-8042-d17de0b5aded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hide groups of fields in the EditTemplate based on prefix?

2017-06-27 Thread PMario
Hi Joshua,

IMO you just need to place your custom fields: contact.*, character.*, 
ruleset.* into your own namespace. 
eg: rpg.character.something, rpg.ruleset.*, rpg.* ... Can you see it?

Now your filter can be: [all[current]fields[]!prefix[rpg.]] +[sort[title]]

short test: <>

you can have / hide as many custom fields as you want. ... and ... you can 
have several namespaces too!

If you want to make it as short as possible you can use "_." or even "." as 
prefixes. ... but I'd go with a 3 letter prefix. It works nicely and has 
many possibilities. 

have fun!
mario

-- 
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/5b0eb312-5705-4b49-9867-a1af938173a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.