Top of Page
Top of page

System - HeadTag


headtagInsert any JavaScript/CSS/Any tag into the document head based on ItemID or by using {plugin} tags.

Similar plugins exist, but they are either limited in scope, or have terrible configuration interfaces.  HeadTag aims to be an all-in-one solution to provide the ability to add the following types of tags to the document <head> -

  1. JavaScript source files
  2. JavaScript Declarations
  3. Linked StyleSheet (CSS) files
  4. Style Declarations
  5. Custom tags (of any type)

Here's how it works -

Using the Joomla Menu system, the plugin can be configured to add as many (or few) tags (of any combination) to specific menu items.  The configuration provides a basic list of items which can be edited or removed, as well as a complete interface to manipulate these tags.

Using the Joomla Access Levels, or User Groups - the plugin can be configured to add as many (or few) tags (of any combination) to specific Access Levels or User Groups. The same list of items is available for edit or removal of tags

Using the {headtag:*} code, tags can be added directly to any article, or html from any portion of the site.  Perhaps you want to add specific CSS for a category description, it's easy.  Here are some examples:

JavaScript Source File:
{headtag:script}/path/to/local/script.js{/headtag}
JavaScript Declaration:
{headtag:scriptdeclaration}alert('this is a script declaration');{/headtag}
Linked StyleSheet:
{headtag:stylesheet}/path/to/local/stylesheet.css{/headtag}
Style Declaration:
{headtag:styledeclaration}body {background-color:#000;color:#fff}{/headtag}
Custom Tag:
{headtag:customtag}<meta name="googlebot" content="NOSNIPPET"/>{/headtag}
Restrict to Access Levels
{headtag:customtag accesslevel="3,4"}<meta name="googlebot" content="NOSNIPPET"/>{/headtag}
Restrict to User Groups
{headtag:customtag usergroup="7,8"}<meta name="googlebot" content="NOSNIPPET"/>{/headtag}

RicheyWeb Joomla extensions are free! Additionally, they contain no advertisements or links back to RicheyWeb.com. If you feel that I have blessed you, then you can bless me. Click to make a donation to fund future development.

Top Downloads

Joomla 2.5

  1. AdminExile 17.9%
  2. ByeByeGenerator 10.6%
  3. Top of the Page 9.3%
  4. Favicon Package 8.1%
  5. SplashR 7.7%
  6. e-Privacy 6.5%
  7. CoolClock 5.7%
  8. Authentication - EMail 3.7%
  9. Content - MooAccordion 3.2%
  10. ScriptsDown 2.7%
  11. Browser Update Warning 2.5%
  12. Expires Headers 2.4%
  13. NicePanel 2.3%
  14. Terms of Service Package 1.7%
  15. Clean Response 1.6%
  16. System - Nomad 1.5%
  17. System - CleanFeed 1.2%
  18. Password Strength 1.1%
  19. DomainRestriction 1.1%
  20. Session Keeper 1.0%
  21. Detect Language 1.0%
  22. HeadTag 0.7%
  23. KeepaliveLight 0.6%
  24. Meta Character Count 0.6%
  25. MetaRobots 0.6%
  26. External Favicon 0.6%
  27. MicroBread Module 0.6%
  28. Answer Tips 0.4%
  29. Offline 0.4%
  30. Log Bad Passwords 0.4%
  31. System - SEBLODFeed 0.3%
  32. User - StaticPassword 0.3%
  33. Settler Module 0.3%
  34. Settler Plugin 0.3%
  35. User - StaticEmail 0.3%
  36. Loggie 0.2%
  37. Age Of 0.2%
  38. Content - Before/After 0.2%
  39. Profiler 0.1%
  40. Do Not Track 0.1%

Joomla 1.5

  1. e-Privacy 100.0%
RicheyWeb Extensions have been downloaded 404,383 times.
118 individuals and companies have made donations supporting future development.
Thank you Jason LaBossiere!