Creating a Content Record
Content records hold information about media and files you want to display. Then you set up delivery rules with the Content Delivery SuiteApp. You create a new Content Record when you're setting up main body content for Landing Pages, or when you're defining Content Rules for Landing Pages or Content Records as described in Using Content Delivery.
When you create a new Content Record, you select either Merchandising Rule or HTML.
Using a Merchandising Rule
You can only pick Merchandising Rules you've already set up. Simply select the rule you want, and click Save. For details on defining Product Merchandising rules, see Product Merchandising.
Using HTML
You can use your own custom HTML elements to define the content you want to show. You can add HTML content to your record in two ways:
-
File: Select this to use an existing HTML file. You must upload the file to the file cabinet first. You can store these files anywhere, but it’s best to keep them with your other website files in Web Site Hosting Files > Live Hosting Files.
-
Text Editor: Use the WYSIWYG editor to add your content. Type your content in the Content field and use the editor to add any formatting you want.
When you set the Type field to image, enter the image URL. Use the absolute path from your Live Hosting Files/site folder—usually the top images folder, like /images/navbar.jpg.
You can also add client-side JavaScript to add custom logic to your Content Delivery pages.
If you use jQuery methods in your code, make sure to use the jQuery
prefix instead of $
. For example, use jQuery(document).ready(function(){alert(”Hello World”);});
instead of $(document).ready(function(){alert(”Hello World”);});
.
While you can add client-side JavaScript to Content Delivery records, you can't reference external JavaScript libraries here. You would have to reference those from SSP application files or use more advanced customization.