2017 © Pedro Peláez
 

symfony-bundle blog-bundle

symfony BBITBlogBundle

image

bbit/blog-bundle

symfony BBITBlogBundle

  • Wednesday, October 7, 2015
  • by whitewhidow
  • Repository
  • 1 Watchers
  • 1 Stars
  • 31 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

BlogBundle

A very simple blogbundle for symfony2. STILL A WORK IN PROGRESS, (*1)

Can be seen live at http://branchbit.be/blog & http://statushka.com/blog, (*2)

Step 1: Download BBITBlogBundle using composer

Add BBITBlogBundle in your composer.json:, (*3)

{
    "require": {
        "knplabs/knp-markdown-bundle": "~1.3",
        "eko/feedbundle":  "dev-master",
        "bbit/blog-bundle": "dev-master"
    }
}

Now tell composer to download the bundles by running the command:, (*4)

``` bash $ php composer.phar install, (*5)


Composer will install the bbit/blog-bundle bundle to your project's `vendor/BBIT` directory. ### Step 2: Enable the bundles Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(), new Eko\FeedBundle\EkoFeedBundle(), new BBIT\BlogBundle\BBITBlogBundle(), ); }

Step 3: Config

bbit_blog:
    extend_template: 'AcmeWebsiteBundle:Default:layout.html.twig' #should contain a block called 'blogContent'
    disqus_shortname: 'AcmeBlog'
    addthis_pubid: 'ra-55cxxxxxxxxx648'
    btn_class: 'btn-buy hover-effect'
    eko_feed:
        feeds:
            post:
                title:       'Acme Blog Feed'
                description: 'Acme blog Feed Description'
                link:
                    route_name: bbit_blog_rss_view
                encoding:    'utf-8'

Step 4:

Update your database., (*6)

Add BBITBlogBundle to the assetic.bundle config, (*7)

Add routing file:, (*8)

bbit_blog:
    resource: "@BBITBlogBundle/Resources/config/routing.yml"
    prefix:   /blog/

Step 5: Add content

A very simple limited admin-CRUD is located at /blog/admin/post., (*9)

Posts are rendered in markdown., (*10)

Step 6: View content

Blog is located at /blog., (*11)

Rss feed is located at /blog/rss., (*12)

Supports "Engage by Disqus" for comments., (*13)

Supports "AddThis" for sharing., (*14)

The Versions

07/10 2015

dev-master

9999999-dev

symfony BBITBlogBundle

  Sources   Download

MIT

The Requires

 

The Development Requires