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 ForumsRepositoryRepositoryCategories and File Naming ConventionsCategories and File Naming Conventions
Previous
 
Next
New Post
4/24/2006 11:20 PM
 
First off, your module is superb!  Great job~!

Only 2 issues I have are this:

1) If the user doesn't choose the ALL category, then the file fails to show up in certain skins (directory and nifty).  Maybe have it automatically checked or just get rid of it and make everything automatically ALL (cuz everything is)

2) If you upload a file with spaces in the name, it won't download correctly.  It just gives you the first word before and space and no file extension.  Tricky to get users to remember to rename files to all one word.

Thanks and keep up the great work!
 
New Post
4/25/2006 1:01 AM
 

1.) I know in earlier builds All was automatically added even if it wasn't checked but I'll test with the latest version tomorrow see if it was broken in a later build or not.

2.) Could you double check what version you're running? I remember being bitten by this in the past but that was with a modification that I did to the original Repository (before it became a DNN project). I just uploaded a test file to one of my sites that has spaces in it and it worked fine (http://www.gmss.org/N2003Goodies/Setups/tabid/100/Default.aspx). The file name is Test.

 
New Post
4/25/2006 8:52 PM
 
I am using ver: 03.01.09, just d/led yesterday

1) ALL is automatically added IF there are no other categories available.  If you add a couple other categories, then the user must also select ALL along with their chosen category or it will not show up (except in that category).

2) This seems to work fine now as long as I am logged in as a user, for some reason under Admin it wouldn't d/l properly, but was uploading the correctly named file...weird.

3) Just a little thing, but using the "nifty" skin, if you fail to enter a description, it prompts you to add one..good stuff...but then it forgets which file you were trying to upload and you have to re-browse to it...minor annoyance i can live with, just a heads up~

KEEP UP THE GOOD WORK!


 
New Post
4/26/2006 11:25 AM
 

1) I'll check with Steve to make sure that wasn't changed for design reasons. If not it'll be posted as a bug in Gemini

2) Ummm I don't have an answer for that one. I'll try to recreate the problem

3) I've added it as a bug in Gemini http://support.dotnetnuke.com/Default.aspx?p=22&i=2873

 
New Post
4/28/2006 2:04 AM
 

Are you using Firefox? The Space in the Filenames is a problem with the Repository and the Documents Module's. I had posted about it here as well http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/54/threadid/33219/scope/posts/Default.aspx

Mike: I tryed your test file in Firefox, and it would not downlad the full filename. It got cut off after the first space. Works fine in IE though.

The ALL Category problem has been bugging me too. I have alot of users that don't check the ALL Ckbox. I even put a note in the Upload form, and it still doesn't get checked. I was having to change it manually in the DB every time this happened. And if i edited the file through the Repository, it then showed me as the Author. Neither one of these solutions were very good. So, i finally got around to installing the source code and found a quick fix for now.

In the Form.ascx.vb, there is a comment about checking to see if there was more than 1 category, if not, add it to the ALL Category automatically.

Line 688 Form.ascx.vb

If strCategories.Length = 1 Then

' every item must be associated with the ALL category

I changed it to:

If strCategories.Length > 0 Then

' every item must be associated with the ALL category

This automatically gave me every file uploaded to be added to the ALL Category. Problem now is that i didn't want to have the ALL Checkbox shown in the Upload form.

Line 448 and 474 Form.ascx.vb

For i = 0 To Arr.Count - 1

I changed it to

For i = 1 To Arr.Count - 1

This now lists the categories in your upload form, skipping the first one, which is the ALL Category. Note that if you changed the order of listing your Categories, it will skip the first one regardless if it is the ALL Category or not.

Now I changed these and have tested it on my pc and then tryed it online, and it seems to work just fine. I am not a programmer, so there may be a reprocussion somewhere else, but i haven't found it yet. Hopefully this will shed some light for others.



Gary
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryCategories and File Naming ConventionsCategories and File Naming Conventions


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