PDA

View Full Version : Sharepoint Portal Server


yapjiwen
02-06-2004, 07:42 AM
Hi all,

I just added an additional pop up window to the Homepage that will be displyaed everytime the user logs on to the main page(homepage), assuming that user always logs on to the homepage FIRST.

This pop up is an important msg for the users. However, this pop up will only display once and will only display itself at the main page which means that if the user access through another page of the website, the pop up will not show. (For example, user navigates to xxx.asp and add to favourites. The next time he logs on he will go straight to xxx.asp instead of accessing the homepage then to xxx.asp.)

I was just wondering whether there is a way to enable the pop up to display itself regardless of which page the user logs on to FIRST.

There is a way I know though, that is to display the pop up everytime the user opens a new page. But that will be very irritating for the user as it will now behave like a pop up advert.

I just want the pop- up to display once and at whichever page the user logs on to FIRST. Is that possible?:confused:

Celtboy
02-06-2004, 04:11 PM
force an SSI include on every page with the pop-up....


I hate Sharepoint. The 2 times I've attempted to install it on Win2k3 servers (2 different servers, mutliple tries), it failed....bloody sharepoint...lol

Roy Sinclair
02-06-2004, 04:27 PM
I've installed Sharepoint (v2) many times, getting ready to deploy soon.

yapjiwen
02-09-2004, 01:16 AM
Hey thanks for replying. :)

but what is SSI ? :o

Anyway, by doing what CeltBoy has mentioned, will it ensure that the pop up is displayed ONCE throughout the whole session with the user(that is when the user logs on for the FIRST TIME regardless of which page he logs on to first), or will it display every single time the user opens subsequent new pages within the website?

Roy Sinclair
02-09-2004, 10:32 PM
SSI = Server Side Include.

Specifically the suggestion was to use a SSI to include the same content into each page so that no matter which page the user calls up first the popup would appear because the code to call the popup and set a cookie noting that the popup had been given could exist in all pages.

The basic form of a SSI is a specialized comment <!--#include file="nameoffile" --> or <!--# include virtual="pathtofile/nameoffile" -->

The ASP processor will read such a comment and replace it with the contents of the specified file (I don't know if the ASPX processor still does this or not, anyone else know?).