in

ASP.NET Weblogs

uber1024's WebLog

It's not hot wings and beer, but it's still okay

Odd behavior by Sharepoint Portal Server 2003

In attempting to customize my company's SPS2003 intranet (I refuse to call it my SPS because it's getting increasingly hideous with every new “suggestion”), I came across a little landmine involving using other pages as templates that you might want to watch out for.  This is what I did:

I customized a page so that it looked right.  Then, satisifed with that page design, I went to another, previously added, page and clicked “Change Settings.”  I clicked “Page” and then changed the Area Template radio button to select “this area uses the following page as a template” and pasted in the URL of the page that I'd customized.  The page changes to look exactly like the page I'd customized, which was fine.

Both pages were basically just containers for the Page Viewer Web Part (more on this later, maybe tonight).  I opened the properties of the Page Viewer and changed the URL that it was viewing and I thought I was done.  My new page was now perfect.  I went back to the old page later and lo and behold, it had changed to use the new URL in the Page Viewer.  I changed it back, which changed the new page as well.  The pages were mirror images of each other.

Moral of the story, “use the following page as a template” actually means “this page is a reflection of the following page, and changes to one make changes to the other”.  If I ever write an SPS book, I'm putting the Cheshire Cat on the cover.  Curiouser and curiouser ...

Also, changes to txtlstvw.aspx don't seem to show up on the site.  I modified the HTML in visual studio but it didn't make any changes to the way news and listings show up ... anyone have any clues?

Published Apr 06 2004, 01:07 PM by uber1024
Filed under:

Comments

 

Serge van den Oever, Macaw said:

The "use this page as template" functionality really SUCKS bigtime!!! I did exactly the same thing the first time on a live site.... based it on the homepage, changed it and.... the homepage was wrecked!! It reuses everything, including the content! This option is only useful for pages using the same webparts displaying context sensitive information (depending on the area you are looking at).
April 7, 2004 7:53 PM
 

uber said:

Preach on, brotha! Can I get an "Amen?" I SAID "CAN I GET AN 'AMEN?!'"
April 8, 2004 8:29 AM
 

Serge van den Oever, Macaw said:

AAAAAAAAMEN!!!!
June 12, 2004 12:20 PM

Leave a Comment

(required)  
(optional)
(required)  
Add