Re: Restrict User to upload image in to specific Category..

  •  03-06-2014, 8:36 AM

    Re: Restrict User to upload image in to specific Category..

    Hi narendrababu,

     

    1. Please open file\CuteSoft_Client\Gallery\Editor\Explorer\Code.js, find the function below

     

    function SelectCategory(category) {}

     

    2. Add the code below into the function above, then it will hide the upload button when user click on any category except "default".

     

    1. if (category.Title != null) {  
    2.   
    3.     uploadbtn.style.visibility = "hidden";  
    4. }  
    5. else {  
    6.     uploadbtn.style.visibility = "visible";  
    7. }  
     

    Regards,

     

    Ken 

View Complete Thread