Hot answers tagged

2

The page layouts need to reside in the master page gallery (under _catalogs/masterpage). You could create a feature with a module to deploy them there, and then make your features A and B be dependent on this one via feature dependency


2

Navigate to one of your subsite's Site Settings and then, under Look and Feel, select Page Layouts and Site Templates. On this screen you can specify that your site only allows a handful of layouts. Simply click the "Pages in this site can only use the following layouts" radio button and then add the layouts you want to be available on that specific ...


1

Another option could be a content query web part. You can configure the web part to get documents from your library and apply condition to show recently modified documents. You can point web part to a document library in parent site or even in sub site. This web part is also OOTB web part.


1

I know its very late to answer, but SharePoint foundation does not provide the publishing feature and hence we cannot create our custom page layouts. But still you can use a WebPart page and customize it from SharePoint designer to look somehow similar to your custom page layout.


1

Wrong control! Change it to: <SharePointWebControls:DateTimeField FieldName="Modified" runat="server" /> Be careful when working with date & time in SharePoint


1

The _layouts directory doesn't store page layouts, they need to be provisioned to the master page gallery. The best option in your case would be to write Feature A with a module that would provision your page layout to the master page gallery and then you can write your Feature B with Feature dependency as Fran suggested in his answer. Alternatively in ...


1

If you are trying to change the page layout for pre-created SharePoint default page than you will not get it (If you are changing the page layout of the page which are created before activating feature than it will not work.). The issue is that the feature is not enabled that allows the layouts. To fix the issue go to Site Actions -> Site Settings in the ...


1

The URL changes when user clicks on the folder. It means the page always refresh after clicking on the folder in Document Library. It is the default behavior of SharePoint.



Only top voted, non community-wiki answers of a minimum length are eligible