6 สิงหาคม 2553 0:09
This may be a basic question, but I created a subsite at http://myserver/mysubsite
I need to access the default.aspx page for the subsite, but when I go to C:\inetpub\wwwroot\wss\VirtualDirectories\80 I don't see any aspx files at all and there is no folder called C:\inetpub\wwwroot\wss\VirtualDirectories\80\mysubsite. I do, however, see about 500 .BAK files at C:\inetpub\wwwroot\wss\VirtualDirectories\80. I have also browsed IIS manager and see no sign of mysubsite or any related files. Can someone tell me what is going on?
6 สิงหาคม 2553 1:10
SharePoint is database driven, so there are any many occasions where you won't find anything in IIS or on the file system that maps directly to what you see in SharePoint. For example, the site structure is dynamically created from a SQL Server database.
If you want to customize a SharePoint page, you can open it in SharePoint Desginer (which is free) and make changes. Some changes with "un-ghost" the page which means that it will actually be written as a 'physical' file somewhere on your file system. Generally, ghosting is good because it makes things like backup and upgrade simpler.
You can create your own master pages and page layouts and then create pages based on those.
- ทำเครื่องหมายเป็นคำตอบโดย igor92128 21 กันยายน 2553 22:39
6 สิงหาคม 2553 2:01Thanks for the clarification. Are there also codebehind files that I can use after I un-ghost the page? I need access to default.aspx.cs because I need to do some tweaks for the page_load() method. Or is there an easier way to modify the codebehind?