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

Community

Alex GalaxA

Alex Galax

@Alex Galax
About
Posts
15
Topics
4
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    [nodebb-rewards-essentials] "last logged in" value
  • Alex GalaxA Alex Galax

    what's the value of the "last logged in" option? How do I query that in the settings?


  • nodebb-widget-essentials translation
  • Alex GalaxA Alex Galax

    https://github.com/NodeBB/nodebb-widget-essentials/issues/38

    Content inside widgets can not be translatet, because the plugin will only get the transaltion for the default language as set in acp. It ignores the user profiles language.

    can anyone confirm this?


  • RE: translation for widget content
  • Alex GalaxA Alex Galax

    got it! had to add the folter/files for the default language en-GB as set in apc, even though my user account language is de.


  • RE: translation for widget content
  • Alex GalaxA Alex Galax

    so it's not possible, using translation in widgets?
    But it's weird, that nodebb is recognizing it as a translation.


  • RE: [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
  • Alex GalaxA Alex Galax

    @pitaj said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:

    @alex-galax the best way to override templates is probably to create a new plugin with a templates directory and a plugin.json set to {}. You can override the templates that way if you copy the calendar templates over.

    I created the plugin with the following structure.

    nodebb-plugin-ns-theme/
    ├── templates/
    │   └── calendar.tpl
    ├── package.json
    └── plugin.json
    

    plugin.json is an empty object and calendar.tpl has only some text for testing. I activated the plugin, set its position below calendar in the apc sorting settings and build everything. But its still the old calendar 😕

    it's working now. did it with a regular plugin setup.


  • RE: How do I call JQuery inside library.js
  • Alex GalaxA Alex Galax

    library.js is server-side java script, not jQuery. jQuery functionallity can be simulated with eg cheerio
    main.js is included in HTML (client-side), here u can use jQuery.


  • translation for widget content
  • Alex GalaxA Alex Galax

    In my languagefile, I have all the transaltions { "greeting": "Oh, Hi." ... }.

    When I include [[mytheme:greeting]] in template files, the correct text will be displayed.
    But in widgets as title or html content, I get the log Missing translation "mytheme:greeting".
    Why so?


  • RE: [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
  • Alex GalaxA Alex Galax

    @pitaj yeah I can imagine its not that easy. I'd probably extend data.postData.event = {...} and go from there. For now I found a css only solution.


  • RE: [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
  • Alex GalaxA Alex Galax

    @pitaj that's true. I will try how far I come with pure css.
    I mean, I'd like to have it as a <li component="post" element. Why isn't that html code parsed as a tpl anyways?


  • RE: [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
  • Alex GalaxA Alex Galax

    @pitaj want to change the panel layout. shure, could be done in css but its not neat 😌
    best thing for my layout would be the event as a seperate post component. and for that I need to change the plugin anyways. but i still have no idea, why the fork won't install correctly


  • RE: [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
  • Alex GalaxA Alex Galax

    @pitaj hmm, the html code for displaying an event in the topic ist done in /src/lib/template.js. So can't really overwrite this way, right?


  • RE: [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
  • Alex GalaxA Alex Galax

    @pitaj but I can't do it in my custom theme, because its getting build first, right?


  • RE: [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
  • Alex GalaxA Alex Galax

    First of all - great plugin!

    I forked the plugin. But the intallation npm i <myGhUsername>/nodebb-plugin-calendar won't create the ./build build.

    I want to do some changes on the templates. Whats the best practice for this?


  • RE: [nodebb-plugin-custom-pages] Custom Static pages for NodeBB
  • Alex GalaxA Alex Galax

    I get incorrect urls for the "recent view" module (v0.4.1): mydomain.com/%7Bconfig.relative_path%7D/topic/2/foo-bar

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.