Open Source Services
taming open source systems...
Home arrow Forum
Friday, 05 December 2008
Main Menu
Home
Forum
Products
Download
Sitemap
Contact Us
Poll
How did you find this site?
 
Login Form





Lost Password?
No account yet? Register
Open Source Services
Welcome, Guest
Please Login or Register.    Lost Password?
High priority support for Product Attribute Pictures (PAPs) v2.0 PLUS for osCommerce.
Go to bottom Post Reply Favoured: 0
TOPIC: PAPS v1 W3 validation
#280
joefishellis@hotmail.com (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
PAPS v1 W3 validation 7 Months, 2 Weeks ago  
Hi, Thanks for the great Oscommerce contribution.

A working example of PAPS v1 can be found at www.sobaby.co.uk

I am happy with its operation. However, I am having trouble altering the code so that:

&w=350&sq=N

does not appear in the final code and spoil my W3 HTML validation.

would be great if you guys could forward a fix for this.

Best Regards

Joe

P.S keep up the good work

P.P.S the above issue adds 7 errors per image - so in my case where I have upto 16 images per page the errors soon mount up
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/04/19 20:43 By joefishellis@hotmail.com.
  The administrator has disabled public write access.
#284
hanuman (Admin)
Admin
Posts: 289
graph
User Offline Click here to see the profile of this user
Re:PAPS v1 W3 validation 7 Months, 2 Weeks ago  
Hi Joe

Thanks for bringing this problem to my attention. For a start, you can safely remove the '&sq=N' from all query strings in

catalog/includes/modules/paps.php

as it is not strictly required. The '&w=350' is crucial, however. I'm not sure why it isn't getting validated, but if you wanted to change it then you would need to make the corresponding change in

catalog/paps_makethumb.php on line 201:

Code:

$thumbWidth = $_GET['w'];
Change the GET parameter to whatever W3HTML-friendly name you've changed it to in catalog/includes/modules/paps.php Regards Nick
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#286
joefishellis@hotmail.com (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:PAPS v1 W3 validation 7 Months, 2 Weeks ago  
Thanks Nick,

I'll let you know how I get on.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#287
joefishellis@hotmail.com (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:PAPS v1 W3 validation 7 Months, 2 Weeks ago  
Nick,

I deleted the &sq=N and that got rid of a number of the errors,

Seems the problem with w=** was bought about about by the preceding unencoded ampersand (&amp I just replaced this value with
Code:

&
and the following w=** apears valid. Thanks v much for your help Joe
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/04/21 21:59 By joefishellis@hotmail.com.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
 
© 2008 Open Source Services
Designed by Open Source Services. Powered by open source software.
Seasonale
Generated in 5.21039 Seconds