RE: Modify <SharePoint:PortalConnection runat="server">
anonymous_at_discussions.microsoft.com
Date: 02/21/05
- Next message: Todd Klindt: "Re: Editing email Address ?"
- Previous message: Matt: "Excel export keeps <DIV> tags"
- In reply to: Cornelius J. van Dyk: "RE: Modify <SharePoint:PortalConnection runat="server">"
- Next in thread: Patrick Feltz: "Re: Modify <SharePoint:PortalConnection runat="server">"
- Reply: Patrick Feltz: "Re: Modify <SharePoint:PortalConnection runat="server">"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Feb 2005 12:35:55 -0800
Hi C,
Yes, I did create new site definition. I realised I
could then change the default.aspx file of that new
definition, but I found that to remove the upward link
from 'all' pages, I then had to go through the site
definition's list types and modify all the other aspx
pages too, e.g. allitems.aspx, to ensure it was removed
from the doc library views in the new definition.
It would be nice to be able to do this from one point,
i.e. for the whole site definition.
Thanks.
>-----Original Message-----
>Anonymous,
>
>The post was almost correct in pointing you where to
go. Unfortunately,
>editing the "ONET.XML" file will not work because it
does not contain a
>reference to the uplink object. Only the site
definition template's
>"default.aspx" file contains this reference.
Furthermore, editing the
>"default.aspx" from the "STS" template folder will
affect normal WSS sites
>and not sites created with your template.
>
>I'm going to assume that you created a new site
definition template based on
>the definition of the WSS site definition found in
the "C:\Program
>Files\Common Files\Microsoft Shared\web server
>extensions\60\TEMPLATE\1033\STS" folder. Let's assume
you called your new
>site definition "NEWSITE". What you need to do is
locate the "default.aspx"
>file located in the "C:\Program Files\Common
Files\Microsoft Shared\web
>server extensions\60\TEMPLATE\1033\NEWSITE" folder.
Edit this file to remove
>the line:
>
><SharePoint:PortalConnection runat="server" />
>
>Save it and create a new site from this template to
test. Additionally, you
>can place your own link in the spot from which you are
removing the code to
>link where you need it to link.
>
>I trust this is helpful to you.
>
>Thanks
>C
>
>
>
>
>
>"anonymous@discussions.microsoft.com" wrote:
>
>> Hello,
>> I have created a new site definition and would like to
>> modify the connection to the parent WSS site, to go
>> somewhere else. One article
>> http://tsc.webrevel.com/issues/printit.asp?issueid=738
>> suggests modifying this through the site defs onet.xml
>> file, but I couldn't locate the exact code in that
file
>> to do this. I was able to locate it in the site def's
>> default.aspx page - a test of commenting this out only
>> effected the default.aspx page itself, not the actual
>> document library or admin pages. Can anyone point me
to
>> the correct spot to do this?
>> Thanks.
>>
>.
>
- Next message: Todd Klindt: "Re: Editing email Address ?"
- Previous message: Matt: "Excel export keeps <DIV> tags"
- In reply to: Cornelius J. van Dyk: "RE: Modify <SharePoint:PortalConnection runat="server">"
- Next in thread: Patrick Feltz: "Re: Modify <SharePoint:PortalConnection runat="server">"
- Reply: Patrick Feltz: "Re: Modify <SharePoint:PortalConnection runat="server">"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|