Where are the <base> and <link> tags generated from?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Where are the <base> and <link> tags generated from?

Post by stopsatgreen »

I'm making a site as HTML Strict, but it won't validate because the and tags are formatted as XHTML. Which file generates these, so I can change them?
Pierre M.

Re: Where are the <base> and <link> tags generated from?

Post by Pierre M. »

May be in the templates of your pages, or Site Admin/Global settings.

But I woulnd't do it your way. You should conform to nowadays W3C standards. It doesn't cost you anything to make a 2007 website rather than a 1997 one.

PM
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Where are the <base> and <link> tags generated from?

Post by stopsatgreen »

Thanks for the tip, but I didn't need the snide remark.

HTML4.01 is a W3C standard. XHTML is fine in theory, but as it isn't supported by IE6* (and throws it into Quirks mode) and, as HTML5 looks to be on it's way to becoming reality, there is no need to ignore HTML4.01. If it's coded to meet the Strict DTD you can still use DOM scripting on it with no side effects.

http://www.456bereastreet.com/archive/2 ... _websites/

In a nutshell: as long as you code to the Strict DTD, HTML or XHTML is a personal choice.

So again, thanks for the help, but as a web developer of 6 years I don't need to be talked down to.

* The only way to make IE6 read XHTML is to remove the XML declaration at the beginning; that means the page is no longer XHTML.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Where are the <base> and <link> tags generated from?

Post by Dr.CSS »

In the default install it says "{metadata}
" this is where it comes from? but I don't see it there must be in a .php file in admin, which I've yet to find...
Pierre M.

Re: Where are the <base> and <link> tags generated from?

Post by Pierre M. »

There are more than 6 years of experience from 1997 to 2007 ;-)

My little advice didn't intent to hurt you. I'm sorry.

PM
Post Reply

Return to “CMSMS Core”