Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:35:03 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: 2.7 Upgrade question  (Read 573 times)
DRB184

Offline Offline

Posts: 4


« on: June 02, 2008, 12:51:59 PM »

I have just completed the upgrade to 2.7 which seems to have gone to plan, but I do have one simple (I hope) question.

In the upgrade instructions on this site, under the sub-heading "Wrap up" is this instruction:
"Step 2: Modify your templates
In the future, modules will provide a frontend.css and backend.css file to store the CSS definitions of the modules. To automatically add those files into the head section of your template, please add the following code to the index.php of your template.

<?php // allows to include optional module files (frontend.css, frontend.js) into the head
if(function_exists('register_frontend_m odfiles')) {
  register_frontend_m odfiles('css');
  register_frontend_m odfiles('js');
} ?>
"
My question is: where in the index.php file should this be inserted? I am using the Andreas09 template and don't understand where I shouuld add this code. Any help would be appreciated.

Thanks,

David.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: June 02, 2008, 01:38:06 PM »

Hello,

add it betwean <head> .... </head>

Matthias
Logged
DRB184

Offline Offline

Posts: 4


« Reply #2 on: June 02, 2008, 02:03:10 PM »

Hi Matthias,

Thanks so much for your super quick and easy reply.

All the best,

David.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!