Howdy Folks,

I am looking to embed the Easy PHP Calendar script into my Drupal site. In order to accomplish this, I must do the following (from their instructions):

There must be a link to the CSS file in the header (just before the </HEAD> tag) of any page that displays the Easy PHP Calendar script.

<?php $CSS=1; require("calendar/calendar.php"); ?>
</head>

What is the best way to do this? I don't even know what file to edit as I generally try and leave the core stuff alone. If I do this, will I need to do it each time I upgrade Drupal core? Any other best practices? Thanks in advance for any help.

Comments

3cwebdev’s picture

You can manually edit the page.tpl.php template file(s) in your theme's directory. If you are using a core theme then you should copy and rename it into your sites/all/themes directory then edit the template file.