Razor Function: BaileyWeb.University.Modules.ShowModules

This Razor function enables routing for modules (Page Datafolder BaileyWeb.University.Modules).

Parameters

There are three parameters:

  1. Introduction - "Introduction" - XHTML
    • Introductory text to precede list of modules.
  2. Supplementary - "Supplementary" - XHTML
    • Supplementary text to follow list of modules.
  3. Items - "Items to display" - Integer (10)
    • How many modules should be displayed per page?

Function Markup

<f:function name="BaileyWeb.University.Modules.ShowModules" xmlns:f="http://www.composite.net/ns/function/1.0">
	<f:param name="Introduction">
		<html>
			<head></head>
			<body></body>
		</html>
	</f:param>
	<f:param name="Supplementary">
		<html>
			<head></head>
			<body></body>
		</html>
	</f:param>
	<f:param name="Items" value="10" />
</f:function>

Sub Functions

When routed data isn't module.IsItem:

When routed data is module.IsItem:


Updated: 28 February 2017