CS-Cartshopping cartsoftware · Ecommerce solution
Go Back   CS-Cart Community Forums > Version 2.x > Store Design & Templates
Reply
 
Thread Tools Display Modes
Old 05-22-2009, 06:23 PM   #1
johnjohn
Member
CS Rookie
 
Join Date: Mar 2009
Posts: 33
Thumbs down [SOLVED] 2.0.x series skins - blockquotes, validation and accessibility errors?

I really don't understand why the entire storefront is wrapped in a Blockquote. It is not the proper use of blockquote and there are nesting issues within the templates.

BLOCKQUOTE at W3C: “BLOCKQUOTE is for long quotations (block-level content).”

I'm sure this is an oversight and I'm not trying to bash someone's hard work. Why was a div not sufficient? Also why the use of a non standard attribute? template="" is not acceptable.

I haven't the time to look closely, but what would occur if I removed the blockquotes and the non standard attribute from:
/core/class.templater.php

It seems to be the skins in 2.0 took a large step backwards. If anything, the skins should have been leaner and an improvement upon 1.3.5.

There is a lot of html and css bloat, they do not meet W3C standards and do not pass the most basic accessibility requirements. This makes customization and developing a solid product challenging and time consuming.


Last edited by johnjohn : 05-28-2009 at 06:10 PM. Reason: solved
johnjohn is offline   Reply With Quote
Old 05-22-2009, 06:46 PM   #2
TonyK
Head Moderator
Site Admin
 
TonyK's Avatar
 
Join Date: Mar 2006
Posts: 1,427
Default

What skin? i dont see this on the beta, default skin.

More info please.
__________________
CSCart-USA.com
Get the latest CS-Cart news here!
TonyK is offline   Reply With Quote
Old 05-27-2009, 12:52 AM   #3
johnjohn
Member
CS Rookie
 
Join Date: Mar 2009
Posts: 33
Default

It is in all 2.0 skins that I've looked at. Specifically 'Basic' and Austere'

In the source, this blockquote contains all content and other blockquotes are nested inside of it:

<blockquote class="cm-template-box" template="main.tpl" ...

Looking quickly, it appears that every hook creates a blockquote to contain the div containing the hook's content.

*btw, this is cscart_v2.0.3 stable release, not the beta version.
johnjohn is offline   Reply With Quote
Old 05-27-2009, 10:12 AM   #4
baballuci
Senior Member
CS Guru
 
baballuci's Avatar
 
Join Date: Mar 2006
Location: Surrey, UK.
Posts: 969
Default

It's because you've got 'design mode' switched on.

Disable customization mode and it'll go back to normal.

Admin -> Design -> 'design mode'
__________________
Charlie
baballuci is offline   Reply With Quote
Old 05-28-2009, 06:09 PM   #5
johnjohn
Member
CS Rookie
 
Join Date: Mar 2009
Posts: 33
Smile

Thank-you Charlie!! I had no idea that the design mode was enabled. I knew the blockquotes had something to do with design mode and I'm so glad that is optional. Now the page validates!!
johnjohn is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Workaround for 2.0.1 -> 2.0.2 upgrade tbirnseth Installation & Upgrade 2 04-01-2009 10:34 AM
Version 2.0.0 Beta 3 test site hacked TheNewbie General Questions 5 03-20-2009 10:09 AM
CS-Cart 2.0.0 Beta 3 is AVAILABLE TonyK News and Announcements 1 01-16-2009 04:37 PM