Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Announcements M...  How do I edit tokens?
Previous Previous
 
Next Next
New Post 3/11/2008 10:24 AM
User is offline ErikVB
2716 posts
www.apollo-software.nl
5th Ranked










Re: How do I edit tokens? 

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, Apollo Software
If what i am saying is wrong: blame Google
MLSkinHelper: the easy way to put editable text in your skin!
Nederlandse DotNetNuke Gebruikersgroep Apollo Software
 
New Post 3/11/2008 3:53 PM
User is offline ferrethouse
17 posts
10th Ranked


Re: How do I edit tokens? 

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 2:55 PM
User is offline James Summers
42 posts
10th Ranked


Re: How do I edit tokens? 

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 7:21 AM
User is offline Erick G
1 posts
10th Ranked


Re: How do I edit tokens? 

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 6:33 AM
User is offline ech01
624 posts
7th Ranked




Re: How do I edit tokens? 

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


www.blackhawksurfaces.com | www.nlsales.com | www.midwestfilmandvideo.com
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Announcements M...  How do I edit tokens?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk
Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com
DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP