.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Yes, and it would be useful as I have built my own responsive template and would like to add in the HTML 5 tags where possible otherwise it means starting from scratch again. Basically so i can edit what I have built and bring it up to date with HTML 5 Compliance.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Better to use PHP defines. In this way people can add additional languages along with many other features. Hard-coding HTML tags into these templates is what novices do and what contributes to future headaches of template users. Also, Google is applying many stringent "rules" to how HTML is now rendered, with the focus on AMP. Hardcoded "conventional" HTML will contribute to a template that is unlikely to be future-proof.
If you want to see how proper, responsive templates are built, then go examine those from picaflor azul.
I would advise all my customers to AVOID going near a template that uses archaic methods to render HTML.
20 years a Zencart User
LOL....thanks for the sarcastic reply Schoolboy. There was absolutely no need for that. I can assure you I am not a novice and the template I have built is fully responsive. My problem is that I had started it when Zen Cart released the Responsive Classic Template and it was too difficult to go back. Zen Cart previously relied on HTML 4 until recently, you should know that! I'm not talking about Hard Coding HTML into anything, I am basically asking for a list of what was added to the previous HTML 4 Templates in order to bring them up to HTML 5 Standards. Which of course means using PHP to code them in. In all honesty I'm not a great fan of the picaflor azul templates for all sorts of reasons, which is a personal choice. I find they often don't work quite as well as they should and particularly from a design and layout perspective. So I don't think there is anything wrong with writing my own template to suit my requirements.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
You should run your template/code, or from anyone else for that matter, through a code validator to see if any incorrect coding is present. Adding HTML code where you think it is needed is part of what coding is all about.
Yep, and that is one of the things I will be doing Rob. However that is going totally away from my question. Which was, Just wondering, is there a full list somewhere of all the HTML 5 Elements/Tags added to responsive classic? It would be good to have basically as a cross reference.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Some interesting comments you made. I would not recommend picaflor azul templates as an example of good coding. I was also unaware that Google is now trying to be the Code Police and enforce their version of code review on people.
As to the comments "Hard-coding HTML tags" & "Hard coded conventional HTML", what is conventional HTML and if not hard coded, how does one insert HTML code? After all, HTML is Document Structure and without there is no web page.
Although it might be good for reference it would be more work than it's worth. I have never seen an HTML Style Guide provided with any template I've seen, free or paid-for. Common coding methods deal with code blocks, that is what to focus on. Coding in blocks and making them modular is the way to go; no matter what language is being used.
do you think i should stick with it for now then and not bother?
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
i wasn't asking for a style guide by the way, just the html 5 elements that was added into the code to bring mine in line with html 5. it doesn't matter too much, i can add basic html 5 elements if i wish though.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Bookmarks