Header and footer for homepage

General Discussion

Suggested Topics


  • 0 Votes
    1 Posts
    147 Views

    Hello all,

    I am using NodeBB 1.16.2 with Oxide theme. No other plugins except the ones that came with the installation. Every time I call a page I get the following 404 message in the nginx log:

    178.xxx.xxx.xxx - - [09/Apr/2021:10:52:02 +0000] "GET /assets/src/client/footer.js?v=4u8ga71iu38 HTTP/2.0" 404 9 "https://xxxx.xx/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"

    I just can't find the appropriate call to it though:

    # locate footer.js /var/www/nodebb/build/public/templates/admin/footer.js /var/www/nodebb/build/public/templates/admin/partials/settings/footer.js /var/www/nodebb/build/public/templates/emails/partials/footer.js /var/www/nodebb/build/public/templates/footer.js /var/www/nodebb/install/data/footer.json /var/www/nodebb# grep -R "footer.js" * CHANGELOG.md:* add partials/footer/js.tpl (94da9fe5) node_modules/nodebb-theme-vanilla/templates/footer.tpl: <!-- IMPORT partials/footer/js.tpl --> node_modules/nodebb-theme-persona/templates/footer.tpl: <!-- IMPORT partials/footer/js.tpl --> src/install.js: fs.promises.readFile(path.join(__dirname, '../', 'install/data/footer.json'), 'utf8'),

    Can someone please help me or point me in the right direction? I am unfortunately a newbie in the NodeBB area. Thanks!

    Translated with www.DeepL.com/Translator (free version)

  • 0 Votes
    3 Posts
    473 Views

    Thanks, that did it!

  • 1 Votes
    29 Posts
    3k Views

    Awesome job @Juan-G ! Glad to see people helping each other out on the forum 😺

  • 0 Votes
    1 Posts
    555 Views

    Maybe it's an idea to place version info in the footer wich link to the blogpost. Something like this.

    0_1521547968204_7c5cef03-5feb-4acf-9b1d-ed7b05192e76-image.png

    So it would be something like this.

    Copyright (c) 2018 NodeBB | Contributors
    version (v1.8.0)

  • 0 Votes
    15 Posts
    5k Views

    @cfrancois IMPORT does not work in widgets