Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 v3.3 BUG+FIX: Printer Friendly in archives
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

masterao
Senior Member

Sweden
1678 Posts

Posted - 21 February 2002 :  17:21:03  Show Profile  Visit masterao's Homepage
When I click on Printer Friendly link in the archives, the pop-up window loads the default.asp page instead for the printer-friendly version. The querystring for pop_printer_friendly.asp doesnt contain the right variables in the querystring.
 The url is now:
javascript:openWindow5('pop_printer_friendly.asp?TOPIC_ID=21356')

but shouldn't it be

javascript:openWindow5('pop_printer_friendly.asp?ARCHIVE=true&TOPIC_ID=21356')


However, this isn't enough. pop_printer_friendly.asp doesn't use the strActivePrefix which topic.asp uses, and thus cannot collect any info from the archive tables.

I searched if this bug had been mentioned before, but I didn't find anything on it, though.

Master AO
===========
FR Portal

Edited by - Davio on 21 February 2002 18:32:37

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 February 2002 :  18:38:07  Show Profile
This was already posted and fixed but I can't find the topic either.
It has already been fixed in the next version, but I'll post the fix anyway.

Do the changes you made along with the following. Open pop_printer_friendly.asp, add the following code after the includes:
if Request.QueryString("ARCHIVE") = "true" then
strActivePrefix = strTablePrefix & "A_"
else
strActivePrefix = strTablePrefix
end if
Then change all instances of strTablePrefix to strActivePrefix in the file.

«-------------------------------------------------»
Read the Do's and Don'ts before you post for help
«-------------------------------------------------»
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07