Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

NAVIGATION ERROR/BUTTONS fail to go to right pages after stylesheet templete changes...

  Asked By: Hannah    Date: Nov 25    Category: Sharepoint    Views: 869

I recently altered (VERY SLIGHTLY) the stylesheet templates/sheets and now
find that the buttons in document library (e.g. for confirming a
subscription email or for checking in a document) do not direct SPS to the
correct page. Instead, I get a basic 'cannot find page' error. The
functionality is there, but the page seems to be 'missing'. I suspect that
there is a session var or other var that has been cleared somehow. Anyone
know what went awry? I can fix it using Javascript or - I think - JScript,
but I'd rather find out what went wrong. I only altered the colours so I
would be interested to know what it could be? Could it be a bug?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Divyesh Hurkadli     Answered On: Nov 25

I have managed to track down the var. responsible for button redirects.
It is strUrlToReturnTo. This seems to equal 'parentfolder' but the redirect
always fails. I have rewritten the redirect to use the 'fall back' value,
which for the majority of cases has worked. The only page  it wil lnot work
for is the create subscriptions page, for which I used histroy.back from
javascript. There's are still some tweaks needed for it all to work though.
There's a major problem with the error  return handler as well. I might have
to go thru the included tahoeutils.asp to amend the global function that
produces the strURL... variable...urgh...

I still don't know why this var is causing an error.
It is definitely not null (as I say it is = to 'parentfolder'). Does anyone
know why this link is throwing up errors? please refer to mail below for
context.