Custom Head Tag for 1.5

Version
1.0.2 (last update on Mar 24, 2008)
Rating
Compatibility
Votes
Favoured
10
License
GPLv2 or later
Non-Commercial
Type
Views
31884
Date Added
20 February 2008
add the parameter of custom tag
How to update
overwrite files
Updated to 1.0.1
fix : Two or more scripts and styles
Custom Head Tag for Joomla!1.5 version : 1.0.0
About Custom Head Tag
The work that this extension does.
Output your scripts to head tag.
Output your style to head tag.
Setting
Menu ID
Please input the menu ID that output custom tag.
Example:1,3,7
Content ID
Please input the content ID that output custom tag.
Example:1,3,7
Output
When you set it in ALL, custom tag is output by all pages.
Path : Javascript
Please input path after the site URL.
In the case of the plural number, please divide it at a new line.
Eexample:modules/mod_example/javascript/example.js
Script : Javascript
Please input the custom javascript.
Eexample:alert('Example');
Path : Style
Please input path after the site URL.
In the case of the plural number, please divide it at a new line.
Example:modules/mod_example/style/example.css
Style : Style
Please input the custom style.
Example:div#example{display:hidden}
Many thanks for this useful helper. I needed a solution to load different scripts and a special jQuery version for serveral pages. Because other major components and the template use different libraries i had to make sure, that there are no collisions.
Custom Head Tag was the quickest and easiest solution.
Thank you.
Custom Head Tag was the quickest and easiest solution.
Thank you.
This is the perfect tool for that JavaScript that just HAS to be pre-loaded in the head tag. Of course you can do it through the template index.php file, but loading files on every page of your site that are only even used in a handful of pages is overkill. This proved to be a great solution for my needs, and I'm sure I'll be using it plenty in the future.
Well, I can't complain about this plugin because it does exactly what it claims to. However, it is severely limited because it can only be configured once. Whatever custom tags you want, you can put them on one menu or set of articles and that's it. If you have different tags you want for different menu items or pages, you're out of luck. This should be a module.
After 2 long days of desperate problem searching, this tool released me. I could not figure out how to set the js path files correctly and my function didn't work at all. With your tiny easy tool I could include the shadow box js files and the script and now everything works perfectly.





