Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Nick1973
Just wondering, is there a full list somewhere of all the HTML 5 Elements/Tags added to responsive classic?
Do you mean a list of every place where HTML tags like <input type="phone"> or <section> etc are used? Please explain why that would be useful.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
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.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Nick1973
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.
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.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
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.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Nick1973
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.
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.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
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.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
schoolboy
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.
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.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Nick1973
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.
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.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
do you think i should stick with it for now then and not bother?
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
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.