Wiki¶
Currently these modules are only available via the Repository. You will want to navigate to the trunk/UserControls folder and download the .ascx and .ascx.cs files, you can ignore the .ascx.designer.cs files as they are only needed during development in Visual Studio.
Modules¶
Build Arena Sandbox¶
Don't download this. You don't want it. It will confuse you. It will make no sense to you. This is a special module designed for use on the RefreshCache server.
Channel View Xslt¶
This module is used in conjunction with the podcast system built into Arena. It allows you to process and display a channel's topics via an Xslt file. A sample file is available in the Repository under the XSLT folder and is called MediaLibrary.xslt. The XSLT elements are:- topics
- topic (multiple topic elements can and will exist in the xml stream)
- id - TopicId
- title - Title of the topic
- count - Number of items in this topic
- imageguid - The GUID for the image of this topic
- description - The Description which is associated with this topic
- channelid - The channel Id this topic belongs to
- activecount - The number of active items in this topic
- active - Integer value (0 or 1) specifying if this topic is active or not
- topic (multiple topic elements can and will exist in the xml stream)
Force Logout¶
This is a very simple module. It forces a user to logout (by doing it automatically for them) and then redirects them to the page specified in the module setting. It is very useful on public kiosks to place this module at the end of the process so that a user does not accidentally stay logged in when they shouldn't.
My Attributes¶
This module pulls a person's attributes and presents them to the user for entry. At this time only YesNo attributes are supported, sorry. The user is presented with the selected attributes and can check and un-check as they desire and then click Save.
New Account¶
This is a custom modification to the standard New Account module delivered by Arena. It changes the behavior to not allow the user to pick a username and instead gives them a username automatically. It defaults to their full name and if that is taken begins appending a numerical value until it finds a username that is available.
Self Join Tags¶
Allows a user to join themselves to specified tags. The tags are chosen by entering a module setting which specifies the parent tag. All direct child tags of that parent are then given to the user as check-boxes which they can select. Upon submission the user will be joined to the selected tags and then redirected to a pre-specified page.
Show Promotion¶
This module allows you to display, via XSLT, a specific promotion wether it is approved or not. We use this module to display 5 specific promotions in a very custom way to the user on our website. We did this because we needed a brain-dead easy way for the secretaries to update the information weekly without them having to understand how to do it and not mess up the formatting we specified. The promotion ID and XSLT file are specified as module settings. The XSLT is defined below:
- promotion
- item
- id - Promotion Request ID number
- title - Promotion Title
- summary - Web Summary
- details - Web Details Text
- summaryImageUrl - "CachedBlob.aspx?guid=nnnnn", image for the Web Summary
- detailsImageUrl - "CachedBlob.aspx?guid=nnnnn", image for the Web Details Text
- item
Sql Via Xslt¶
Executes a query (currently only queries are supported, not stored procedures) and allows you to format the results via XSLT. Currently a single special expression is supported. @PersonID@ is replaced the the Person Id of the currently logged in user. If no user is currently logged in then it is replaced with the value -1. The XSLT is defined below:
- sql
- fields
- field (Repeated element) - Contains the name of the sql result column at the relative index.
- rows
- row
- ColumnName - The element name will match the SQL result column name, the value of the element will be the value of the result at the row/column.
- row
- fields
UserLogin¶
This is a customized .ascx of the standard UserLogin.ascx file. It simply modifies the actual displayed content of the page.