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 - where to display?Attributes - where to display?
Previous
 
Next
New Post
6/2/2006 4:34 PM
 

Robert,
Unfortunately no, there's no querystring parameter that relates to attributes

If you have the source and feel adventurous .. :)

In the page load, where the grm2catid is processed add some code to look for attributes. Like the category id, you'll need to lookup the ID of the attribute(s) you want. Let's say you have attributes 11 and 12 that you want to create a link to.

Now, to autoselect attributes 11 and 12 via a URL, add  &attrib=11;12  to the QueryString (semi-colons between attributes if you want to select more than one attribute. To show all attributes, add  &attrib=ALL  to the QueryString

If you're using Friendly URLs you would add  /attrib/11  or  /attrib/11;12   or  /attrib/ALL

If Request.QueryString("attrib") <> "" Then
    If Request.QueryString("attrib") = "ALL" Then
oRepositoryBusinessController.g_Attributes = ""
Else
oRepositoryBusinessController.g_Attributes = ";" & Request.QueryString("attrib") & ";"
End If
mFilter = ""
End If
 
New Post
6/4/2006 8:28 AM
 
odove wrote

But I still can not make it work. Do you mind posting a simple working version so I would know exactly where and how to add them?

odave - did you ever get this working? I am trying to add Attributes to my template and it's note working. I can get them to appear in the Upload form, but not onthe header. I have added the following to header.xml (trying different things - my attribute collection is called "TAGS"):

<Object>

<Token>[ATTRIBUTES]</Token>

</Object>

<Object>

<Token>[ATTRIBUTE]</Token>

</Object>

<Object>

<Token>[ATTRIBUTE:TAGS]</Token>

</Object>

 

Then on header.html I tried:

[ATTRIBUTE:TAGS]  as well as [ATTRIBUTE] and [ATTRIBUTES] with no luck...

If you got it working, could you post a sample please?


Entrepreneur

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

 
New Post
6/4/2006 9:03 AM
 

Rodney,
If you still can't get this to work, zip and send me your template and I'll take a look

steve.fabian AT dotnetnuke.com

 
New Post
6/4/2006 9:04 AM
 

Rodney,
If you still can't get this to work, zip and send me your template and I'll take a look

steve.fabian AT dotnetnuke.com

 
New Post
6/4/2006 10:49 AM
 

Got it working now - it is case-senSitive, so if you called your attribute Tags, then you need to put:

[ATTRIBUTE:Tags] in the HTML and

[ATTRIBUTE] in the XML

 


Entrepreneur

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

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAttributes - where to display?Attributes - where to display?


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