• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.4.2 Latest
Buy Hosting
    • All categories
    Load new posts
Log in to post
  • M

    Parent theme hooks in child theme

    Scheduled Pinned Locked Moved Plugin Development theme plugin.json plugin themes beginner
    0 Votes
    2 Posts
    457 Views
    M

    After some more code digging and experiments I can answer my own question. A theme is a normal plugin and as such does not inherit any behavior from other plugins.
    So you need to copy everything you need from the base theme library.js to your child theme. And of course, you need to declare client scripts explicitly.
    Loading of missing templates from base theme is the only link between the base and the child theme.

  • DoppyD

    How add another route with another .tpl file

    Scheduled Pinned Locked Moved NodeBB Plugins plugin developer plugin.json
    0 Votes
    6 Posts
    3k Views
    julianJ

    Thanks for providing much needed assistance @frissdiegurke 😄

    Welcome to the land of plugin creation @Doppy !!

  • frissdiegurkeF

    Plugin.json scripts no duplicates

    Scheduled Pinned Locked Moved Feature Requests plugin.json
    0 Votes
    8 Posts
    3k Views
    frissdiegurkeF

    I decided to go with applying the compile-step to all client-side scripts options.

    Nonetheless this might be nice to have 😉

  • K

    plugin.json doesn't want to load

    Scheduled Pinned Locked Moved Technical Support plugin.json theme
    0 Votes
    2 Posts
    2k Views
    barisB

    Post your plugin.json maybe it has a syntax error. Also did you put your theme in node_modules and activate it from the ACP?

  • frissdiegurkeF

    Doc mistakes the nbbpm property

    Scheduled Pinned Locked Moved Bug Reports plugin.json documentation package.json
    0 Votes
    3 Posts
    2k Views
    julianJ

    gh#3534 😄

  • A

    Plugin example code

    Scheduled Pinned Locked Moved Bug Reports plugin.json plugin
    0 Votes
    1 Posts
    966 Views
    No one has replied
  • sdnycoS

    How to properly include anything.js

    Scheduled Pinned Locked Moved NodeBB Development plugin plugin.json jquery
    0 Votes
    3 Posts
    4k Views
    sdnycoS

    I'll have to do some more testing. Thank you for your help. 🙂

  • J

    Problem when trying to call masonry js library in plugin.json

    Scheduled Pinned Locked Moved NodeBB Development plugin.json
    0 Votes
    4 Posts
    2k Views
    A

    @Jelena You're welcome, didn't look in the plugin file. 🙂 glad you've got it working,

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.