> so leave that file and have > [2] in the EditProvider.aspx.cs... and this solves my problem... i can > now get the loaded connection string (from flexwiki.config file)... > then hid the field for the connection string and have it set to the > DefaultedConnectionString value :)
OK, glad you figured out something that works for you. > my concerns now craig are: > 1. still in adding new namespace, how can we pass thru the selecting of > namespace provider type? since, we will only be for all db... I believe that the admin page looks through all the assemblies it has available and lists any that implement INamespaceProvider. Since FilesystemNamespaceProvider is built-in, there's really no good way to not list it, other than ripping it out of the code. Not sure how much of a pain that would be. Again, your other option is to special-case it by modifying the admin page. > 2. then can we possibly set that all new created namespaces be read- > only by default? then there would be a authorization field appended on > the ShowTypeDetailsForm(string providerID) of editprovider.aspx.cs, > wherein the user (the administrator specifically) can set who then can > have read and write access... ? That shouldn't be too bad. You'll just need to add a property like this [1] to _ContentBaseDefinition during namespace creation. It's a lot like how the Contact and Title properties get set in SqlNamespaceProvider [2] (around line 150). Just add in something for DenyEdit as well. Does that make sense? [1] DenyEdit: anonymous [2] manager.SetTopicPropertyValue(manager.DefinitionTopicName.LocalName, "Contact", Contact, false, "FlexWiki"); manager.SetTopicPropertyValue(manager.DefinitionTopicName.LocalName, "Title", Title, false, "FlexWiki"); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users