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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

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

Post 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!
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

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

Post 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
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

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

Post by JohnnyB »

Ah!  Thanks so much!  I didn't look at plugins... :-[
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Post Reply

Return to “Layout and Design (CSS & HTML)”