Register   Login
     
  Latest Posts  
Title Bar Text
by sootfoot on 1/09/2009 6:00 PM
RE: RSS and Calendar Icons not showing in new template
by smcculloch on 1/09/2009 1:53 PM
RE: Has pay-per-ad. been added yet?
by smcculloch on 1/09/2009 1:52 PM
RE: Reduce the text size of the description in RSS feeds
by smcculloch on 1/09/2009 1:51 PM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/09/2009 11:53 AM
Reduce the text size of the description in RSS feeds
by schotman on 1/09/2009 10:49 AM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/09/2009 9:49 AM
RE: Embed the coolest google local search map control
by aviavia on 1/09/2009 8:06 AM
RE: Embed the coolest google local search map control
by odove on 1/09/2009 6:43 AM
RE: Ligtbox effect does not working in DNN 5
by David Eccles on 1/09/2009 6:11 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:12823


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:12823


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