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 ForumsRepositoryRepositoryIs this a bug in 3.01.14?Is this a bug in 3.01.14?
Previous
 
Next
New Post
8/25/2008 1:22 AM
 

I used the [CURRENTCATEGORY] token in the header.html of my template and when a category is actually selected everything shows up fine, but if I have the "All Items" selected, the whole header section disappears. Any ideas?

 
New Post
8/25/2008 9:01 AM
 

I don't think it's a bug, I just tried it and it worked fine with any category selected or with 'All Items' selected.  If you select the All Items category, it gets the text from the Resource file, so check your resource file and make sure that you have an entry with a key named 'AllFiles' ( which you should if the module is installed correctly ) and if you're language is other then English, make sure there are no special characters in the text which might mess up the HTML markup. 

 
New Post
8/25/2008 9:07 PM
 

Thanks for replying Steve.  This does not work for me for some reason.  I've tried it on two different installations of DNN with the same result.  I checked the resource file and it's fine.  In fact I've changed the text of the 'AllFiles' key to say 'All Building Blocks'.  Check out the following address: http://sb.earthtosky.org/InterpretiveProducts/SunEarthConnection/tabid/81/Default.aspx

Also, where does the Dashboard get the text value for the 'All Items'? That text didn't change when I changed the 'AllFiles' key.

Thanks,
Igor

 
New Post
8/28/2008 4:48 AM
 

So? Anyone? Any ideas? Why would this not work for me?

Any help would be appreciated!

Thanks,
Igor

 
New Post
8/28/2008 8:58 AM
 

nice looking site by the way...

Ok, so I looked at the source of the rendered page when selecting a category and between the header and data table, I see this code...

<h2>Cultural Connections:</h2>
<script language="javascript">
 function getfilename(f, ft){
  var trimName = "";
  var lastSlash = f.lastIndexOf("/");
  if (ft === "Links (URLs to relevant sites)")
  {
   trimName = "<a href=" + f + " target='_blank'><img src=/Portals/1/link_icon.gif align='absMiddle'>" + f + "</a>";
  } else {
   trimName = "<a href=" + f + "><img src=/Portals/1/download_arrow.gif align='absMiddle'>" + f.substring(lastSlash+1) + "</a>";
  }
  return trimName;
 }
</script> 


Then when I try to view the 'All Files' category, I just see this...
 

<h2>

So, looking at the module source code nothing jumps out at me that would look like an issue, so can you tell me how you are inserting that javascript function?  In which template file have you added the code? Can you either send me your header.html/header.xml files ( steve.fabian AT dotnetnuke.com ) so I can look at them? or at least post them here for review? Oh, and your resource file as well so I can verify that you have the correct key and value for the All Files entry.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryIs this a bug in 3.01.14?Is this a bug in 3.01.14?


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