Register   Login
     
  Latest Posts  
Select Image Button does not work.
by rtnovak on 1/08/2009 6:37 AM
Lightbox implementation
by max2o on 1/08/2009 6:16 AM
RE: Toolbar links at the top of the articles module
by smcculloch on 1/08/2009 5:52 AM
Toolbar links at the top of the articles module
by wassis on 1/08/2009 5:42 AM
RE: PA Features & Enhancements
by smcculloch on 1/08/2009 4:33 AM
RE: PA Features & Enhancements
by georgelew on 1/08/2009 4:28 AM
RE: Search Wildcard Problem!
by smcculloch on 1/08/2009 4:24 AM
RE: Search Wildcard Problem!
by georgelew on 1/08/2009 4:19 AM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/08/2009 4:11 AM
RE: Help! Cannot use "&" in CustomField.
by georgelew on 1/08/2009 4:01 AM
  Forums  
Subject: Need a tutorial and simple sample to develop token-based module
Prev Next
You are not authorized to post a reply.

Author Messages
nmduc073User is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:27

11/19/2008 7:53 PM  

I like your NewsArticles module which we can change templates. I want to be able to program a token-based module like that. However, the source code of NewsArticles is so complicated for me to understand. Can you give some tutorials and very simple samples to learnm please?

Thank in advance.


http://www.nguyenminhduc.net: My personal site
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12800


11/20/2008 5:04 AM  
If you login as host, and go into admin options -> site templates, you will see a list of templates in the dropdown.

Each template has a number of layout files associated with it. The layout files govern what is shown on the screen.

A list of tokens is found in the pinned thread on this forum.

If you have any specific questions, please post here. You will need to know html to modify templates.

Scott McCulloch
Site Administrator
nmduc073User is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:27

11/20/2008 5:45 AM  
Thank to answer. However, you misunderstand me. I want to know how to read the html file and replace token in the template file.

http://www.nguyenminhduc.net: My personal site
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12800


11/21/2008 5:16 PM  
The edit site templates screen reads the html file and allows you to edit, you can substitute tokens into that text area, e.g. [AUTHOR].

If you want to find the actual file on the file system, they are in /DesktopModules/DnnForge - NewsArticles/Templates//

Scott McCulloch
Site Administrator
nmduc073User is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:27

11/23/2008 6:14 PM  
Thank you. I am reading Repository source code.

http://www.nguyenminhduc.net: My personal site
You are not authorized to post a reply.
Forums > General > DotNetNuke Questions > Need a tutorial and simple sample to develop token-based module



ActiveForums 3.7