Re: Modify Template Layout

  •  05-25-2006, 3:23 PM

    Re: Modify Template Layout

    Please open/edit outereditorfull.frame.aspx to meet your requirements.
     
    For example, you can do something like this:
     
    switch(username)
       {
        case "Administrators":
         Editor1.SecurityPolicyFile  = "Admin.config";
         SetUploadsFolder("~/Uploads/");
         break;
        case "Members":
         Editor1.SecurityPolicyFile  = "default.config";
         SetUploadsFolder("~/Uploads/Member/");
         break;
        case "Guest":
         Editor1.SecurityPolicyFile  = "Guest.config";
         SetUploadsFolder("~/Uploads/Guest/");
         break;
      //  case "Banned":
      //   Editor1.ReadOnly = true;
      //   break;
         case "John":
         Editor1.SecurityPolicyFile  = "Admin.config";
         SetUploadsFolder("~/Uploads/Users/John/");
         break;
        case "Mary":
         Editor1.SecurityPolicyFile  = "default.config";
         SetUploadsFolder("~/Uploads/Users/Mary/");
         break;
        case "Tim":
         Editor1.SecurityPolicyFile  = "default.config";
         SetUploadsFolder("~/Uploads/Users/Tim/");
         break;
       }

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread