|
|
Rank: Devotee
Joined: 8/15/2007 Posts: 30
|
I was just wondering if editing umbraco.config was 'legal' or if bad things would start happening if I messed with it.
Thanks, Zach
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,076 Location: Charleston, West Virginia, United States
|
It is legal. Acutally, there are a few settings which should be edited to better suit your needs. Any specific questions you have? Once you are done editing, modify the web.config to have the app restart and pick up the changes in umbraco.config. Case
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
Rank: Devotee
Joined: 8/15/2007 Posts: 30
|
Well, I'm going to need to do some bulk loads into the system once I get the structure setup, so I was hoping to be able to manipulate the XML directly because that's so easy. I'm a much happier camper now, Thanks Casey.
Zac
|
|
Rank: Devotee
Joined: 8/15/2007 Posts: 30
|
Forgot to ask, what needs to be changed in web.config to restart the app?
|
|
Rank: Devotee
Joined: 8/15/2007 Posts: 30
|
Been looking around and read that I need to "touch" web.config right? I assumed that means just opening it in an editor, adding a space somewhere, and closing it.
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,831 Location: MA, USA
|
Right. To "touch" the web.config is to save it. But most editors won't save an unchanged file so add a space, delete the space (or a blank line) and then save it. IIS will notice that the file "changed" and will restart the application to load the new data. That will also force the umbraco config files to be loaded again as well. cheers, doug.
MVP 2007-2009 - Percipient Studios
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,076 Location: Charleston, West Virginia, United States
|
I am sorry... I read that incorrectly... I was thinking you were asking about umbracoSettings.config. Editing Umbraco.config will do you no good, as once the app reloads, the changes are lost. If you need to import content, using the API is the best way. There are methods of importing content using packages, but I would not recommend it, as it would be a huge mess to clean up. If you need help with the API, please post back, and we can try to help. I can also freelance for you if you need it faster. Case
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
Rank: Devotee
Joined: 8/15/2007 Posts: 30
|
Thanks Casey, I'll start looking into when I have a free moment (got pulled onto something else temporarily) and hopefully give it a decent shot.
Doug, thank you for the reply!
Zac
|
|
|
Guest |