Hello,
Thanks for writing the custom head tag joomla plugin ! This is an absolutely great plugin. And thanks for making a version for joomla 1.5 native !
I would like to use this plugin. Although it's a great plugin I have a few comments, based on what I saw on the youtube video and on the description at
http://extensions.joomla.org/c
mponent/option,com_mtree/task,viewlink/link_id,4179/Itemid,35/
The plugin in is very flexible, but it can be made even more flexible.
Right now you have to enter the menu id's and content id's in the plugin configuration, that is fine. In addition the custom html/javascript/css code is entered in the plugin configuration, which is fine as well.
What I would like is adding extra html/javascript at the end of the custom code from the content pages like this:
{customheader: calenderheader,
"<style type='text/css'>
...
</style>
<script type='texst/javascript'>
function xyz(a, b, c) { return a*b*c; }
....... more javascript
</script>"
}
For the content items with this {customheader: .. , ..} tag, it will not be necessary to use the content id in the plugin configuration.
Splitting up the javascript and style code into several plugin arguments (path and code arguments both for script and styles) is fine as well though not necessary.
In this case the name "calendarheader" is the name of the customhtml plugin. So I can have several pages including different copies of the plugin, for example "calendarheader", "weddingplannerheader", but also "dojoheader" and "jqueryheader". The copies of the custom header plugin would contain configuration for including resp. dojo and jquery scripts.
Such an enhancement makes the custom head plugin better usuable for mixing javascript frameworks like dojo and jquery with joomla. With the current plugin I probably can achieve the same. However with an enhanced plugin I do not need a separate copy of the plugin for every page containing custom dojo/or jquery code any more. In addition the content and the custom javascript code will be only at the content page rather than partly in a plugin and partly in the content page. That makes site administration easier if you have many pages with different custom jquery/dojo code in the html head tag.
Calculators:
www.numericalexample.com
Stories:
www.factsandpeople.com