content_img tag and html validation question

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
cpansewicz
Forum Members
Forum Members
Posts: 142
Joined: Fri Jun 17, 2011 12:22 am

content_img tag and html validation question

Post by cpansewicz »

This question has to do with CMS 1.12, and the {content_img} tag.

I have the tag in my template like this:
{content_image block='Headers' dir='images/heads' class='header' id='headerimage' sort='1' assign='headerimages'}

When I run my page through the w3.org validator, the {content_img} generates a name attribute. I am told this is obsolete, and to use id instead. Is there a place in the cms installation where I can go to make that change? I went to the "function.content_image.php" file but there was nothing there.

Is this something that I even need to worry about?

Thanks!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: content_img tag and html validation question

Post by calguy1000 »

This bug has been fixed in 2.0.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
cpansewicz
Forum Members
Forum Members
Posts: 142
Joined: Fri Jun 17, 2011 12:22 am

Re: content_img tag and html validation question

Post by cpansewicz »

Ok Thanks. 2.0 was rollled out after I started a site upgrade in 1.12. Is there a reference page of issues I could expect if I upgraded from 1.12 to 2.0? It is a fairly large site.

Thanks!
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: content_img tag and html validation question

Post by paulbaker »

Take a look at
http://www.cmsmadesimple.org/2015/09/Fi ... Australia/
for general info about V2.

And
http://dev.cmsmadesimple.org/project/li ... ed/CMSMS-2
which lists modules which are currently compatible with V2.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “Modules/Add-Ons”