Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

HTML Head

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I need to put a script into the Head of my HTML. Please can you tell me how I can find it.
This is the sort of thing that I need to insert:

<script src="use.fontawesome.com/XXXXXXXXXX.js"></script>
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

Can I just check what do you need to load from fontawesome ?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Evening Paul, basically this line of code, needless to say I have changed a number key for a load of XXX......

<script src="use.fontawesome.com/XXXXXXXXXX.js"></script>

I went to font awesome and signed up for, see this link:

fontawesome.io/get-started/

The outcome being I now need to install that line of script code.

I did this because I was having trouble with the various download kinks on the JBtype page and then I feel I have been ripped off by JCE Editor. But that's another story and it's not been a good day!
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
ah ok sorry to hear about your day being a bummer

Shortcode plugin connects to fontawesome so it can access any font on there

You can connect to the cdn via the plugin
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
sorry I should have clarified a couple of things regarding JB Type

JB Type is still available for older templates but it isn't need for recent templates and shouldn't be installed

Shortcode replaces JB Type

Shortcodes does not work as a plugin for the JCE editor as the amount of features shortcode contains makes this prohibitive
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Would you be kind enough to give me an example of how to that please?
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
For icons there is

docs.joomlabamboo.com/zen-grid-framework-4/theme/shortcodes/icons

Although if you change some of the default settings in the plugin you can connect to their cdn
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
There are the grids similar to JBType

docs.joomlabamboo.com/zen-grid-framework-4/theme/shortcodes/grids
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
Last Edit: 7 years 1 month ago by manh.
The administrator has disabled public write access.
If you want to connect to the CDN it is a little more complicated in regard to changing settings

docs.joomlabamboo.com/zen-grid-framework-4/theme/shortcodes/loading-latest-font-awesome
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Does this cover what you looking for?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul I have now got myself an Icon!!!

Can I make it larger?
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
Is the icon in normal content or a custom html module?

Its a bit more complicated if its a menu or icon toggle

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
It is in a custom Module, position Bottom 4.
I just need to get a fax and a phone icon.

www.mushroomhouse.co.uk/index.php
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
hmm if you add largeicons to the module class that will make it bigger but maybe too big

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
This what I used and it now appears okay for me.

<p style="text-align: center;"><span style="color: #ebb35b;"><span style="font-size: 18pt;">{zen-phone-square}</span>020 8520 5228<span style="font-size: 18pt;">{/zen-phone-square}</span></span>
</p>

Cheers
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
Last Edit: 7 years 1 month ago by Michael Fitzpatrick.
The administrator has disabled public write access.
Yes you could do that

If you used the effect elsewhere in the site I'd use a class and the custom.css file

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers