Login

Recover Your Password

Return to Product Support > Learning Center > Managing Add-ons > Add-on List and Instructions for Use > Theme Manager > Theme Manager Macro Instruction Reference

Theme Manager Macro Instruction Reference

This is a reference for the instructions selected in the Theme Manager, Import Macro Lines, Instruction field.

See the  Theme Manager for more information

GetLayout

Opens a layout record and saves it to a user defined variable.

Source - the name of the Layout record

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the user defined variable where the resulting content will be stored.

GetFile

Opens a file in the wwwRoot and saves it to a user defined variable.

Source - the file name in the wwwRoot, including the file path if applicable.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the user defined variable where the resulting content will be stored.

GetContentFile

Opens a file in the Content Files and saves it to a user defined variable.

Source - the file name in the wwwRoot, including the file path if applicable.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the user defined variable where the resulting content will be stored.

GetInner

Selects the inner html of the source, based on the Selector, and saves it to a user defined variable.

Source - a user defined variable or a literal string if a matching variable was not previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the user defined variable where the resulting content will be stored.

GetOuter

Selects the outer html of the source, based on the Selector, and saves it to a user defined variable.

Source - a user defined variable or a literal string if a matching variable was not previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the user defined variable where the resulting content will be stored.

SetInner

Selects the inner html of the source, based on the Selector, with the text in the Replace field, and saves it to a user defined variable.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Replace - a user defined variable or a literal string if a matching variable was not previously defined.

Destination - the user defined variable where the resulting content will be stored.

SetOuter

Selects the Outer html of the source, based on the Selector, with the text in the Replace field, and saves it to a user defined variable.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Replace - a user defined variable or a literal string if a matching variable was not previously defined.

Destination - the user defined variable where the resulting content will be stored.

SaveLayout

Selects the inner html of the source, based on the Selector, and saves it to a Layout record named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of a Layout record to create or update.

SaveFile

Selects the inner html of the source, based on the Selector, and saves it to a file in the wwwRoot named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of the wwwRoot file to create or update.

SaveContentFile

Selects the inner html of the source, based on the Selector, and saves it to a file in the content folder named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of the content folder file to create or update.

SaveTemplateBody

Selects the inner html of the source, based on the Selector, and saves it to the body field of a template record named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of the template record to create or update.

SaveTemplateHead

Selects the inner html of the source, based on the Selector, and saves it to the field called Other in the Meta Tags tab of a template record named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of the template record to create or update.

SaveTemplateTag

Selects the inner html of the source, based on the Selector, and saves it to the field called Body Tag of a template record named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of the template record to create or update.

Append

Selects the inner html of the source, based on the Selector, and saves it to a user defined variable in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the user defined variable where the resulting content will be stored.

SaveCopy

Selects the inner html of the source, based on the Selector, and saves it to a Copy record named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of the copy record to create or update.

LoadCopy

Loads content from a copy record, selects the inner html based on the Selector, and saves it to a user defined variable in the Destination.

Source - the name of a Copy record.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the user defined variable where the resulting content will be stored.

SavePage

Selects the inner html of the source, based on the Selector, and saves it to a Page Content record named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of the Page Content record to create or update.

LoadPage

Loads content from a Page Content record, selects the inner html based on the Selector, and saves it to a user defined variable in the Destination.

Source - the name of a Page Content record.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the user defined variable where the resulting content will be stored.

FindReplace

Loads content from a user defined variable or literal string, performs a find and replace, and saves the results to a user defined variable in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Find - A user defined variable or literal string to find within the source

Replace - A user defined variable or literal string to replace into the source

Destination - a user defined variable where the resulting content will be stored.

SetHref

Sets the href value of a tag selected with the selector with a value in Replace, and saves the result to a user defined variable in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - selects the html tag into which the href will be set.

Replace - the user defined variable or literal string to be stored in the href attribute.

Destination - a user defined variable where the resulting content will be stored.

SetSrc

Sets the src value of a tag selected with the selector with a value in Replace, and saves the result to a user defined variable in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - selects the html tag into which the src will be set.

Replace - the user defined variable or literal string to be stored in the src attribute.

Destination - a user defined variable where the resulting content will be stored.

SetClass

Sets the class value of a tag selected with the selector with a value in Replace, and saves the result to a user defined variable in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - selects the html tag into which the class will be set.

Replace - the user defined variable or literal string to be stored in the class attribute.

Destination - a user defined variable where the resulting content will be stored.

SetId

Sets the Id value of a tag selected with the selector with a value in Replace, and saves the result to a user defined variable in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - selects the html tag into which the Id will be set.

Replace - the user defined variable or literal string to be stored in the Id attribute.

Destination - a user defined variable where the resulting content will be stored.

After

insert Replace right after element Find in source and store it in the Destination

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - selects the html tag after which the Replace content will be added.

Replace - the user defined variable or literal string to be stored.

Destination - a user defined variable where the resulting content will be stored.

SaveStyle

Selects the inner html of the source, based on the Selector, and saves it to a Shared Style record named in the Destination.

Source - a user defined variable or a literal string if a matching variable was previously defined.

Selector - if provided, selects the inner html of the html tag with this selector

Destination - the name of the Shared Style record to create or update.