Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsToken defintionsToken defintions
Previous
 
Next
New Post
8/1/2006 7:30 AM
 
You can change the tokens for each individual Announcements module in the settings of the module. The default that is set whenever you add a new Announcements module can be modified from Languages in the Settings.ascx.resx file. All current tokens available are there. While they are not described, they are pretty self explanatory.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
8/1/2006 4:48 PM
 
jrweiss-namibia wrote

Module Settings

Administrators can manage the Module Settings for the current Page. This allows you to specify characteristics of the module including content, permissions, and display properties.



Please double check the version you are using... if you see this in your settings help, then you are using either version 3.3.0, 3.3.1 or 3.3.2. As from version 3.3.3, the module settings help is this:

About the Announcements Module

The Announcements Module produces a list of simple text announcements consisting of a title and brief description. Options include a read more link to a file, page or other site. Link click tracking and logging are also available. Announcements are ordered from newest to oldest, unless a view order is specified.

Module Specific Settings

There are 2 module specific settings available:

  1. History Day(s): this is the number of days to display announcements for. Announcements published longer than the entered number of days ago will not be displayed. Eg. if you enter a value of 4, all announcements older than 4 days will not be displayed. If you leave this field blank, then all announcements will be displayed
  2. Template: This is the template that is used to display each announcement. In this template you can use tokens to define where specific information of the announcement items should be placed. NOTE: all tokens are case sensitive, and should be capitals only.

    This is the default template:
    <span class="SubHead">[TITLE] - [PUBLISHDATE]</span><br>[DESCRIPTION] <a href="[URL]" target="[NEWWINDOW]">[MORE]</a><br>

    The following tokens can be used:
    [MODULEID] This will display the moduleid of the module.
    TIP: You could use this value to use a module specific css classname, for instance like this:
    <span class="SubHead_[MODULEID]">[TITLE]</span>
    [TITLE] This will display the announcement title
    [URL] This will display the url the announcement should point to. In order to use this url as a clickable hyperlink, use something like this:
    <a href="[URL]">[MORE]</a>
    [NEWWINDOW] This token can be used to open the link in a new window, based on the selection made in the announcement, for example:
    <a href="[URL]" target="[NEWWINDOW]">[MORE]</a>
    [DESCRIPTION] This will display the announcement discription
    [CREATEDBYUSER] This will display the displayname of the user that created the Announcement. NOTE: on sites with many users adding this token to a template will cause a performance hit, as for every Announcement a user record has to be found and displayed. Many announcements and many users will cause a large amount of extra database hits.
    [VIEWORDER] This will show the view order of the item
    [CREATEDDATE] This will show the item creation date, in localized long date forum
    [PUBLISHDATE] This will show the item publish date, in localized long date forum
    [MORE] This will display the "read more..." text, without hyperlink. A full read more hyperlink would look like this:
    <a href="[URL]" target="[NEWWINDOW]">[MORE]</a>

 

 


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
8/3/2006 3:20 AM
 

Thank you Erik. I have checked again the version, but both in the Module Definition and on the file system (DNN_Announcements.dnn.config) it says version 03.03.04. Strange! May be something went wrong with the update to DNN 4.3.3.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsToken defintionsToken defintions


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out