Active Cast - can be customized?
- 15 years ago
Hello,
There are some built in configurations for Active Cast (Latest Threads and Featured Threads) that should solve your first two issues. To change these configurations you will need to modify the snippet of code that you injected into your web page. Assuming you are using the Latest Threads Active Cast, the snippet of code that you will need to change looks something like this (you will need to adjust the script scr and "myBoardId" for your community):
<script type="text/javascript" id="ACTIVECAST-LT" src="http://forums.companyname.com/activecast/activecast-threads.js.jsp"></script> <script type="text/javascript"> LITHIUM.ActiveCast.getLatestThreads("myBoardId", { maxNumberOfMessages:10, numSubjectWords:10, numBodyWords:20, displayNodeTitle:false, hrefTarget: '_blank'}); </script>
The second parameter of the method call LITHIUM.ActiveCast.getLatestThreads takes an object literal that may contain the following parameters:
maxNumberOfMessages - Limits the number of threads returned. If this option is not specified then the number of threads returned is set to what is normally displayed on one page.
numSubjectWords - Limits the length of the thread subject to a specified number of words. An ellipse will be used if the number is exceeded per message. If the value is set to -1 all words are displayed. If the value is set to 0 the subject is omitted.
numBodyWords - Limits the length of the thread body to a specified number of words. An [More] link will be used if the number is exceeded per message. If the value is set to -1 all words are displayed. If the value is set to 0 the body is omitted.
displayNodeLabel - Optionally display the node label (category or board).
displayNodeTitle - Optionally display the node title (category or board).
hrefTarget - Sets the target attribute for the Subject, Body 'More...', and Author links in a message. Allowed values: "_self", "_blank", "_top" or "_parent". Use "_blank" to open link in a new window.
We do not currently support display the number of views and comments through Active Cast.