Questions tagged [pencilblue]

PencilBlue is an open source Node.js CMS and blogging platform.

PencilBlue is an open source and blogging platform which uses for data storage, optionally uses for caching and includes built-in support for Bootstrap, AngularJS, and jQueryUI.

For more information, see the official homepage.

20 questions
3
votes
0 answers

Pencilblue: Building api around custom object type

I'm trying to build an API using pencilblue, but can't figure out how to start. This question is really wide but I'm looking for examples on creating CRUD API with custom object. Thanks!
danielrvt
  • 10,177
  • 20
  • 80
  • 121
2
votes
0 answers

How to add a module to Angular in Pencilblue?

So I'm building this Pencilblue website. Pencilblue is based on the MEAN stack. I'm trying to get a search function going. I need to declare a module. Pencilblue does it like this: ClientJs.getAngularController = function(objects, modules,…
user19882
  • 113
  • 7
1
vote
1 answer

How to redirect the url from nested site in pencilblue?

I want to 301 redirect the URLs from previous site that are nested, as pencilblue doesn’t support them, e.g. a/b to page/b For this I have been experimenting in include/http/request_handler.js but facing some issues. Call never comes inside…
Touqeer
  • 583
  • 1
  • 4
  • 19
1
vote
1 answer

adsense-pencilblue initialising of plugin is failing

I’m using adsense-pencilblue Plugin, when it goes to the live site, it is showing an error message while I'm configuring it. Screenshot is attached of the error message. Any help will be appreciated. Thanks.
Touqeer
  • 583
  • 1
  • 4
  • 19
1
vote
1 answer

Redirection from http to https (Pencilblue Elastic Beanstalk)

We're trying to redirect all the hits from http to https. Currently the application is deployed on elastic beanstalk and it's allowing both http and https, but we only want the https. I've tried adding the server object in config.js to make the…
Touqeer
  • 583
  • 1
  • 4
  • 19
1
vote
1 answer

PencilBlue adding new field to the sign up form

I'm trying to add a user role field into the sign up form in my PencilBlue site. Created my own plugin, copied \controllers\actions\user\sign_up.js and set the getRoutes. Now I'm getting this error: Cannot set property 'position' of null. I did all…
1
vote
1 answer

Why the main pencilblue module does not have the pencilblue.js

Normally for plugins in pencilblue when the file details.json refers the main module like this: "main_module": { "path": "pencilblue.js" }, I am expecting to see the file pencilblue.js in the same directory as the file …
efleurine
  • 176
  • 1
  • 6
1
vote
1 answer

How to connect pencilblue and mongodb running on two different AWS EC2 instances?

I have mongodb running on once ec2 instance and pencilblue running on another instance. After installing penciulblue, i've used the command pbctrl start to start the server. Then i get the following error 2016-04-25T20:35:12.100Z - error: [1]…
1
vote
1 answer

In Navigation, possibility for page as Parent Navigation Item for other pages?

Through the admin GUI I want to use a page as Parent Navigation Item for a set of other pages. Instead of a Container. Is there a way to make this possible?
1
vote
1 answer

Pencilblue - origin not allowed for controller endpont

I'm developing an API using pencilblue, everything works fine until I make an AJAX request to this endpoint. I always get an "origin not allowed" error. Is there a way to enable CORS with pencilblue?
danielrvt
  • 10,177
  • 20
  • 80
  • 121
1
vote
1 answer

Pencilblue - Webservice to get a list of all articles rendered

I was wondering if there is a way to get a list of all article's HTML already rendered. I want the media image files rendered as and not as a ^media_display_55aabd2ac89b5e44211ccf86/position:none^. I've built a controller for…
danielrvt
  • 10,177
  • 20
  • 80
  • 121
1
vote
1 answer

PencilBlue - Custom Object Id's

I'm working with PencilBlue, and I'm having trouble with the custom objects Id's. The "name" field is used as an Id, but I would like it to be just a regular field and have an "id" field as identifier. How could I achieve this?
danielrvt
  • 10,177
  • 20
  • 80
  • 121
0
votes
1 answer

Compose-for-mongodb Bluemix connection with pencilblue

Currently, I am using Bluemix to deploy and host a website with PencilBlue. My issue lies in the connection of a storage service "compose-for-mongo" and the pencilblue framework. This connection is done through the VCAP JSON. The VCAP comes with the…
Joel Almeida
  • 62
  • 1
  • 10
0
votes
1 answer

How to install a nodejs cms like pencilblue on uberspace

I would like to have the pencilblue nodejs cms with mongodb installed on my uberspace account. Which steps do I have to take?
Lem
  • 283
  • 2
  • 11
0
votes
1 answer

Pencilblue (node.js) performance issue: constantly writing to disk

just got done installing my first local instance of Pencilblue. I'm running OSX 10.11 with a fresh install of node.js/mongodb/pencilblue. The very first time I ran "pencilblue start", I noticed that I could hear my HDD working feverishly. Sure…
noahlocke
  • 39
  • 4
1
2