Amgeek wrote:
Just to be sure I understand:
HTML method used on files like “index.htm” or “.html”?
CSS method on files like template_css.css ?
PHP method of files like “index.php”?
Yes and no. You can find HTML, CSS and PHP in the index.php and vice versa but the norm is as you described. You can tell from the syntax used.
Amgeek wrote:
Now, how about something like this for solving the problem of multiple or conflicting javascript entries.
How to find them,
Which one needs to be moved and exactly where to move it
Which ones need to be commented out and how
An example script entry in the index.php
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/mootools.js"></script>
For that, use the HTML commenting method.
If there is incompatible, comment out all scripts except ie.js or ie_suckerfish.js which is needed for IE and suckerfish. Examples are reflection.js, rokzoom.js, slimbox.js and rokmoomenu.js
For all <script ... /> syntax in templates, use HTML commenting