Uploader

Last post 03-16-2011, 4:50 PM by Eric. 3 replies.
Sort Posts: Previous Next
  •  03-14-2011, 3:07 PM 66649

    Uploader

    Hi,
     
    In the dotnetgallery uploader control, I need to disable and hide the "New Category" button and the category list on the left , so the user is only able to upload images for the currently selected gallery, and not able to create/select other categories. How do I do this?
     
    Cheers JerrZ. 
  •  03-14-2011, 3:43 PM 66651 in reply to 66649

    Re: Uploader

    Dear Jerrz,
     
    Please open "\CuteSoft_Client\Gallery\Editor\Explorer\Code.js", and comment the following lines:

     var newcatebtn=CreateEditorButton("Images/standard-category.png",GalleryLocalize.CLICK_NEWCATEGORY);
     leftToolbar.appendChild(newcatebtn);
     newcatebtn.onclick=function(){ browser.PromptNewCategory(); };
     
    Thank you for asking
     
     
     
     
  •  03-15-2011, 3:28 AM 66668 in reply to 66651

    Re: Uploader

    Thanks, that works perfectly.
      
    Kind regards. 
    Filed under:
  •  03-16-2011, 4:50 PM 66705 in reply to 66668

    Re: Uploader

    You r welcome
View as RSS news feed in XML