Page 1 of 1

How to modify the Header | < head > links in the source code

Posted: Wed Jan 10, 2007 1:16 am
by JohnnyB
I built templates using html 4 strict.  I've been trying to find how to modify the links in the header to be html 4 compliant. They are the generated links that links that can not be modified via the template and the admin preferences. 

I've looked at a lot of the source code and searched the knowledge base and forums. I'm hoping to get pointed in the right direction...

For example, where can I find the code in the source files that builds the following :

Code: Select all

<link rel="start" title="Home Page" href="http://www.mySite.com/home.php" />
and the same for the php that builds the link for stylesheets:

Code: Select all

<link rel="stylesheet" type="text/css" media="screen"
href="http://www.mySite.com/stylesheet.php?templateid=21&mediatype=screen" />
To become html 4 strict compliant, I need to eliminate the xhtml style closing brackets. 

Thanks in advance!

Re: How to modify the Header | < head > links in the source code

Posted: Wed Jan 10, 2007 1:51 am
by Dee

Code: Select all

<link rel="start" title="Home Page" href="http://www.mySite.com/home.php" />
is from plugins/function.cms_selflink.php (line 385)

Code: Select all

<link rel="stylesheet" type="text/css" media="screen"
href="http://www.mySite.com/stylesheet.php?templateid=21&mediatype=screen" />
is from plugins/function.stylesheet.php (lines 35 & 51)

Regards,
D

Re: How to modify the Header | < head > links in the source code

Posted: Wed Jan 10, 2007 1:58 am
by JohnnyB
Ah!  Thanks so much!  I didn't look at plugins... :-[