Using HTML 4.01 ? |
[eluser]Diti[/eluser]
Hi guys, For particular reasons, I want to make my website in HTML 4.01. However, I'd like to use, for instance, the form helper. You should know that the main difference between HTML and XHTML is the way to write the closing tag. Code: <!-- In HTML --> Am I forced to modify myself CI internal code or there is another way ? Thanks for you attention. Regards, Diti.
[eluser]joeles[/eluser]
If you copy the form helper file to application/helpers/form_helper.php, CI will use that file instead of the one located in system/helpers. You can then modify your copy in the application/helpers folder to be HTML 4 without affecting the CI core code.
[eluser]Diti[/eluser]
Thank you very much joeles, I didn't know that manipulation . Diti.
[eluser]Derek Allard[/eluser]
I just wrote Giving your Helpers a little Help 4 days ago - funny how that works
[eluser]Michael Wales[/eluser]
Haha - I was just reading that article Derek. Your blog is definitely a great resource - and the application specific helpers are a great tool. To Diti: If you are wanting to use the form helpers, definitely go this route. Personally, I only use form_open() and for_close() - I prefer to markup the form myself - just personal preference though.
|
Welcome Guest, Not a member yet? Register Sign In |