Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Graham Thomson 56 posts 136 karma points
    Dec 17, 2016 @ 14:16
    Graham Thomson
    0

    Glyphicons - add to Umbraco

    Hi

    I'm doing a tutorial on Bootstrap just now and it mentions Glyphicons.

    What is the process for adding them to Umbraco as I cannot see a folder for Fonts in the Settings menu?

    Thanks

    Graham

  • Marc Goodson 2155 posts 14406 karma points MVP 9x c-trib
    Dec 18, 2016 @ 09:28
    Marc Goodson
    0

    Hi Graham

    Have a look at this quick tip from Warren Buckley on how to make other icon fonts available in the backoffice for document type icons:

    https://creativewebspecialist.co.uk/2013/12/01/quick-tip-adding-custom-doctype-icons-to-umbraco-7/

    or

    if you just wanted to let editors pick the glyphicons class names you could use; uCssClassNamePicker Property Editor (http://tooorangey.co.uk/posts/ucssclassnameiconpicker-property-editor-for-umbraco-7/) from https://our.umbraco.org/projects/backoffice-extensions/ucssclassnamedropdown/

    or inconator: https://our.umbraco.org/projects/backoffice-extensions/iconator/

    regards

    Marc

  • Graham Thomson 56 posts 136 karma points
    Dec 20, 2016 @ 20:23
    Graham Thomson
    0

    Thanks very much Marc!

  • Søren Kottal 712 posts 4570 karma points MVP 6x c-trib
    Dec 18, 2016 @ 14:33
    Søren Kottal
    0

    Hi Graham, welcome to Our.

    Are you trying to use Glyphicons in the front end of your site?

    If you have an FTP connection or similar, you can upload them to your site. You can put them wherever you'd like.

  • Graham Thomson 56 posts 136 karma points
    Dec 20, 2016 @ 20:33
    Graham Thomson
    0

    Hi Soren

    Yes I'm trying to use Glyphicons in the front end of the site.

    I don't have an FTP connection. Is this the only way to do this?

    From reading the Bootstrap documentation it looks like I need to put the fonts folder on the same level as the CSS folder (or what equates to the "Stylesheets" folder in Bootstrap).

    But in Umbraco I cannot see a way to make the folder....

    Thanks

    Graham

  • Søren Kottal 712 posts 4570 karma points MVP 6x c-trib
    Dec 21, 2016 @ 07:32
    Søren Kottal
    0

    Hi Graham

    You need some kind of access to the file system to get the fonts in the site. How did you get your site online?

  • Marc Goodson 2155 posts 14406 karma points MVP 9x c-trib
    Dec 24, 2016 @ 14:28
    Marc Goodson
    0

    Hi Graham

    ahh I understand...

    Yes so if you are running Umbraco in Azure or similar cloud based template you may not easily have access to the file system, and Umbraco does not contain a file manager to enable you to create the files and folders you would normally have in a website, eg the fonts folder at root.

    There is a workaround though! - Umbraco allows you to create 'packages' from one Umbraco site, and download a zip of the package and install it in another Umbraco site. The packages can contain folders and files that aren't part of the standard Umbraco install - so we can create a package that contains the /fonts folder and the glyphicons font files.

    You might not have an existing Umbraco site to create them from ...

    So here is a link to a zip of a package I've just created called UploadFonts_1.zip

    https://www.dropbox.com/s/gby3bei1nq5xp1k/UploadFonts_1.zip?dl=0

    If inside your Umbraco backoffice you go to the developer section, and click on 'packages' and the '+ Install Local' option, you should be able to choose to install the above package file, and the fonts folder and glyphicons should be created in your site.

    If you want to include other font files or your own files in other folders, if you open up the zip file you'll find a package.xml file and you can actually edit this xml outside of Umbraco to include different files from the zip, or create different folders (orgPath)...

    regards

    Marc

  • Graham Thomson 56 posts 136 karma points
    Dec 30, 2016 @ 17:09
    Graham Thomson
    0

    Thanks Marc! I'll have a read over!

Please Sign in or register to post replies

Write your reply to:

Draft