Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Repository Modu...  Is this a bug in 3.01.14?
Previous Previous
 
Next Next
New Post 8/24/2008 11:22 PM
Unresolved
User is offline IgorRuderman
6 posts
10th Ranked


Is this a bug in 3.01.14? 

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 7:01 AM
User is offline Steve Fabian
1498 posts
6th Ranked








Re: Is this a bug in 3.01.14? 

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. 


Steve Fabian
Gooddogs.com
Sit, Stay, Code ... Good boy!
 
New Post 8/25/2008 7:07 PM
User is offline IgorRuderman
6 posts
10th Ranked


Re: Is this a bug in 3.01.14? 

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 2:48 AM
User is offline IgorRuderman
6 posts
10th Ranked


Re: Is this a bug in 3.01.14? 

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

Any help would be appreciated!

Thanks,
Igor

 
New Post 8/28/2008 6:58 AM
User is offline Steve Fabian
1498 posts
6th Ranked








Re: Is this a bug in 3.01.14? 
Modified By Steve Fabian  on 8/28/2008 8:59:19 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.


Steve Fabian
Gooddogs.com
Sit, Stay, Code ... Good boy!
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Repository Modu...  Is this a bug in 3.01.14?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP