Specify Root folder for multi-portal DNN Applications

Last post 04-20-2005, 4:58 PM by jhoelz. 7 replies.
Sort Posts: Previous Next
  •  04-17-2005, 5:26 PM 5791

    Specify Root folder for multi-portal DNN Applications

    How can I specify the root folder for multi-portal dnn installations?
     
    I need to be able to specify a root folder for images, etc per portal.
     
    If I specify UseDNNRootImageDirectory="true" in the webconfig I can see all the folders in the root of the individual portal. If I change that to false I can specify the directory information in the security configs for each "role" but that information then becomes a global setting accross portals.
     
    There needs to be a way to set the root directory and have that be applied dynamically per portal. At least until the editor can grab hold of the permissions by portal and role.
     
    Any ideas how I can accomplish this?
  •  04-17-2005, 10:22 PM 5805 in reply to 5791

    Re: Specify Root folder for multi-portal DNN Applications

    It's possible.

    But you need to modify the provider code.

    I'll write some code example and post here tomorrow. You can just modify it to meet your requirements.

    But you need to recompile the code this time.








    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

  •  04-19-2005, 1:25 PM 5910 in reply to 5805

    Re: Specify Root folder for multi-portal DNN Applications

    Jack,

    I've updated the CuteEditor for DotNetNuke provider solution.

    Please download the Nuke_edit from here.

    Keep me posted.



    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

  •  04-19-2005, 1:43 PM 5915 in reply to 5910

    Re: Specify Root folder for multi-portal DNN Applications

    I'll give it a go and let you know.
     
    Thanks! This will be very helpful for all DNN users.
  •  04-19-2005, 5:12 PM 5926 in reply to 5915

    Re: Specify Root folder for multi-portal DNN Applications

    ok, This works for me. It would be better if you could specify the folder in the config files, but having an admin and member folder will solve the issue of protecting the root directory so admins can't delete or use stuff from the skin folders.
     
    Works for what I need, thanks for taking the time to do it!
  •  04-20-2005, 12:23 AM 5937 in reply to 5926

    Re: Specify Root folder for multi-portal DNN Applications

    Adam,
     
    This is working great, but I do have a suggestion if you don't mind.
     
    Consider making the folder names more unique, especially the admin folder. Something like AdminFiles or CSAdmin. More for future reference than anything, the admin folder is ofetn used for "other" things.
     
    Thanks again, it's working great.
  •  04-20-2005, 12:54 PM 5970 in reply to 5937

    Re: Specify Root folder for multi-portal DNN Applications

    Another Thought.... Make the path [PortalID]/CSEditor/folders
     
    That would eliminate any conflict with current or future folders.
  •  04-20-2005, 4:58 PM 6004 in reply to 5970

    Re: Specify Root folder for multi-portal DNN Applications

    Adam, I really apologize for bugging you on this, but I'm wondering if my previous posts make sense and if you plan on changing this in the immediate future. I have several sites that need to be updated and I can live with what you have, but if theres going to be change I need to account for that in development.
     
    Please let me know.
     
    Thanks,
    Jack
View as RSS news feed in XML