[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-06 Thread talha131


Thank you Saq. This was helpful. I ran it on a couple of shadow tiddlers 
and fixed my configuration using compareTiddlerText.
​

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/27aab8a5-f1f5-4160-8a25-e70682f35f8bo%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-02 Thread TW Tones
Funny;


<$list 
filter="""[[$:/core/ui/ListItemTemplate]subtiddlerfields[$:/core]]""" 
emptyMessage="(empty)">

<$link><$view field="title"  />



Worked for me

Sorry, Forgot to hit POST yesterday

We have to now ask for the content of the fields get operator, but we need 
the correct tiddler name te default., I will look closer later for you

Regards
Tony


On Wednesday, 2 September 2020 18:42:31 UTC+10, talha131 wrote:
>
> Tones, can you please share an example of using subtiddlerfields 
> correctly. This is what I have tried.
>
> <$list 
> filter="""[[$:/core/ui/ListItemTemplate]subtiddlerfields[$:/core]]""" 
> emptyMessage="(empty)">
> 
> <$link><$view field="title"  />
> 
>
> It shows me “title” and “text”, but I cannot view the actual values of 
> “title” or “text” fields. 
>
> On Tuesday, September 1, 2020 at 4:39:12 AM UTC+5, TW Tones wrote:
>
> FYI:
>>
>> If the shadow has being edited <$text 
>> text={{$:/core/ui/ListItemTemplate}}/> will show the updated content, not 
>> the original content.
>>
>> To find the original content you can use the 
>> https://tiddlywiki.com/#subtiddlerfields%20Operator but you need to know 
>> the plugin it belongs to
>>
>> Interactive access
>>
>>- Keep in mind that the editor preview has an option to compare the 
>>current overridden shadow with the shadow
>>- The Info button on any tiddler > advanced tag tells you the status 
>>of shadow tiddlers.
>>
>> Regards
>> Tony
>>
>> On Monday, 31 August 2020 21:20:30 UTC+10, talha131 wrote:
>>>
>>> Thanks a lot, Saq. This fixed the issue
>>>
>>> 
>>> <$text text={{$:/core/ui/ListItemTemplate}}/>
>>> 
>>>
>>> ​
>>>
>> ​
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c9ec14cf-5458-4cd8-b4f3-f897497a44b9o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-02 Thread Saq Imtiaz
@talha131

The subtiddlerfields filter is supposed to do just that, give you a list of 
fields that exist in the subtiddlers of a plugin. So I am not entirely sure 
why you were pointed in that direction, maybe Tony had some other approach 
in mind that I cannot think of at the moment.

To see the original content of a shadow tiddler you can do this:


<$view tiddler="$:/core" subtiddler="$:/core/ui/ListItemTemplate" />


Or to see the diff between the current copy of the tiddler and the original 
shadow version:

<>

To compare all fields and not just the text:
<>

See  
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/wiki/macros/diff.tid  
 for 
more parameters for those macros.

Cheers,
Saq




On Wednesday, September 2, 2020 at 10:42:31 AM UTC+2 talha131 wrote:

> Tones, can you please share an example of using subtiddlerfields 
> correctly. This is what I have tried.
>
> <$list 
> filter="""[[$:/core/ui/ListItemTemplate]subtiddlerfields[$:/core]]""" 
> emptyMessage="(empty)">
>
>
> 
> <$link><$view field="title"  />
> 
>
>  It shows me “title” and “text”, but I cannot view the actual values of 
> “title” or “text” fields. 
>
> On Tuesday, September 1, 2020 at 4:39:12 AM UTC+5, TW Tones wrote:
>
> FYI:
>>
>> If the shadow has being edited <$text 
>> text={{$:/core/ui/ListItemTemplate}}/> will show the updated content, not 
>> the original content.
>>
>> To find the original content you can use the 
>> https://tiddlywiki.com/#subtiddlerfields%20Operator but you need to know 
>> the plugin it belongs to
>>
>> Interactive access
>>
>>- Keep in mind that the editor preview has an option to compare the 
>>current overridden shadow with the shadow
>>- The Info button on any tiddler > advanced tag tells you the status 
>>of shadow tiddlers.
>>
>> Regards
>> Tony
>>
>> On Monday, 31 August 2020 21:20:30 UTC+10, talha131 wrote:
>>>
>>> Thanks a lot, Saq. This fixed the issue
>>>
>>> 
>>> <$text text={{$:/core/ui/ListItemTemplate}}/>
>>> 
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de7e288c-aa03-471c-9d58-93ad29284f53n%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-02 Thread talha131


Tones, can you please share an example of using subtiddlerfields correctly. 
This is what I have tried.

<$list 
filter="""[[$:/core/ui/ListItemTemplate]subtiddlerfields[$:/core]]""" 
emptyMessage="(empty)">

<$link><$view field="title"  />


It shows me “title” and “text”, but I cannot view the actual values of 
“title” or “text” fields. 

On Tuesday, September 1, 2020 at 4:39:12 AM UTC+5, TW Tones wrote:

FYI:
>
> If the shadow has being edited <$text 
> text={{$:/core/ui/ListItemTemplate}}/> will show the updated content, not 
> the original content.
>
> To find the original content you can use the 
> https://tiddlywiki.com/#subtiddlerfields%20Operator but you need to know 
> the plugin it belongs to
>
> Interactive access
>
>- Keep in mind that the editor preview has an option to compare the 
>current overridden shadow with the shadow
>- The Info button on any tiddler > advanced tag tells you the status 
>of shadow tiddlers.
>
> Regards
> Tony
>
> On Monday, 31 August 2020 21:20:30 UTC+10, talha131 wrote:
>>
>> Thanks a lot, Saq. This fixed the issue
>>
>> 
>> <$text text={{$:/core/ui/ListItemTemplate}}/>
>> 
>>
>> ​
>>
> ​

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8a9ef248-3743-469c-af7b-bc1c00a3d092o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-02 Thread talha131


Thank you Tones. For anyone else coming to this thread, this is how you can 
find the “plugin that contains a shadow tiddler”.

For example, to find the source plugin of $:/core/ui/ListItemTemplate, use 
this code

! Show Plugin that contains the Shadow Tiddler

<$list filter="""[[$:/core/ui/ListItemTemplate]shadowsource[]]""" 
emptyMessage="(empty)">

<$link><$view field="title"/>


​

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6dcd7e7-d328-4517-ac6a-3a488af787ceo%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-01 Thread TW Tones
Talha

Your welcome, 

by the way

I said how 

To find the original content you can use the subtiddlerfields operator 
 but you need to know 
the plugin it belongs to
Since we "*need to know the plugin it belongs to*“

If you know the plugin eg core, [[$:/core]plugintiddlers[]]
Helps you find the "shadow" tiddlers within it

But if you know the shadow tiddler
and want to find its plugin source use the shadowsource operator 


Regards
Tony


On Tuesday, 1 September 2020 22:39:34 UTC+10, talha131 wrote:
>
> Keep in mind that the editor preview has an option to compare the current 
> overridden shadow with the shadow
>
> Thank you Tones. This is valuable. I was not aware of this feature.
> ​
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/98dcbbfb--4a13-834b-7d7e681fd2c8o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-01 Thread talha131


Keep in mind that the editor preview has an option to compare the current 
overridden shadow with the shadow

Thank you Tones. This is valuable. I was not aware of this feature.
​

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b7f04441-b7a7-4482-9d28-fa5a2e04e127o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-08-31 Thread TW Tones
FYI:

If the shadow has being edited <$text 
text={{$:/core/ui/ListItemTemplate}}/> will show the updated content, not 
the original content.

To find the original content you can use 
the https://tiddlywiki.com/#subtiddlerfields%20Operator but you need to 
know the plugin it belongs to

Interactive access

   - Keep in mind that the editor preview has an option to compare the 
   current overridden shadow with the shadow
   - The Info button on any tiddler > advanced tag tells you the status of 
   shadow tiddlers.

Regards
Tony

On Monday, 31 August 2020 21:20:30 UTC+10, talha131 wrote:
>
> Thanks a lot, Saq. This fixed the issue
>
> 
> <$text text={{$:/core/ui/ListItemTemplate}}/>
> 
>
> ​
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/630dab5f-18e4-4b46-8653-dff2da8ee916o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-08-31 Thread talha131


Thanks a lot, Saq. This fixed the issue


<$text text={{$:/core/ui/ListItemTemplate}}/>


​

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f5924424-8711-422a-ab17-bcc331475d86o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-08-31 Thread Saq Imtiaz
Try this:

<$text text={{$:/core/ui/ListItemTemplate}}/>

On Monday, August 31, 2020 at 12:06:09 PM UTC+2 talha131 wrote:

> Is it possible to transclude the contents of a shadow tiddler?
>
> I want to display raw contents of $:/core/ui/ListItemTemplate inside a 
> tiddler.
>
> I have tried
>
> {{$:/core/ui/ListItemTemplate}}
>
> <$transclude tiddler="$:/core/ui/ListItemTemplate" mode="block" />
>
> One shows the link and other the output. Both does not show the content of 
> the tiddler.
> Why? 
>
> I am actually trying to document my TiddlyWiki configuration inside TW. I 
> am trying to write a tiddler in which I describe what changes I have made 
> in $:/core/ui/ListItemTemplate. It would be helpful, I can show the raw 
> contents along with the description.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d27cc68d-cfcd-4800-9366-fb6a8cb9d57en%40googlegroups.com.