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  |  

AspDotNetStoreFront
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  How to use Replace Tokens in HTML Module Settings
Previous Previous
 
Next Next
New Post 7/11/2008 12:02 PM
User is offline Rick Enriquez
8 posts
10th Ranked


Re: How to use Replace Tokens in HTML Module Settings 

Hi Sebastian,

I tried looking at the Announcement module using Visual web Developer and it did not make sense to me.  Could you give me more guidance?

Also, when I look at Announcements.ascx in the Announcements folder of DesktopModules, it says that the .vb file cannot be found.  However, the module works fine.

Anyway, I want to be able to create my own tokens that can be used by other modules.  If you can point me in the direction where I can get info on how to do this or maybe more detailed instructions on which part of the framework I need to modify, it would really help me.

Thanks.

 
New Post 7/11/2008 1:17 PM
User is offline Sebastian Leupold
15159 posts
www.deutschnetnuke.de
1st Ranked












Re: How to use Replace Tokens in HTML Module Settings 

Rick,

please be more specific about your requirements.

Text/HTML uses DotNetNuke.Services.TokenReplace, to replace tokens in the text and does not create its own tokens for internal use

Announcements 4 is a WAP module, you need to install source code to edit and VS 2005/2008 Standard, Pro or Team version to compile. This module creates its own tokenreplace class to be able to use internal tokens for skinning.

If you plan to extend token replace for general use (by all modules and Skin objects), you need to extend core token replace, which requires modifications in the framework, which is not recommended.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 7/11/2008 3:26 PM
User is offline Rick Enriquez
8 posts
10th Ranked


Re: How to use Replace Tokens in HTML Module Settings 

Hi Sebastian,

Perhaps I should start with just my basic requirement.  I want to be able to add custom tokens to the HTML module so that the module will replace the token with a text string that corresponds to that token.  The text will be generated by a sql statement that will retrieve/examine/calculate data from a table.

 
New Post 7/11/2008 3:41 PM
User is offline Sebastian Leupold
15159 posts
www.deutschnetnuke.de
1st Ranked












Re: How to use Replace Tokens in HTML Module Settings 

Rick,

this would be possible with a customized, extended version of Text/HTML - but for a single data row only, because TokenReplace does not provide indexing features. What is your intention to use TokenReplace instead of a generic data module like Reports or SQLSelectedGridView from www.tressleworks.ca?


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  How to use Replace Tokens in HTML Module Settings
 


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.

 


Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca

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