+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Sitefinity 3.7 Images and Documents

Sitefinity 3.7 Images and Documents

3 posts, 0 answered
  1. SangsG
    SangsG avatar
    4 posts
    Registered:
    01 Apr 2008
    11 Jul 2011
    Link to this post
    Hi,

    1)  We have several Libraries in Images and Documents.  We often have to upload a single file into 8-10 of the libraries, 1 at a time.  Is there a way to upload a single file, or set of files, into multiple libraries at once?

    2)  Is it possible to set the default view and sorting for the libraries in Images and Documents?  I'd like to automatically see the libraries in the List form sorted by Name.

    3)  Is there any way to add page numbers in Images and Documents to the top of the list, instead of just at the bottom?

    4)  is there any way to edit the amount of files that show for each page?

    Thanks,
    SG
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    14 Jul 2011
    Link to this post
    Hello Sangeeta Garhyan,

    1) This feature does not exist outside of the box, however you can implement an extension to group operations to copy images from one library to the other. Sample: http://www.sitefinity.com/blogs/radoslavgeorgiev/posts/09-11-11/use_the_content_manager_api_in_a_web_service.aspx. You have to extend the sample to duplicate the items to some parent libraries.

    2) Unfortunately this is not available out of the box.

    3) You have to map the control template for displaying library items (~/Sitefinity/Admin/ControlTemplates/Libraries/LibraryItemList.ascx. Then you have to edit the RadGrid control with it ItemsGrid and set the pager style accordingly:
    <PagerStyle Position="TopAndBottom" Mode="NumericPages" />

    4) You have to set the PageSize property of the RadGrid control for the list mode. For the thumbnails mode this cannot be set.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. bleutiger
    bleutiger avatar
    153 posts
    Registered:
    23 Oct 2008
    14 Oct 2011
    Link to this post
    Sangeeta Garhyan

    In regards to your number 2 item.  I had a similar problem and through various posts was able to piece together the answer.  I do not know if you were able to solve it or not but here is what I have found.


    FIRST

    Navigate to (~/Sitefinity/Admin/ControlTemplates/Libraries/LibraryListView.ascx)

    At the very top of the page there is a div with class="ViewOptions"

    Inside that there is a RadTabStrip.  You can try to change the selectedindex of the tabstrip from 0 to 1 but this DID NOT work for me.

    WHAT DID WORK was changing the order of the <Telerick:RadTab ...> items.  I Simply moved the "listView" to the top of the list.

    This will make sure that the listView is selected on the page.

    NEXT

    On the same page you neex to do the same thing inside the <RadMultiPage> section...

    Cut the RadPageView with the ID of "listView" and paste it ABOVE the RadPageView with an ID of "boxesView"

    Again I don't know why this works but it does.

    LASTLY

    at this code to inside the <MasterTableView> tags of the RadPageView with the ID of "listView"

    <SortExpressions>
                            <telerik:GridSortExpression FieldName="Name" SortOrder="Ascending" />
                        </SortExpressions>
                    </MasterTableView>


    Then save.

    This should do the trick for you.

    Hope it helps you and anyone else looking for this solution.

Register for webinar
3 posts, 0 answered