C# Function: BaileyWeb.University.Pages.ShowPageContent

This C# function takes XHTML content from one page and displays it on another. The CMS rendering engine will merge this into the containing page.

Parameters

There are two parameters:

  1. Page - "Page" - Data Reference (C1 Page)
    • Select the page to take content from.
  2. Placeholder - "Placeholder" - String (Unlimited)
    • Select the page placeholder to take content from. The default value is "content".

Function Markup

<f:function name="BaileyWeb.University.Pages.ShowPageContent" xmlns:f="http://www.composite.net/ns/function/1.0">
	<f:param name="Page" value="00000000-0000-0000-0000-0000000000" />
	<f:param name="Placeholder" value="content" />
</f:function>

Sample Output

<html xmlns="http://www.w3.org/1999/xhtml">
	<head/>
	<body>
		<p>Hello world!</p>
	</body>
</html>

Updated: 01 January 2017