Products

Solutions

Resources

Partners

Community

About

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 ForumsMapMapCreating New Tokens for the Point Description formatCreating New Tokens for the Point Description format
Previous
 
Next
New Post
1/18/2009 4:24 PM
 

How do you create new tokens for the point description format?

I have an existing DNN module that lets a user specify their user profile image. This DNN module then uploads the user's image to my website and enters the filepath into the module's database table.

I would like to create a new token for the DNN Map Module that can bring in the user's profile image and display it like so:

[USERIMAGE]
[DESCRIPTION]
[ADDRESS]

<table cellspacing="0" cellpadding="0" width="150" border="0">
    <tbody>
        <tr>
            <td>[USERIMAGE]</td>
            <td>
            <table>
                <tbody>
                    <tr>
                        <td><strong>[DESCRIPTION]</strong></td>
                    </tr>
                    <tr>
                        <td>[ADDRESS]</td>
                    </tr>
                </tbody>
            </table>
            </td>
        </tr>
    </tbody>
</table>

 
New Post
1/18/2009 4:47 PM
 

If you are editing the source you could maybe create new tokens, but if not then you would have to retrieve all this data when you insert the points into the map using the UserID. The Description Token will then hold all this HTML in each record (which makes it quite bloated...


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
1/19/2009 10:48 AM
 

Can the User's Image reside in the [Description] token?

Are the tokens compiled in the source or are they editable in the install version?

Could you specify where the tokens are?

 
New Post
1/19/2009 5:09 PM
 

Sorry, I have not looked at the source - if it uses the Core Token Replacement then it would be easier.

The image could be stored in the description if it were simply an image HTML link.


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
1/19/2009 7:53 PM
 

Will you create an image datatype for the DNN core profile using your image upload control from smart-thinker?

I can tell you how...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMapMapCreating New Tokens for the Point Description formatCreating New Tokens for the Point Description format


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