*Solved*

The cause of all my grief is the text
''object-template: 

did not close the quotes.

Arggggh

Tony

On Thursday, July 11, 2019 at 12:52:06 PM UTC+10, TonyM wrote:
>
> Folks,
>
> The following is in a tiddler tagged $:/tags/ViewTemplate
>
> Some may want to use it, it selects a view template according to an 
> object-type field on a tiddler. Change the prefixes to suite your own use
>
> *However:*
>
> I can not determine why it is always displaying at the bottom of each 
> tiddler, displayed using the template;
>
> </$set></$set>? </$list>
>
> I would be grateful if anyone can identify the cause, most likely in this 
> below WikiText because it happens if the template is empty, simple or 
> complex.
>
> <$list filter="[is[current]!is[system]has[object-type]get[object-type]]" 
> variable="object-type">
>   <$set name=object-template value={{{ 
> [<object-type>addprefix[$:/PSaT/templates/objects/]] 
> }}} >
>   <$set name=object-view-template value={{{ [<object-type>
> addprefix[$:/PSaT/templates/viewtemplate/]] }}} >
>       ''object-view-template:'' <<object-view-template>> 
> ''object-template: <<object-template>><br>
>       <$transclude tiddler=<<object-view-template>> mode=block/>
>   </$set></$set>?
> </$list> [[Edit View template|$:/PSaT/viewtemplate]]
>
> Note:
>
>    - $:/PSaT/WRRef/templates/objects refers to a template for creating 
>    new objects like the current one
>    - $:/PSaT/templates/viewtemplate/ refers to the template used to 
>    display tiddler of the object-type
>    
> Thanks in Advance
> Tony
>

-- 
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/dbfea193-4149-4586-b56a-812e5c859a26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to