![]() |
Re: 4.4.4 Site Won't Validate
How many of these "load_defer_codes" do we need anyway?
Besides the {load_defer_code type="js"} and {load_defer_code type="css"} in home.tpl they are also in the service_head.tpl as well. |
Re: 4.4.4 Site Won't Validate
Like I said some of the css and js files are loaded if you go to certain page or if certain modules are enabled so they are not loaded in head section but in the body so I think this code is there at the end for cases like this
|
Re: 4.4.4 Site Won't Validate
I have modified my Socialize Module to use ShareThis so my visitors have access to over 100 services besides Facebook, Twitter, and Google +1.
With my modification the homepage validates fine with the Socialize module turned on because I've commented out sections and added the ShareThis code as shown below. Quote:
I am getting validation errors on the product page related to using the FaceBook Comments part of the Socialize Module and ShareThis. I'll work on Line 97 but I'll live with Line 90 and Line 465. Line 90, Column 26: there is no attribute "property" <meta property="og:title" content="xxxxxxxxxxxxxxxxxxxxx... Line 97, Column 96: general entity "id" not defined and no default entity Line 97, Column 98: reference to entity "id" for which no system identifier could be generated ┘" content="http://www.mysite-444/image.php?type=T&id=16880" /> Line 465, Column 52: there is no attribute "displayText" <span class='st_facebook_hcount' displayText='Facebook'></span> When I finish the mod the way I want my products will list automatically on Twitter and my Facebook Wall. My FB Wall will show thumbnails of the products as well because of the FB code that the x-cart Socialize Module contains. Access to the other services opens when you hover over the ShareThis icon as shown in the attachment. Let me know if this is of interest to you and I'll provide more details. Thanks! Paul |
Re: 4.4.4 Site Won't Validate
Looks interesting. LMK how it turns out.
|
Re: 4.4.4 Site Won't Validate
Quote:
|
Re: 4.4.4 Site Won't Validate
Don't go crazy...
Make sure .htaccess change the following line: From: RedirectMatch permanent ^.*/var/.*$ http://www.yourdomian.com/x-cart-path/error_message.php to: <FilesMatch !"\.(css|js)$"> RedirectMatch permanent ^.*/var/.*$ http://www.yourdomain.com/x-cart-path/error_message.php </FilesMatch> Good Luck... It works for me... |
All times are GMT -8. The time now is 03:06 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.