2022.2

Table Of Contents
Tip: ClicktheEdgesbuttononthetoolbartemporarilyaddsaframetocertainelementsonthe
Designtab.ThesewillnotPrintoroutput.
Tip: IfyouhavestartedcreatingyourCaptureOnTheGotemplateusingaCOTGTemplateWiz-
ard,youcanfindready-madeelementsintheSnippetsfolderontheResourcespane.
Resources
ThispageclarifiesthedifferencebetweenInternal,ExternalandWebresourcesthatmaybeusedina
template,andexplainshowtorefertotheminHTMLandinscripts.
Allresourcesthatatemplateusesaredisplayedinthe"Resourcespane"onpage978.
Tip: TheTextFilterboxatthetopoftheResourcespaneallowstolookfortextinthenameof
resourcesandinthesourceofanytext-basedfiles:HTML(includingsections,masterpages,and
snippets),JSON,JSandCSS.
Internal resources
Internalresourcesarefilesthatareaddedtoandsavedwiththetemplate.
Toaddimages,fonts,stylesheets,andsnippetstoyourtemplate,youcandragorcopy/pastethem
intotheResourcesPane.Seealso:"Images"onpage649,"Snippets"onpage661,"Stylingtemplates
withCSSfiles"onpage672and"Fonts"onpage703.
Resourcefilescanalsobedraggedorcopy/pastedoutofthetheapplicationtosavethemonalocal
harddrive.
Alternativelyyoucouldimportresourcesandscriptsfromanothertemplate;clickFile > Import
Resources...inthemenuandselectatemplatetoimportresourcesfrom(see).
Onceaddedorimported,internalresourcesareaccessedusingarelativepath,dependingwhere
they'recalledfrom.Resourcescanbelocatedinthefollowingfolders:
l
images/containsthefilesintheImagesfolder.
l
fonts/containsthefilesintheFontsfolder.
l
css/containsthefilesintheStylesheetsfolder.
l
js/containsthefilesintheJavaScriptsfolder.
l
snippets/containsthefilesintheSnippetsfolder.
Whenreferingtothem,normallyyouwouldsimplyusethepathdirectlywiththefilename.Thestruc-
turewithinthosefoldersismaintained,soifyoucreatea"signatures"folderwithinthe"Images"folder,
Page 427