Razor Function: BaileyWeb.University.Modules.ShowModules
This Razor Function named ShowModules enables routing for modules (Page Datafolder BaileyWeb.University.Modules).
Files
The following files are supplied with the University Package:
- ~/App_Data/Razor/BaileyWeb/University/Modules/ShowModules.cshtml
Parameters
There are 3 parameters:
Parameter: | Label: | Help: | Type: | Default: | Widget: |
---|---|---|---|---|---|
Items | Items to display | How many modules should be displayed per page? | Integer | 10 | Text Box |
Introduction | Introduction | Introductory text to precede list of modules. | XHTML | Visual XHTML Editor | |
Supplementary | Supplementary | Supplementary text to follow list of modules. | XHTML | Visual XHTML Editor |
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
:
Text Strings
None.