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 ForumsAnnouncementsAnnouncementsHow do I edit tokens?How do I edit tokens?
Previous
 
Next
New Post
3/11/2008 1:24 PM
 

the [DESCRIPTION] token contains everything that is entered in the description of the announcement. One of the "features" of the rich text editor (fck) is that it sometimes inserts paragraph marks around the discription. You can solve that by changing the template, and by changing the css of your skin or portal. You could change the template by putting a div around the discription:

<div class="CleanDescription">[DESCRIPTION]</div>

next add this to the css of your skin or portal.css:

.CleanDescription p {
    top-margin: 0px;
    bottom-margin:0px;
}

i am not sure what you mean by " I wanted to get access to [READMORE] so that I could remove the <p> tag that was included". ReadMore only generates a link to the linked file/page, it has nothing to do with the Description token


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

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

 
New Post
3/11/2008 6:53 PM
 

Thanks. Your solution looks to be a better way to do it than what I did.

ErikVB wrote

i am not sure what you mean by " I wanted to get access to [READMORE] so that I could remove the

tag that was included". ReadMore only generates a link to the linked file/page, it has nothing to do with the Description token

Yes, I meant to say that I wanted access to [DESCRIPTION] to remove what I thought was a <p> tag.

 
New Post
3/25/2008 5:55 PM
 

How can you modify the value the [ReadMore] token displays? Instead of "read more..." I would like it to say, "Click here to read more..."

 
New Post
3/26/2008 10:21 AM
 

Hi Erik

is it possible to include the name of the user who posted the announcement??, i tried to includ it using [USERNAME], that is a valid token, but it does not appear..

thanks!

 
New Post
4/2/2008 9:33 AM
 

Open this file \DesktopModules\Announcements\App_LocalResources\SharedResources.resx to change the read more link text

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsHow do I edit tokens?How do I edit tokens?


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