<!-- this goes in the head -->
SSL Labs Score

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× Extension Discussions

HeadTag

More
1 year 5 months ago #100 by michael
michael created the topic: HeadTag
HeadTag {arslatest release HeadTag}
Overview
Insert any JavaScript/CSS/Any tag into the document head...

HeadTag 3.0

Overview

Insert any JavaScript/CSS/Any tag into the document head based on ItemID (menu item) or by using the content plugin tag options.

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:

  • JavaScript source files
  • JavaScript Declarations
  • Linked StyleSheet (CSS) files
  • Style Declarations
  • Custom tags (of any type)

The plugin can be used in two ways:

  1. By using the plugin configuration to designate tags to be inserted by specific menu item, access level, or user group.
  2. By plugin tags inserted into content items, descriptions or modules (which process content plugins).
 

Installation

  1. Download HeadTag from the RicheyWeb download page.  
    • This page will remain unlinked, as the link may change in the future.  Visit http://www.richeyweb.com and use the search feature - search for "HeadTag".
  2. In Joomla /administrator, go to the "Extensions" menu, the "Manage" sub-menu, and the "Install" sub-menu.
  3. Select the "Upload Package File" tab
  4. Press the "Choose File" button to browse your system and locate the plugin file you downloaded
  5. Press the "Upload & Install" button

At this point, the extension is installed but not enabled.  You can find the plugin by going to the Extensions menu and selecting "Plugins".  When in the plugin manager, search for "HeadTag".  

 

Configuration

Each tab in the plugin configuration allows a different method of selecting which pages tags will appear.  Selecting script and stylesheet types enables an input field for the file URI.  Selecting either declaration type or the custom tag type enables a textarea where you can enter your declaration or custom tag data.

Using the content plugin tags, you may inject scripts and declarations into articles or any other area where Joomla processes content tags.

Here is the syntax for the plugin tag usage.






Your declarations and custom tags may span multiple lines.

You may add user group and access level parameters to the tags in order to restrict the audience. For example:


 

HELP

Please use the forums to request help.  Frequently asked questions may be added to this document at a later date.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Kunena Forum