Re: Prevent admin cosole to upload into default category

  •  06-22-2011, 9:23 PM

    Re: Prevent admin cosole to upload into default category

    Hi honzas,
     
    You can achieve it by the following code.
     
    Find file 'CuteSoft_Client/Gallery/Editor/Explorer/Code.js'
     
    Find about line 59, add 
    1. uploadbtn.style.display = "none";  
     then about line 193 in function ShowAllPhotos(), add
    1. if(uploadbtn.style.display=="")  
    2.     uploadbtn.style.display = "none";  
     then about  line 214, at the end of function SelectCategory(category), add
    1. if(uploadbtn.style.display=="none")  
    2.      uploadbtn.style.display = "";  
     
      
    Regards,
    Jeff 
View Complete Thread