Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 ForumsRepositoryRepositoryAttributes?Attributes?
Previous
 
Next
New Post
2/10/2006 2:44 AM
 
Hi,

Is there any documentation anywhere for adding attributes.

For any other skin, you have to add your objects in the html and xml.
I have searched some previous threads and see talk of:
A template file, A header file and xml.

Any help would be appreciated.
 
New Post
2/11/2006 5:35 PM
 
Our goal for February is to get the documentation up to date with the actual Repository. I apologize for not replying to your post earlier but I've been without my testing system for close to a week now and I want to make sure I have my syntax correct (working on so many non DNN projects that my brain is getting swamped) before I answer. I should be back to you sometime this weekend.
 
New Post
2/12/2006 2:38 AM
 

Thanks for replying.

I know you guys must be busy, but I have a quick question.

I have added an attribute called price and assigned 2 values (within the repository settings wizard.)

I am using your default skin and altering values to see what works.

I have added into the template.xml:

<Object>
  <Token>[ATTRIBUTE:PRICE]</Token>
 </Object>

 

and [ATTRIBUTE:PRICE] into template.html and then uploaded a new item into the repository and given

that items price a value. But the value is not being rendered.

Is my syntax incorrect???

 
New Post
2/12/2006 9:28 AM
 
You're close. In your xml file you want just [ATTRIBUTES]. You syntax in the .html file if correct.
 
New Post
2/12/2006 2:33 PM
 

ok.

Now I have the following in the template.xml 

<Object>
  <Token>[ATTRIBUTES]</Token>
 </Object>

and in template.html i have:

<table border="0" cellpadding=0 cellspacing=0 width="100%">
    <tr>
     <td align=left valign=top class="SubHead" width=75>Price</td>
     <td align=left valign=top class="normal">[ATTRIBUTE:Price]</td>
    </tr>
    </table>

But still nothing is being rendered for Price????

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAttributes?Attributes?


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