Iโve created Ceramic Engine, an open source cross-platform 2D framework written in Haxe.
You can also check out my Twitter, Instagram or Soundcloud!
Add admin features to docpad
License: MIT License
Iโve created Ceramic Engine, an open source cross-platform 2D framework written in Haxe.
You can also check out my Twitter, Instagram or Soundcloud!
im getting this error:
error: An error occured:
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
Would be nice if a changelog was maintained. Typically the convention exists within a History.md
file and follows the format:
## History
- v6.34.0 May 8, 2013
- Now uses [envfile](https://github.com/bevry/envfile) for `.env` file parsing
- Fixed `TypeError: Cannot call method 'get' of undefined -> /lib/docpad.js:972` error when using [minicms plugin](https://github.com/jeremyfa/docpad-plugin-minicms)
- Closes [issue #501](https://github.com/bevry/docpad/issues/501) reported by [rleite](https://github.com/rleite)
This is awesome by the way. Fantastic work!
docpad version: 6.69
node version: .10.29
npm version: 1.4.23
I installed Docpad (with Bootstrap/Jade skeleton) in a new, empty folder, and verified that it ran on localhost:9778. I then stopped it and installed MiniCMS via npm("npm install docpad-plugin-minicms"). I then installed the MiniCMS as per Docpad's requirements ("docpad install minicms"). I started up Docpad again and localhost:9778 would not resolve, giving Chrome's standard "This webpage is not available."
I reinstalled docpad in a few different skeletons and the same problem keeps occuring.
This happens when i'm trying to inser a table in the markdown editor.
ex:
Lorem ipsum Irure consequat consequat | Lorem ipsum Irure consequat consequat | |
---|---|---|
Lorem ipsum* | 00000 | 0.0% |
Lorem ipsum* | 00000 | 0.0% |
*Lorem ipsum Irure consequat consequat
Please update examples
image upload does not works at all because req.files
is empty(undefined) in the router\upload.js
and returns 404 from the #L112.
In order to fix this, needs to change the following line #L74
return app.post('/' + this.config.prefix.url + '/:content/:field/upload', cp, cs, express.bodyParser({ keepExtensions: true }), require('./routes/upload').bind(this));
Running DocPad 6.52.1, installing miniCMS, using the example blog config, docpad run
and going to localhost/9778/cms
shows on the following error on the webpage & command line:
TypeError: Cannot read property 'a' of undefined
at Session.def.get (c:\Users\Michael\Desktop\MDM\Client Projects\SunStarIT.com\Development\Staging\node_modules\docpad-plugin-minicms\out\utils\sessionBridge.js:17:29)
Full error at:
https://gist.github.com/mikeumus/6496997
is there a possibility that you could create an input field for filepicker.io?
or explain how to create new fields?
thanks in advance
I get this error in terminal when I try to save changes I've with the cms
error: An error occured:
Error: spawn ENOENT
at errnoException (child_process.js:977:11)
at Process.ChildProcess._handle.onexit (child_process.js:768:34)
Any clue why it's happening?
hi there!
i'm just getting into docpad...
and i just installed mini-cms on an instance.
at startup i get
Error: Secret is required for cookie sessions (minicms)
where is the config file?
or should i directly edit src/minicms.plugin.coffee ?
On docpad start up you do this block of code and for some reason this stops the compile process of docpad
I just commented that block and i'm not getting any more erors
This minicms plugin is working quite well, but it is still a quick & dirty code. It would be nice to implement a new version with more extensible code. Maybe by using angularjs for the frontend.
When I press delete button on a content with a photo type field, the document is deleted, but not the image itself,
Here is my config :
name: ['Photos', 'Photos']
list:
fields: [
name: 'Photo'
name: 'Name'
html: ->
if @photo?
return '<div style="height:50px"><img src="'[email protected]+'"style="width:50px;height:50px;" alt="photo" /></div>'
else
return '<div style="height:50px"> - </div>'
]
data: ->
filter = type: 'photo'
return @docpad.getCollection('html').findAll(filter)
form:
url: -> "/photos/#{@name}"
ext: 'html'
meta:
photo: -> @photo
type: 'photo'
name: -> @name
components: [
field: 'name'
type: 'text'
,
field: 'photo'
type: 'file'
images:
standard:
url: -> "/images/#{@name}.#{@ext}"
width: 498
height: 1200
]
I also put a log of the toRemove var on /out/routes/edit.js, the output is filename.undefined, so it seems like it miss the extension part of the uploaded file.
can't get it work with docpad version "~6.57.0", the MinicmsPlugin.serverExtend function breaks because of the missing express 'static' method. has anybody experienced this error ?
here is my log :
info: Welcome to DocPad v6.57.0 (local installation: /Users/matthieugayon/Documents/development/silencebetweencodes/node_modules/docpad)
info: Contribute: http://docpad.org/docs/contribute
info: Plugins: cleanurls, coffeekup, coffeescript, less, marked, minicms, stylus
info: Environment: development
info: Watching setup starting...
info: Watching setup
info: Force watching file for minicms.
error: Something went wrong with the action
error: An error occured:
TypeError: Object function app(req, res, next){ app.handle(req, res, next); } has no method 'static'
at MinicmsPlugin.serverExtend (/Users/matthieugayon/Documents/development/silencebetweencodes/node_modules/docpad-plugin-minicms/out/minicms.plugin.js:67:64)
at ambi (/Users/matthieugayon/Documents/development/silencebetweencodes/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:25:27)
at Task. (/Users/matthieugayon/Documents/development/silencebetweencodes/node_modules/docpad/node_modules/event-emitter-grouped/out/lib/event-emitter-grouped.js:38:23)
at ambi (/Users/matthieugayon/Documents/development/silencebetweencodes/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:23:18)
at fire (/Users/matthieugayon/Documents/development/silencebetweencodes/node_modules/docpad/node_modules/taskgroup/out/lib/taskgroup.js:159:23)
at b (domain.js:183:18)
at Domain.run (domain.js:123:23)
at Task.fire (/Users/matthieugayon/Documents/development/silencebetweencodes/node_modules/docpad/node_modules/taskgroup/out/lib/taskgroup.js:166:25)
at processImmediate as _immediateCallback
I'm not sure if its a problem for all windows computers but one of your dependent modules 'slug' is not working for me and the issues been on their git repository for over 10 months with no real sign anyones dealing with it. So I thought you might like to know incase there was an easy way around using the module :)
Would be great if we could avoid the configuration step somehow. Perhaps we can have the plugin use the configuration from the example blog if none was specified. Of course, a warning should probably be outputted. It would lower the barrier to quick lets test this out.
Each save triggers docpad update. This can be a problem when there are many documents as each save may be very slow or even fail.
It would be nice if saving the content on admin side didn't affect the website, unless we press an "apply changes" or "deploy" button.
That would require to separate admin data model and actual generated document files.
This would also keep document files "clean" as the admin data is not merged with it.
While minicms is able to create new documents, it is unable to delete them. I'm guessing this has something to do with a configuration outside of minicms, but I'd like to see how to solve it so that we can put it in the documentation.
When trying to build files with cake (or icake), the process fails on following error:
$ cake build
Error: Command failed: src/utils/sessionBridge.coffee:12:1: error: unexpected INDENT
get: ->
^^^^^^^^
Would be great to think about creating inputs that could connect to other models, creating a relational link between the two (like Client > Project or Album > Photo)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.