Skip to content

nodebb-plugin-custom-pages

Solved Customisation
5 2 4.7k 1
  • wrote on last edited by
    #1

    Hello 🙂

    I’m trying to find out how the nodebb-plugin-custom-pages plugin works

    I have done this :

    de4b1295-37a4-4fa3-aa9d-43e6b6105ca3-image.png

    575a537c-21e0-4d39-921c-25b9653a7748-image.png

    So far so good but how to edit HTML code for this page?

  • Hello 🙂

    I’m trying to find out how the nodebb-plugin-custom-pages plugin works

    I have done this :

    de4b1295-37a4-4fa3-aa9d-43e6b6105ca3-image.png

    575a537c-21e0-4d39-921c-25b9653a7748-image.png

    So far so good but how to edit HTML code for this page?

    wrote on last edited by
    #2

    @DownPW have a look in /admin/extend/widgets. This plugin creates both a route, and a widget for HTML placement.

  • phenomlab phenomlab has marked this topic as solved on
  • wrote on last edited by DownPW
    #3

    Ha yes solution create ****.tpl route and WE can add widget HTML on content bloc to edit HTML directly.

    Thanks 😊

  • wrote on last edited by DownPW
    #4

    Hello @phenomlab

    I use a different fa icon for each of my themes for the group all (fa fa-user me-1) But for one or two themes, fa-icon I use for each displays badly on badges
    Is it possible to target only some icons by their fa-name like here : fa-solid fa-alien-8bit , so that I can adjust the location of the icon in the badge without touching the others

    image.png

  • Hello @phenomlab

    I use a different fa icon for each of my themes for the group all (fa fa-user me-1) But for one or two themes, fa-icon I use for each displays badly on badges
    Is it possible to target only some icons by their fa-name like here : fa-solid fa-alien-8bit , so that I can adjust the location of the icon in the badge without touching the others

    image.png

    wrote on last edited by
    #5

    @DownPW it’s possible, yes, but you may inadvertently end up targeting other elements using the same class which of course isn’t desired.

    Can you provide a link in DM for me to review?


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • Nodebb icon on google page

    Solved Customisation nodebb
    9
    1
    4 Votes
    9 Posts
    4k Views
    phenomlab
    @Panda It’s been raised multiple times, but only for the open source version, and not hosted.
  • nodebb-user-level customisation : popover element

    Solved Customisation css user level plugin custom
    15
    6 Votes
    15 Posts
    5k Views
    DownPW
    No no, I said that in the sense that he told me it was simple ^^ I was able to see that this was not the case by targeting the elements he had advised me.
  • Q&A Plugin Changes NodeBB

    Solved Customisation nodebb q&a plugin
    25
    1
    6 Votes
    25 Posts
    12k Views
    cagatay
    @phenomlab said in Q&A Plugin Changes NodeBB: float: right; left: 10px; } worked thank you
  • How to downgrade plugin version on NodeBB

    Solved Customisation downgrade nodebb
    11
    3 Votes
    11 Posts
    5k Views
    phenomlab
    @cagatay no problems
  • Recent Cards plugin customization

    Solved Customisation nodebb
    21
    1
    13 Votes
    21 Posts
    13k Views
    phenomlab
    @pobojmoks that’s easily done by modifying the code provided here so that it targets background rather than border In essence, the below should work $(document).ready(function() { $(window).on('action:ajaxify.end', function(data) { $('.recent-card-container').each(function(i) { var dataId = $(this).attr("data-cid"); var color = $('[role="presentation"]', this).css("background-color"); console.log("data-cid " + dataId + " is " + color); $('[data-cid="' + dataId + '"] .recent-card').attr("style", "background-color: " + color); }); }); });
  • [NODEBB] Help for my custom CSS

    Solved Customisation nodebb css bugfix
    258
    49 Votes
    258 Posts
    194k Views
    cagatay
    mark hi, Refused to apply style from ‘https://efelsefe.com/assets/customfonts/FontAwesome-6-Pro/pro/css/v4-font-face.css’ because its MIME type (‘text/plain’) is not a supported stylesheet MIME type, and strict MIME checking is enabled. I keep getting this error.
  • [NodeBB] Import custom Font

    Solved Customisation custom fonts nodebb css
    12
    3 Votes
    12 Posts
    5k Views
    phenomlab
    @cagatay you’ll need to define this in the body tag (or another element if you want greater or more granular targets) - for example body { font-family: "Poppins"; font-size: 16px; } Essentially, you use the font-size CSS directive.
  • [NODEBB] Stats

    Unsolved Customisation plugin stats script
    20
    1
    2 Votes
    20 Posts
    7k Views
    JAC
    @phenomlab said in [NODEBB] Stats: @jac or I land up fixing it I wouldn’t put it past you