Welcome, Guest. Please Login
Tinderbox
  News:
IMPORTANT MESSAGE! This forum has now been replaced by a new forum at http://forum.eastgate.com and no further posting or member registration is allowed. The forum is still accessible via read-only access for reference purposes. If you wish to discuss content here, please use the new forum. N.B. - posting in the new forum requires a fresh registration in the new forum (sorry - member data can't be ported).
  HomeHelpSearchLogin  
 
Pages: 1
Send Topic Print
$HTMLExportTemplate plain (Read 515 times)
james a. foster
Full Member
*
Offline



Posts: 130

$HTMLExportTemplate plain
Feb 07th, 2017, 3:58pm
 
In one of my databases, $HTMLExportTemplate is "plain". But in another, when I use that value, I get the little yellow thought bubble error message saying that there is no such template, and the notes with that template don't export.

But in the first database, notes with "plain" do export. And I can't find any template anywhere in my database called "plain". It also doesn't show up in the dropdown list of templates in the Inspector using the icon with a 4 in it.

What is this "plain" template? Where does it live? What does it look like? Why am I seeing this differential behavior??
Back to top
 
 
  IP Logged
Mark Anderson
YaBB Administrator
*
Offline

User - not staff!

Posts: 5689
Southsea, UK
Re: $HTMLExportTemplate plain
Reply #1 - Feb 7th, 2017, 4:16pm
 
Pre v6, there was a baked-in 'plain' template - i.e. you didn't need to add it to a TBX: see [url-http://www.acrobatfaq.com/atbref5/index/TinderboxFileTypes/Built-intemplates/HTM...[/url]. This was discontinued in v6+. However, this doesn't stop a similar template being added manually to a document. In both v5/v6 an agent testing for $IsTemplate==true will return all notes that are defined in the current doc - they can live anywhere in the document even though by convention they are normally placed in a container called 'Templates'.

As regards the Inspector, you're looking at the Document Inspectorand the pop-up list is the list of prototypes defined for that document.

To view the templates defined, using the HTML Inspector, click the button marked '<>' in the top row and then pop the list for 'Template'. That will show you all the available templates in the document.
Back to top
 
 

--
Mark Anderson
TB user and Wiki Gardener
aTbRef v6
(TB consulting - email me)
WWW shoantel   IP Logged
Pages: 1
Send Topic Print