dev-master
9999999-dev https://sculpin.ioSculpin Editor Bundle
MIT
The Requires
- php >=5.3.2
static blog blogging site projects
Wallogit.com
2017 © Pedro Peláez
Sculpin Editor Bundle
Add this bundle in your sculpin.json file:, (*1)
{
// ...
"require": {
// ...
"mavimo/sculpin-editor-bundle": "@dev"
}
}
and install this bundle running sculpin update., (*2)
Now you can register the bundle in SculpinKernel class available on app/SculpinKernel.php file:, (*3)
class SculpinKernel extends \Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel
{
protected function getAdditionalSculpinBundles()
{
return array(
'Mavimo\Sculpin\Bundle\EditorBundle\SculpinEditorBundle'
);
}
}
Content editor can create a new content typing:, (*4)
sculpin editor:create "New content title"
this generate a new draft content using the current date on the path:, (*5)
source/_posts/2014-01-04-new-content-title.md
you can also specify a different date using the format "Y-m-d", like:, (*6)
sculpin editor:create -d 2010-06-10 "New content title"
that genrate file:, (*7)
source/_posts/2010-06-10-new-content-title.md
You can also create a different content type (WIP, see Sculpin PR 96) using the option type, (*8)
sculpin editor:create -t project "New content title"
this generate a new draft project in the folder:, (*9)
source/_projects/2014-01-04-new-content-title.md
Sculpin Editor Bundle
MIT
static blog blogging site projects