dnnstuff.injectanything

Inject Anything Configuration

Insertion Point

The insertion point is the position at which the content is inserted into the page. The options are:

Source

The source field refers to the source of the content. The options are:

Enable

Select this option to enable the injection of the content. It’s essentially a quick way to stop the insertion of your content temporarily without having to delete the module.

Content Tokens

The area will show any content token inputs that are available for the current content. Content tokens are tokens placed within the content that are replaced at runtime with the values entered against them. They are a powerful way to add flexibility to any script.

For instance, instead of creating a simple Google Analytics script that has your Google Analytics Web Property ID (the UA-?????-? number) hardcoded directly into the script, you can instead insert a token such as [WEBPROPERTYID] in the content and the Inject Anything module will show an input for WEBPROPERTYID in this content token section for the user to fill in. When the script is injected at runtime, the token is replaced with it’s value. This allows you to create a single script once with a variable (token) and use it for any portals you wish. All you have to do is vary the value for each module you use the script with.

A more complete examination of tokens is included in the token topic.

Debug

Selecting this option will display your content inside of <pre> tags so you can see exactly what is being inserted into your page.

Inject Anything Configuration