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 ForumsRepositoryRepositoryListing Categories in listing template?Listing Categories in listing template?
Previous
 
Next
New Post
6/24/2007 5:17 AM
 

Is there any way to list the categories that a businesscard listing is associated with within the detailed listing template so that it shows what all categories each item is in?

 
New Post
6/25/2007 5:59 PM
 

Yes, add a [CATEGORIES] tag to your template.html file where you would like the categories listed. They will be listed as a comma-delimited string. You can change the class associated with the tag in the template.xml file.

 
New Post
6/25/2007 6:41 PM
 

Doesn't seem to work at all.  I added it and it doesn't show.  Is there somethig nelse I need to do to list it?

Here is my template

<TABLE CLASS="normal" WIDTH="100%" CELLSPACING="0" CELLPADDING="2"
STYLE="border-top: 1px solid #CCCCCC;
border-left: 1px solid #CCCCCC;
border-bottom: 3px solid #AAAAAA;
border-right: 3px solid #AAAAAA;"
>

 <TR>
  <TD>
  <TABLE CLASS="normal" WIDTH="100%" CELLSPACING="0" CELLPADDING="0">
  <TR BGCOLOR="#FFFFFF">
   <TD CLASS="Head" ALIGN="Left" WIDTH="67%" VALIGN="Middle" style="padding: 3px;">
   [EDIT]
   </TD>
  </TR>
  </TABLE>
  </TD>
 </TR>

 <TR bgcolor=white>
  <TD>
  <TABLE CLASS="normal" WIDTH="100%" CELLSPACING="0" CELLPADDING="0">
  <TR>
   <TD WIDTH=100 CLASS="normal" ALIGN="center" VALIGN="top" style="padding-left: 6px; padding-right: 6px;">
    <IMG SRC="[THUMBNAIL]" BORDER=0 ALT="">
    <br>
   </TD>
 
   <TD CLASS="normal" ALIGN="left" VALIGN="top">
    [TITLE]<br>
    [DESCRIPTION]<br>
    [SUMMARY]<br>
                                [CATEGORIES]
   </TD>
  </TR>
  </TABLE>
  </TD>
 </TR>

 <TR bgcolor=white>
  <TD align="right" style="padding-right: 4px;" class="breadcrumb">
  [LABEL:Updated] [CREATEDDATE]
  </TD>
 </TR>

</TABLE>
<BR>

 
New Post
6/25/2007 6:52 PM
 

Got the newest version and it seems to be working, wasn't in 3.1.10

Is there anyway to have it not show ALL in the listing sicne everyone must have that anyway?  Also can the formatting be changed, ie so can add a space between the commas?

 
New Post
6/26/2007 6:09 AM
 

no, the formatting and suppression of the 'ALL' category cannot be done with the current version, it would require a code change.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryListing Categories in listing template?Listing Categories in listing template?


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