COLDBOX PLATFORM V4.1.0 and W3C

I am working through the Coldbox tutorial and got the first page to work.

That page is http://coldbox.srtechgroup.com/index.cfm

I ran that page through the W3C validation page (https://validator.w3.org/)

The results produced 6 errors and 1 warning on the basic page.

I was hoping that the code generated by Coldbox would be W3C compliant.

If it is not compliant then do I need to go through all the code generated by Coldbox and fix it all so that it is compliant?

I was able to fix two errors by adding missing tags in a .

I also got rid of the other errors by changing the code in various places.

That’s just a sample app Bo. ColdBox isn’t responsible for the HTML or CSS that you use in your final project, you are :slight_smile:

If you would like you can submit pull requests to tidy up the application templates that CommandBox installs to your liking. There are found here, and I believe the default one that CommandBox installs is “advancedscript”

https://github.com/ColdBox/coldbox-platform/tree/master/ApplicationTemplates

http://blog.coldbox.org/blog/how-to-submit-pull-requests-to-the-coldbox-platform

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

What is a “pull request”?

If I understand the process for Coldbox, it seems like I will be using the application templates to build CB applications so I’d probably want them to be as clean as possible so I would not need to modify them for each project.

Bo

A pull request is a method of contributing code back to an open source project. You create a copy of their repository, make your own changes, and then put in a request for them to “pull” your changes into the main project. The second link below in my last reply explains the process step-by-step. You can also Google and find lots of guides about how pull requests work. In fact, I have a webinar I did a while back titled, “What’s a pull request?” I guess it was made or such as time as this:

http://www.coldbox.org/media/cbdw2013#1_4

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com