Coder Social home page Coder Social logo

nodebb-plugin-custom-homepage's Introduction

Basic CMS plugin for NodeBB - custom homepage

Allows you to define a custom homepage for NodeBB. The default template comes with four widget areas (main, sidebar, header, footer).

Screenshots

homepage

Instructions

Install

Command line:

npm install nodebb-plugin-custom-homepage

Or install via the Admin Control Panel and restart NodeBB.

Activating

A new entry will be available under ACP -> General -> Home Page called "Custom Homepage". Set this and hit save.

Adding a menu item to the navbar

Add a navigation icon to the navbar on the menu via ACP -> General -> Navigation. Under route, enter /.

nodebb-plugin-custom-homepage's People

Contributors

barisusakli avatar icehunter avatar julianlam avatar nickjanssen avatar pitaj avatar psychobunny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodebb-plugin-custom-homepage's Issues

External links obtain active class when on home page

The title really explains it all.. I cant figure out how to resolve this issue since it's automatically added to the link from nodebb. Whenever the user is at the homepage my external link will be highlighted as active.

Error on 0.6.0

2014-11-09T00:17:14.873Z - error: TypeError: Cannot read property 'length' of undefined
    at unmount (/home/datagutt/NodeBB/node_modules/nodebb-plugin-custom-homepage/library.js:6:37)
    at Object.Plugin.init [as method] (/home/datagutt/NodeBB/node_modules/nodebb-plugin-custom-homepage/library.js:23:3)
    at /home/datagutt/NodeBB/src/plugins.js:456:13
    at /home/datagutt/NodeBB/node_modules/async/lib/async.js:125:13
    at Array.forEach (native)
    at _each (/home/datagutt/NodeBB/node_modules/async/lib/async.js:46:24)
    at Object.async.each (/home/datagutt/NodeBB/node_modules/async/lib/async.js:124:9)
    at fireStaticHook (/home/datagutt/NodeBB/src/plugins.js:454:9)
    at Object.Plugins.fireHook (/home/datagutt/NodeBB/src/plugins.js:410:5)
    at Plugins.reloadRoutes (/home/datagutt/NodeBB/src/plugins.js:132:11)
TypeError: Cannot read property 'length' of undefined
    at unmount (/home/datagutt/NodeBB/node_modules/nodebb-plugin-custom-homepage/library.js:6:37)
    at Object.Plugin.init [as method] (/home/datagutt/NodeBB/node_modules/nodebb-plugin-custom-homepage/library.js:23:3)
    at /home/datagutt/NodeBB/src/plugins.js:456:13
    at /home/datagutt/NodeBB/node_modules/async/lib/async.js:125:13
    at Array.forEach (native)
    at _each (/home/datagutt/NodeBB/node_modules/async/lib/async.js:46:24)
    at Object.async.each (/home/datagutt/NodeBB/node_modules/async/lib/async.js:124:9)
    at fireStaticHook (/home/datagutt/NodeBB/src/plugins.js:454:9)
    at Object.Plugins.fireHook (/home/datagutt/NodeBB/src/plugins.js:410:5)
    at Plugins.reloadRoutes (/home/datagutt/NodeBB/src/plugins.js:132:11)

Loading errors ?

When you first arrive on the "forum", you get the "forum page" (all category) as of the "custom home page" :/ but when you clic on the header forum title(or logo) this load well the custom homepage

Disabling global widgets on the homepage?

I've been attempting to do this, but so far my attempts are nil. I haven't dug into NodeBB much yet, so the workings are a bit unfamiliar to me right now. Is there any easy way to do this that wouldn't require modifying the core of NodeBB directly?

404 not found

I'm running NodeBB v0.4.3.

When clicking on Plugins / Custom Static Pages in the admin panel:
Not Found
You seem to have stumbled upon a page that does not exist. Return to the home page.

Even with no sidebar content on latest nodebb; I get col-md-9

I upgraded to the latest nodebb and locally testing shows that I no longer have a fullscreen wide custom homepage and instead it's defaulting to the col-md-9 class.

I have no sidebar content registered for that page; is there something that I can change? Anything required for details?

Thanks!

Plugin not loading

Hello all!

I'm fairly new to NodeBB (NodeJS in general), but it seems the plugin won't load. I've tried intalling it both using npm and the NodeBB Admin Panel.

The Admin Panel says its active, however there is not a section for this plugin in the "Installed Plugins" section.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.