Scot's Scripts FAQs and Module Support

If you don't find the answers here contact us.
Documentation and support for our Miva modules is found here. If you can't find the answer you're looking for contact us and we'll add the information.

ProContent / Content Data

Content Data

head_1 in the examples below is a content item code (see previous page)

The ProContent data is avaiable regardless if you're using the display mode or not. Use StoreMorph scripting to decide if you want to display data or not.

The data name is based on the code of your content. In the example above, your data would be in:

  l.settings:ProContent:head_1

If you had one content block attached to that content item, display it like this:

  &mvt:ProContent:head_1;

But, if you had content for the product and the category your customer was in, you wouldn't want them to come up all mixed together. ProContent always loads data for each item into it's own spot. The product, category and page data would be accessible in the following ways.

l.settings:ProContent:head_1:product
l.settings:ProContent:head_1:category
l.settings:ProContent:head_1:page

If you wanted to display the un-compiled template source code of a page, the data is:

  &mvte:ProContent:head_1:product;

You can also call multiple content items by including more than one code in the param area of the page item. You can also mix which ones will be automatically displayed.

param="code1:display code2 code3:display" 

updated April 25, 2013