Joomler!.net - Decided on Joomla!

Wiki or Wordpress? No it is JContentPlus.

Latest Posts

Re:Joomla 2.5 and 3.0 version ?
Avatar Rex Kramer 2013/01/30 00:40
Aaah, it was turned into a Module! http://www.joomler.net/download/139-joomla16-module/966-modul...
jQuery JS on component pages ? - cb register page
Avatar Rex Kramer 2010/05/28 07:55
Really cool and elegant plugin. Though, I doubt i can load and "access" the JS scrip...
Re:Installation?
Avatar jeremy 2010/04/25 05:26
念のため、私は日本語英語から私の質問を翻訳するGoogleの翻訳を使用しています。ですから、日本語で対応するならば、私はもう一度参考に応答を決定するためにGoogleの翻訳を使用して試すことがで...
Problems with Custom Head Tag (SOLVED)
Avatar Homer 2010/04/06 06:08
Greetings, Joomler: > I seem to be having some problems with your Custom Head Tags plug-in....
Re:Content ToHeader plugin
Avatar NumericalExample 2009/04/03 19:27
I am using toheader plugin and the custom head tag plugin now on a japanese website as well: www....

Popular Posts

ja purity template - need to customize css
Avatar webrp 2008/12/20 13:06
hi 1st of all thank you for this usefull module! I love this thumbnail feature. I have it o...
weblink does not display
Avatar insight 2009/02/20 09:40
hi I am using weblink module based on Joomla 1.5.9, but I cannot see this module works on my s...
Wrapper
Avatar jb 2009/11/05 06:41
Is there a way to display your links in a Joomla 1.5 wrapper when they are clicked?
Mod WebLink Info 1.1.2 Released
Avatar Eugene 2009/08/30 14:47
There is a problem with how Mod WebLink Info 1.1.2 Released is compressed. Thanks for great pr...
Display weblinks in a nice table-grid
Avatar inger 2010/02/15 23:06
I would like to have the weblinks wich I displayed in 3 colums, grouped by category, also display...

Forum Stats

All times are UTC + 9 hours
Total Topics:261
Total Posts:1254

Forum Online

Total Online:52
Total Guest:52
Bottom
Home » Support » Plugins » Free Plugin » Custom Head Tag » enhancement for custom head plugin
enhancement for custom head plugin
enhancement for custom head plugin
Sunday, 20 July 2008 20:15
0 votes
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/component/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
NumericalExample
Fresh Boarder
Fresh Boarder
6
2008/07/21
Last update:Monday, 21 July 2008 00:52
Re:enhancement for custom head plugin
Monday, 21 July 2008 08:46
0 votes
Thank you for your good idea.

I do my best to be able to support it in the next version.
Joomler!
Platinum Boarder
Platinum Boarder
489
2007/08/26
Re:enhancement for custom head plugin
Monday, 28 July 2008 05:24
0 votes
You could also consider adding css/javascript from the code 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>
{/customheader}
NumericalExample
Fresh Boarder
Fresh Boarder
6
2008/07/21
Re:enhancement for custom head plugin
Tuesday, 05 August 2008 19:22
0 votes
In fact the plugin I requested is a content-plugin and you have written a system plugin.

I did some programming and now I am almost finished with a content plugin that can be included in the content of a page, by putting text like this in the content:
<toheader>
<script src="..."/>
<style>...</style>
<script>...
..
</script>
</toheader>

This content plugin complements your customtag plugin.

I will make the content plugin available under the same license as the custom head tag plugin on www.factsandpeople.com
as soon as I have completely tested it. The content plugin will only work for joomla 1.5 with php 5 by the way.

I also tested using jquery with these two plugins. So some examples on how to use the two plugins with jquery will be added as well.
NumericalExample
Fresh Boarder
Fresh Boarder
6
2008/07/21
Last update:Tuesday, 05 August 2008 19:23
Re:enhancement for custom head plugin
Sunday, 10 August 2008 17:19
0 votes
The toheader content plugin described above is now available:

See also my posting on joomler.net:
http://www.joomler.net/component/option,com_fireboard/Itemid,17/func,view/id,251/catid,20/

See the ToHeader Content Plugin page for more information and the download link.

P.S. the ToHeader Content Plugin only works with joomla 1.5 native and PHP 5.
NumericalExample
Fresh Boarder
Fresh Boarder
6
2008/07/21
Last update:Sunday, 10 August 2008 17:24
 
Home » Support » Plugins » Free Plugin » Custom Head Tag » enhancement for custom head plugin
joomler.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries.
joomler.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.