Hi, I've become a little stuck when creating an area template for a 2003 portal (it's my first time at doing it).
I have made a copy of the SPSTOPIC folder on C:\program files\common files\microsoft shared\webserver extensions\60\templates\1033 and renamed it to a customised name, I have then created a file called WEBTEMPSPScustomised name in the XML folder at C:\program files\common files\microsoft shared\webserver extensions\60\templates
It now shows up as a template I can use for an area. I am having trouble with the Onet.xml file. I am trying to remove the Group Listing webpart and replace it with a document library.
Is it just this line of code I have to replace, and what would I need to replace it with?
<AllUsersWebPart WebPartZoneID="MiddleLeftZone" WebPartOrder="0">
- <![CDATA[ <WebPart xmlns=" Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly><TypeName>Microsoft.SharePoint.Portal.WebControls.DocumentLibrary</TypeName><Title>Document Library</Title><Description>Shows listings in the portal.</Description><PartOrder>1</PartOrder><FrameType>None</FrameType><AllowMinimize>true</AllowMinimize><AllowRemove>true</AllowRemove><IsVisible>true</IsVisible><DisplayTemplate xmlns="urn:schemas-microsoft-com:sharepoint:ListingSummary">TopicsItems</DisplayTemplate><GroupBy xmlns="urn:schemas-microsoft-com:sharepoint:ListingSummary">Group</GroupBy><SortOrder xmlns="urn:schemas-microsoft-com:sharepoint:ListingSummary">Order</SortOrder><SortDirection xmlns="urn:schemas-microsoft-com:sharepoint:ListingSummary">Ascending</SortDirection></WebPart>
]]>
</AllUsersWebPart>
All help appreciated.
I have made a copy of the SPSTOPIC folder on C:\program files\common files\microsoft shared\webserver extensions\60\templates\1033 and renamed it to a customised name, I have then created a file called WEBTEMPSPScustomised name in the XML folder at C:\program files\common files\microsoft shared\webserver extensions\60\templates
It now shows up as a template I can use for an area. I am having trouble with the Onet.xml file. I am trying to remove the Group Listing webpart and replace it with a document library.
Is it just this line of code I have to replace, and what would I need to replace it with?
<AllUsersWebPart WebPartZoneID="MiddleLeftZone" WebPartOrder="0">
- <![CDATA[ <WebPart xmlns=" Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly><TypeName>Microsoft.SharePoint.Portal.WebControls.DocumentLibrary</TypeName><Title>Document Library</Title><Description>Shows listings in the portal.</Description><PartOrder>1</PartOrder><FrameType>None</FrameType><AllowMinimize>true</AllowMinimize><AllowRemove>true</AllowRemove><IsVisible>true</IsVisible><DisplayTemplate xmlns="urn:schemas-microsoft-com:sharepoint:ListingSummary">TopicsItems</DisplayTemplate><GroupBy xmlns="urn:schemas-microsoft-com:sharepoint:ListingSummary">Group</GroupBy><SortOrder xmlns="urn:schemas-microsoft-com:sharepoint:ListingSummary">Order</SortOrder><SortDirection xmlns="urn:schemas-microsoft-com:sharepoint:ListingSummary">Ascending</SortDirection></WebPart>
]]>
</AllUsersWebPart>
All help appreciated.