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 ForumsRepositoryRepositoryAtten : steve - Catagories sectionAtten : steve - Catagories section
Previous
 
Next
New Post
8/25/2009 3:08 AM
 

Dear steve and other friends,

Thanks for making Dotnetnuke Repository section. I am using it very nice in my website.

But I have only few problems that I might now know .

  • I want my registered users to upload content without moderation. I am trying to make a business directory
  • I have 200 catagories. when user try to select catagories then he have to move his scroll too down. 
  • Please follow this image URL to know the problem in more brief. http://harpal.xelixis.net/problem.gif

waiting for reply.

thanks singh

www.anygrafix.de

 
New Post
8/25/2009 10:14 AM
 

You can fix both of those problems...

1. On the Repository module Settings page, there is a section for security, check the 'Registered Users' checkbox in the Moderator section. If a person is a Moderator, then their uploads will not require moderation.  Now, if you want to hide the Moderate button, so only Administrators will see the Moderate button, add a 'Roles' attribute to MODERATEBUTTON token in the header.xml file as follows...

    <Object>
        <Token>[MODERATEBUTTON]</Token>
        <Settings>
            <Setting>
                <Name>Roles</Name>
                <Value>Administrators</Value>
            </Setting>
        </Settings>
    </Object>

This will cause the Moderate button to only be injected if the current user is a member of the Adminstrator role.  So, by making those 2 changes, Registered Users will be able to upload items without moderation, but will not be able to moderate any uploads, only Administrator will see the Moderate button. That way if you want to all other users to upload items but have those uploads be moderated by an Administrator, you can do so.

2. Modify the form.xml file for the template you are using, you can set values for RepeatDirection, RepeatColumns and RepeatLayout for the Categories control.

    <Object>
        <Token>[Categories]</Token>
        <Settings>
            <Setting>
                <Name>Select</Name>
                <Value>MULTIPLE</Value>
            </Setting>
            <Setting>
                <Name>RepeatColumns</Name>
                <Value>3</Value>
            </Setting>
            <Setting>
                <Name>RepeatDirection</Name>
                <Value>Vertical</Value>
            </Setting>
            <Setting>
                <Name>RepeatLayout</Name>
                <Value>Flow</Value>
            </Setting>
        </Settings>
    </Object>

The Values for RepeatLayout can be "Table" or "Flow". The values for RepeatDirection can be "Vertical" or "Horizontal".  The default value for RepeatColumns is "1" which is why you are seeing the layout you are in your screenshot.

Hope that helps, if you have any problems, just yell :)

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAtten : steve - Catagories sectionAtten : steve - Catagories section


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