MSDN "If you are instead provisioning a file outside a document library,
specify Type="Ghostable"."
Is that what you meant by copy/ghost a file from the 12 hive to a
virtual directory (Ghostable = Directory, GhostableInLibrary= Library)?
Reply> Correct. If you take a look at the module entry for the
default.aspx file in most of the site definitions you will see that it
doesn't have a Type entry because Ghostable is the default and the
default.aspx normally goes in the root of the site (unless it's a
publishing site). For a publishing site it would be ghostable in
library because you are putting it into the pages library.
Right now I manually place my feature folder in the 12 hive, and I've
wanted to "provision??" the file to a style library.
I'm interested in knowing how to do what microsoft has done and have a
directory like _catalogs that has several lists within it.
MSDN says:
"If you provision files to a subdirectory through the Module element,
Windows SharePoint Services automatically ensures that the directory
structure is created to match your files."
I assume that is talking about a subdirectory when you specify "URL" I
was hoping I could use
'<Module Name="MPages" List="116" Url="_style/BYUIStyle">'
And it would create a location for multiple custom style libraries to be
created.
Reply> I know you can create a subdirectory structure that way. I'm not
sure you can provision a list that way. Normally lists are provisioned
first in a site definition and then referenced in the module. You could
try it, but I don't think it will work. Without the list entry you
would get a subdirectory called _style/BYUIStyle off the root of the
site. With the list entry I think you will get an error because it will
be looking for a list instance but not finding it.